Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009807/0.0009807, allocations: 177.6 kB / 17.41 MB, free: 4.285 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.565/1.565, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0008445/0.0008446, allocations: 96.92 kB / 271.9 MB, free: 8.242 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.4412/0.4412, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 58.85 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5784, allocations: 87.76 MB / 0.5656 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5788, allocations: 71.97 kB / 0.5657 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.5941, allocations: 5.457 MB / 0.571 GB, free: 9.016 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5942, allocations: 4 kB / 0.571 GB, free: 9.012 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5942, allocations: 0 / 0.571 GB, free: 9.012 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.000618/0.5948, allocations: 422 kB / 0.5714 GB, free: 8.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5949, allocations: 12.03 kB / 0.5715 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.595, allocations: 12.75 kB / 0.5715 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.5953, allocations: 220.7 kB / 0.5717 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.5953, allocations: 384 / 0.5717 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.5953, allocations: 8.375 kB / 0.5717 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5955, allocations: 59.22 kB / 0.5717 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5955, allocations: 192 / 0.5717 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5955, allocations: 3.938 kB / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.5955, allocations: 0 / 0.5717 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/0.5956, allocations: 27.92 kB / 0.5718 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.5961, allocations: 288.9 kB / 0.572 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.5963, allocations: 69.7 kB / 0.5721 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.5963, allocations: 22.22 kB / 0.5721 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5963, allocations: 4 kB / 0.5721 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.5965, allocations: 71.23 kB / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5965, allocations: 0 / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005752/0.5971, allocations: 186.1 kB / 0.5724 GB, free: 7.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.5972, allocations: 55.34 kB / 0.5724 GB, free: 7.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.5974, allocations: 201.7 kB / 0.5726 GB, free: 7.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.5974, allocations: 25.7 kB / 0.5727 GB, free: 7.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.5975, allocations: 104.1 kB / 0.5728 GB, free: 7.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.5975, allocations: 23.66 kB / 0.5728 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5975, allocations: 0 / 0.5728 GB, free: 7.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5976, allocations: 326.8 kB / 0.5731 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.5977, allocations: 27.98 kB / 0.5731 GB, free: 6.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.5978, allocations: 33.7 kB / 0.5731 GB, free: 6.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.5979, allocations: 66.42 kB / 0.5732 GB, free: 6.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5979, allocations: 0 / 0.5732 GB, free: 6.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.5981, allocations: 102.2 kB / 0.5733 GB, free: 6.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5981, allocations: 4 kB / 0.5733 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.5981, allocations: 4.031 kB / 0.5733 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5982, allocations: 0 / 0.5733 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.5983, allocations: 23.94 kB / 0.5733 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5983, allocations: 0 / 0.5733 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.5983, allocations: 7.984 kB / 0.5733 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.5983, allocations: 0 / 0.5733 GB, free: 6.422 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.0001053/0.5984, allocations: 134.3 kB / 0.5735 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.5985, allocations: 12.19 kB / 0.5735 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.5988, allocations: 132.3 kB / 0.5736 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5988, allocations: 4 kB / 0.5736 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5988, allocations: 3.984 kB / 0.5736 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5988, allocations: 4 kB / 0.5736 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.5993, allocations: 407.3 kB / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5993, allocations: 4 kB / 0.574 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.5993, allocations: 11.98 kB / 0.574 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5994, allocations: 4.219 kB / 0.574 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5994, allocations: 4.031 kB / 0.574 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5994, allocations: 4 kB / 0.574 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5994, allocations: 7.875 kB / 0.574 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.5996, allocations: 212.1 kB / 0.5742 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.5997, allocations: 93 kB / 0.5743 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.5997, allocations: 4 kB / 0.5743 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.5998, allocations: 15.98 kB / 0.5744 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.5999, allocations: 11.88 kB / 0.5744 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.5999, allocations: 0 / 0.5744 GB, free: 5.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.6, allocations: 152.9 kB / 0.5745 GB, free: 5.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6, allocations: 0 / 0.5745 GB, free: 5.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.6003, allocations: 35.92 kB / 0.5745 GB, free: 5.082 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.001026/0.6013, allocations: 477.8 kB / 0.575 GB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.6015, allocations: 67.89 kB / 0.5751 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6015, allocations: 0 / 0.5751 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.6016, allocations: 27.92 kB / 0.5751 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.602, allocations: 32.11 kB / 0.5751 GB, free: 4.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.6025, allocations: 286 kB / 0.5754 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6028, allocations: 0.7121 MB / 0.5761 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.6029, allocations: 19.44 kB / 0.5761 GB, free: 3.527 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6029, allocations: 0 / 0.5761 GB, free: 3.527 MB / 394.7 MB Notification: Performance of Templates: time 0.003764/0.6067, allocations: 1.947 MB / 0.578 GB, free: 1.59 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches