Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 175.3 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 89.7 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3642/0.3642, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4932, allocations: 87.77 MB / 0.5657 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4935, allocations: 75.97 kB / 0.5657 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02307/0.5165, allocations: 5.882 MB / 0.5715 GB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5166, allocations: 4 kB / 0.5715 GB, free: 8.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5166, allocations: 0 / 0.5715 GB, free: 8.32 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007025/0.5173, allocations: 449.8 kB / 0.5719 GB, free: 7.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5174, allocations: 8.031 kB / 0.5719 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.5175, allocations: 16.75 kB / 0.5719 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.5179, allocations: 237.2 kB / 0.5722 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.518, allocations: 10.25 kB / 0.5722 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.518, allocations: 384 / 0.5722 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.5182, allocations: 62.23 kB / 0.5722 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5182, allocations: 192 / 0.5722 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.5183, allocations: 7.922 kB / 0.5722 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5183, allocations: 7.984 kB / 0.5722 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.5184, allocations: 31.92 kB / 0.5723 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.519, allocations: 316.8 kB / 0.5726 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.5194, allocations: 82.59 kB / 0.5727 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.5195, allocations: 32.84 kB / 0.5727 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.5195, allocations: 4.062 kB / 0.5727 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.5198, allocations: 75.31 kB / 0.5728 GB, free: 6.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.474e-06/0.5198, allocations: 0 / 0.5728 GB, free: 6.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009316/0.5208, allocations: 217.1 kB / 0.573 GB, free: 6.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.5208, allocations: 51.41 kB / 0.573 GB, free: 6.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.5213, allocations: 252.7 kB / 0.5733 GB, free: 6.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.5213, allocations: 27.95 kB / 0.5733 GB, free: 6.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.5214, allocations: 112.1 kB / 0.5734 GB, free: 6.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.5215, allocations: 31.55 kB / 0.5734 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.5215, allocations: 4 kB / 0.5734 GB, free: 6.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5217, allocations: 326.8 kB / 0.5737 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.5218, allocations: 31.98 kB / 0.5738 GB, free: 5.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5219, allocations: 45.64 kB / 0.5738 GB, free: 5.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.5222, allocations: 77.62 kB / 0.5739 GB, free: 5.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5222, allocations: 0 / 0.5739 GB, free: 5.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003745/0.5226, allocations: 125.5 kB / 0.574 GB, free: 5.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5227, allocations: 4 kB / 0.574 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5227, allocations: 0 / 0.574 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.5227, allocations: 8.031 kB / 0.574 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.5228, allocations: 19.92 kB / 0.574 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5229, allocations: 4 kB / 0.574 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.523, allocations: 0 / 0.574 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.523, allocations: 7.984 kB / 0.5741 GB, free: 5.461 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.5232, allocations: 141.8 kB / 0.5742 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.5232, allocations: 15.81 kB / 0.5742 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.5237, allocations: 148.7 kB / 0.5743 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5237, allocations: 3.938 kB / 0.5743 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5237, allocations: 0 / 0.5743 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5238, allocations: 4 kB / 0.5744 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008716/0.5246, allocations: 459.2 kB / 0.5748 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5247, allocations: 0 / 0.5748 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.5248, allocations: 12 kB / 0.5748 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5248, allocations: 0 / 0.5748 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5248, allocations: 16.02 kB / 0.5748 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5248, allocations: 0 / 0.5748 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.5249, allocations: 7.875 kB / 0.5748 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.5253, allocations: 224.2 kB / 0.575 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5254, allocations: 100.9 kB / 0.5751 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.5255, allocations: 3.984 kB / 0.5751 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.5257, allocations: 8 kB / 0.5751 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.5257, allocations: 15.92 kB / 0.5752 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.5258, allocations: 4 kB / 0.5752 GB, free: 4.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.5261, allocations: 192.2 kB / 0.5753 GB, free: 4.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5261, allocations: 0 / 0.5753 GB, free: 4.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.5266, allocations: 35.98 kB / 0.5754 GB, free: 3.988 MB / 394.7 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/0.5283, allocations: 477.9 kB / 0.5758 GB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.5287, allocations: 71.91 kB / 0.5759 GB, free: 3.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5287, allocations: 3.938 kB / 0.5759 GB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.5289, allocations: 43.92 kB / 0.576 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.5295, allocations: 32.09 kB / 0.576 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.5304, allocations: 329.1 kB / 0.5763 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.5308, allocations: 0.7199 MB / 0.577 GB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.5309, allocations: 28.84 kB / 0.577 GB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.531, allocations: 15.44 kB / 0.577 GB, free: 2.336 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.531, allocations: 0 / 0.577 GB, free: 2.336 MB / 394.7 MB Notification: Performance of Templates: time 0.007483/0.5385, allocations: 1.917 MB / 0.5789 GB, free: 444 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches