Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.597/1.597, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0009137/0.000914, allocations: 93.34 kB / 271.9 MB, free: 8.266 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.4576/0.4576, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 15.98 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5539, allocations: 87.98 MB / 0.5659 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.5542, allocations: 75.95 kB / 0.5659 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.5704, allocations: 5.971 MB / 0.5718 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5704, allocations: 3.375 kB / 0.5718 GB, free: 8.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.5704, allocations: 7.938 kB / 0.5718 GB, free: 8.289 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.0005705/0.571, allocations: 410.2 kB / 0.5722 GB, free: 7.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5711, allocations: 8.031 kB / 0.5722 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.5711, allocations: 8.844 kB / 0.5722 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.5714, allocations: 212 kB / 0.5724 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.5715, allocations: 4.375 kB / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.5715, allocations: 4.359 kB / 0.5724 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.5717, allocations: 80.62 kB / 0.5725 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5717, allocations: 192 / 0.5725 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.5717, allocations: 7.938 kB / 0.5725 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5717, allocations: 0 / 0.5725 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.5718, allocations: 19.98 kB / 0.5725 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.5723, allocations: 288.9 kB / 0.5728 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.5725, allocations: 66.55 kB / 0.5728 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.5725, allocations: 24.84 kB / 0.5729 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.5725, allocations: 0 / 0.5729 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.5727, allocations: 71.38 kB / 0.5729 GB, free: 6.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.5727, allocations: 0 / 0.5729 GB, free: 6.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000575/0.5733, allocations: 169.3 kB / 0.5731 GB, free: 6.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.5734, allocations: 77.11 kB / 0.5732 GB, free: 6.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.5735, allocations: 166.6 kB / 0.5733 GB, free: 6.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.5736, allocations: 29.7 kB / 0.5733 GB, free: 6.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.5736, allocations: 96.12 kB / 0.5734 GB, free: 6.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.5737, allocations: 19.72 kB / 0.5735 GB, free: 6.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.5737, allocations: 0 / 0.5735 GB, free: 6.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5738, allocations: 322.8 kB / 0.5738 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.5739, allocations: 23.98 kB / 0.5738 GB, free: 6.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.5739, allocations: 50.5 kB / 0.5738 GB, free: 5.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.5741, allocations: 58.48 kB / 0.5739 GB, free: 5.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5741, allocations: 0.75 kB / 0.5739 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.5743, allocations: 110.1 kB / 0.574 GB, free: 5.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5743, allocations: 4 kB / 0.574 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5743, allocations: 0 / 0.574 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.5743, allocations: 4 kB / 0.574 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.5744, allocations: 12 kB / 0.574 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5744, allocations: 4.062 kB / 0.574 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.5745, allocations: 7.984 kB / 0.574 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.5745, allocations: 4.188 kB / 0.574 GB, free: 5.734 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.00011/0.5746, allocations: 130.4 kB / 0.5742 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.5746, allocations: 11.84 kB / 0.5742 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.5749, allocations: 126.4 kB / 0.5743 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5749, allocations: 0 / 0.5743 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5749, allocations: 0 / 0.5743 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5749, allocations: 7.984 kB / 0.5743 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.5754, allocations: 411.1 kB / 0.5747 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5754, allocations: 0 / 0.5747 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.5755, allocations: 8 kB / 0.5747 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5755, allocations: 0 / 0.5747 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.5755, allocations: 8 kB / 0.5747 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5755, allocations: 0 / 0.5747 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5755, allocations: 4.312 kB / 0.5747 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.5758, allocations: 212.2 kB / 0.5749 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.5758, allocations: 85.02 kB / 0.575 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.5759, allocations: 11.98 kB / 0.575 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.576, allocations: 4 kB / 0.575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.576, allocations: 7.938 kB / 0.575 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.576, allocations: 11.98 kB / 0.575 GB, free: 4.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.5761, allocations: 117.5 kB / 0.5751 GB, free: 4.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5761, allocations: 0 / 0.5751 GB, free: 4.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.5764, allocations: 39.98 kB / 0.5752 GB, free: 4.453 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.001123/0.5776, allocations: 0.5095 MB / 0.5757 GB, free: 4.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.5778, allocations: 55.92 kB / 0.5757 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5778, allocations: 0 / 0.5757 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.5779, allocations: 31.98 kB / 0.5758 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.5782, allocations: 32.41 kB / 0.5758 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.5787, allocations: 253.8 kB / 0.576 GB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.579, allocations: 0.7004 MB / 0.5767 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.579, allocations: 19.44 kB / 0.5767 GB, free: 2.906 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.579, allocations: 0 / 0.5767 GB, free: 2.906 MB / 394.7 MB Notification: Performance of Templates: time 0.003862/0.5829, allocations: 2.03 MB / 0.5787 GB, free: 0.8867 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches