Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002129/0.002129, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.12 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 87.86 kB / 481 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3108, allocations: 62.44 MB / 0.5307 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003016/0.3138, allocations: 1.733 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3155, allocations: 1.018 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.3156, allocations: 0 / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3159, allocations: 40.52 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.3162, allocations: 100.2 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3164, allocations: 83.62 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3166, allocations: 100.6 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.3167, allocations: 10.86 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.3168, allocations: 44.28 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.3168, allocations: 33.42 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3169, allocations: 4.125 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/0.317, allocations: 47.47 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.317, allocations: 20.17 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.3171, allocations: 39.92 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3173, allocations: 131.1 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3173, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3173, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.3173, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005607/0.3179, allocations: 434.1 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3179, allocations: 9.625 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.318, allocations: 32.12 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.318, allocations: 14.39 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3183, allocations: 220.6 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3183, allocations: 5.75 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3184, allocations: 6.688 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3185, allocations: 54.05 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3185, allocations: 0 / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3185, allocations: 0 / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3186, allocations: 1.375 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.3186, allocations: 18.98 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.319, allocations: 298.8 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3192, allocations: 53.88 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.3193, allocations: 22.47 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3193, allocations: 0 / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.3195, allocations: 73.08 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3195, allocations: 1.375 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005477/0.32, allocations: 185.5 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3201, allocations: 53.03 kB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.3203, allocations: 208.1 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3203, allocations: 26.77 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.3204, allocations: 106.2 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3204, allocations: 26.62 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.3205, allocations: 24.94 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3207, allocations: 326.9 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.3207, allocations: 18.14 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.3208, allocations: 36.08 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3209, allocations: 58.84 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3209, allocations: 3.984 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.3211, allocations: 104.6 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3212, allocations: 5.344 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3212, allocations: 0 / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3212, allocations: 1.188 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.3213, allocations: 21.61 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3213, allocations: 5.219 kB / 0.5364 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.3214, allocations: 9.281 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3214, allocations: 3.375 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.3215, allocations: 137 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3215, allocations: 13.5 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.3216, allocations: 19.17 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3216, allocations: 1.062 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3216, allocations: 7.984 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3216, allocations: 3.938 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.3221, allocations: 396 kB / 0.5369 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3221, allocations: 1.062 kB / 0.5369 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.3222, allocations: 7.375 kB / 0.5369 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.3222, allocations: 8.922 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3222, allocations: 1.031 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3222, allocations: 1 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3222, allocations: 1 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.3225, allocations: 213 kB / 0.5372 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.3225, allocations: 83.72 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3226, allocations: 10.59 kB / 0.5372 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.3226, allocations: 10.22 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3227, allocations: 2.781 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3227, allocations: 4.031 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3229, allocations: 162 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3229, allocations: 1.469 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3231, allocations: 19.83 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002167/0.3253, allocations: 1.096 MB / 0.5385 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3255, allocations: 61.83 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3255, allocations: 1.125 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.3256, allocations: 29.17 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.326, allocations: 36.22 kB / 0.5386 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3279, allocations: 1.685 MB / 0.5403 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3283, allocations: 0.711 MB / 0.541 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.3284, allocations: 14.44 kB / 0.541 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.3284, allocations: 43.52 kB / 0.541 GB, free: 4.434 MB / 398.1 MB Notification: Performance of SimCode: time 2.394e-06/0.3285, allocations: 0 / 0.541 GB, free: 4.434 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3525, allocations: 3.507 MB / 0.5444 GB, free: 2.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.428, allocations: 7.641 kB / 0.5445 GB, free: 2.547 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches