Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009879, allocations: 175.8 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.769/1.769, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008232/0.0008233, allocations: 82.42 kB / 271.3 MB, free: 8.246 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.3997/0.3997, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005151, allocations: 12 kB / 432.6 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1381, allocations: 58.84 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4941, allocations: 87.72 MB / 0.5656 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4944, allocations: 80.78 kB / 0.5657 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.5088, allocations: 5.298 MB / 0.5709 GB, free: 8.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5088, allocations: 0 / 0.5709 GB, free: 8.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.5088, allocations: 4 kB / 0.5709 GB, free: 8.789 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005031/0.5093, allocations: 415 kB / 0.5713 GB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5094, allocations: 12.03 kB / 0.5713 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.5094, allocations: 12.84 kB / 0.5713 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.5097, allocations: 219.1 kB / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.5098, allocations: 384 / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.5098, allocations: 7.219 kB / 0.5715 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5099, allocations: 62.22 kB / 0.5716 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5099, allocations: 192 / 0.5716 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.51, allocations: 3.938 kB / 0.5716 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.51, allocations: 0 / 0.5716 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.5101, allocations: 27.97 kB / 0.5716 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.5105, allocations: 288.9 kB / 0.5719 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.5107, allocations: 66.55 kB / 0.5719 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.5108, allocations: 24.84 kB / 0.572 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.5108, allocations: 3.938 kB / 0.572 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.5109, allocations: 67.39 kB / 0.572 GB, free: 7.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.511, allocations: 0 / 0.572 GB, free: 7.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000566/0.5115, allocations: 173.2 kB / 0.5722 GB, free: 7.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.5116, allocations: 55.41 kB / 0.5722 GB, free: 7.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.5118, allocations: 182.2 kB / 0.5724 GB, free: 7.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5118, allocations: 25.7 kB / 0.5724 GB, free: 6.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.5119, allocations: 104.1 kB / 0.5725 GB, free: 6.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.5119, allocations: 31.62 kB / 0.5726 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.5119, allocations: 8 kB / 0.5726 GB, free: 6.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5121, allocations: 322.8 kB / 0.5729 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.5122, allocations: 19.94 kB / 0.5729 GB, free: 6.496 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.5122, allocations: 41.7 kB / 0.573 GB, free: 6.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5124, allocations: 53.7 kB / 0.573 GB, free: 6.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5124, allocations: 4 kB / 0.573 GB, free: 6.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.5126, allocations: 109.4 kB / 0.5731 GB, free: 6.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5126, allocations: 5.031 kB / 0.5731 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5126, allocations: 0 / 0.5731 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5126, allocations: 4 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.5127, allocations: 15.98 kB / 0.5731 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.5127, allocations: 0 / 0.5731 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.5128, allocations: 4.375 kB / 0.5731 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.5128, allocations: 8 kB / 0.5731 GB, free: 6.238 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 (10): * Single equations (assignments): 10 * 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.0001065/0.5129, allocations: 134.3 kB / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.513, allocations: 7.906 kB / 0.5733 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.5132, allocations: 126.4 kB / 0.5734 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5132, allocations: 0 / 0.5734 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5132, allocations: 0 / 0.5734 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5132, allocations: 4 kB / 0.5734 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.5137, allocations: 415.2 kB / 0.5738 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5137, allocations: 0 / 0.5738 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.5137, allocations: 11.98 kB / 0.5738 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5138, allocations: 0 / 0.5738 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5138, allocations: 4 kB / 0.5738 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5138, allocations: 0 / 0.5738 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5138, allocations: 3.938 kB / 0.5738 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.514, allocations: 220.1 kB / 0.574 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.5141, allocations: 89 kB / 0.5741 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.5141, allocations: 8 kB / 0.5741 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.5142, allocations: 7.984 kB / 0.5741 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.5143, allocations: 3.938 kB / 0.5741 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.5143, allocations: 4 kB / 0.5741 GB, free: 5.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.5144, allocations: 144.8 kB / 0.5743 GB, free: 4.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5144, allocations: 0 / 0.5743 GB, free: 4.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.5147, allocations: 39.92 kB / 0.5743 GB, free: 4.926 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 (9): * Single equations (assignments): 7 * 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.001011/0.5157, allocations: 484.4 kB / 0.5748 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.5159, allocations: 63.86 kB / 0.5748 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5159, allocations: 4.062 kB / 0.5748 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.516, allocations: 31.98 kB / 0.5749 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.5163, allocations: 27.97 kB / 0.5749 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.5168, allocations: 248.8 kB / 0.5751 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.5171, allocations: 0.7082 MB / 0.5758 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.5172, allocations: 12.55 kB / 0.5758 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.5172, allocations: 23.42 kB / 0.5759 GB, free: 3.387 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.5172, allocations: 0 / 0.5759 GB, free: 3.387 MB / 394.7 MB Notification: Performance of Templates: time 0.004237/0.5215, allocations: 1.691 MB / 0.5775 GB, free: 1.711 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches