Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002302/0.002303, allocations: 180.8 kB / 17.41 MB, free: 4.402 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.777/1.777, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007719/0.0007719, allocations: 95.33 kB / 271.9 MB, free: 8.234 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.3781/0.3781, allocations: 43.56 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.00041, allocations: 12 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 58.85 MB / 491.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.504, allocations: 87.77 MB / 0.5656 GB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5043, allocations: 79.95 kB / 0.5657 GB, free: 14.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0152/0.5195, allocations: 5.702 MB / 0.5713 GB, free: 8.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5196, allocations: 0 / 0.5713 GB, free: 8.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5196, allocations: 0 / 0.5713 GB, free: 8.902 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.0005433/0.5202, allocations: 441.8 kB / 0.5717 GB, free: 8.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5202, allocations: 8.031 kB / 0.5717 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.5203, allocations: 16.75 kB / 0.5717 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.5206, allocations: 236.8 kB / 0.572 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.5206, allocations: 8.375 kB / 0.572 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.5206, allocations: 8.359 kB / 0.572 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.5208, allocations: 58.23 kB / 0.572 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.5208, allocations: 4.094 kB / 0.572 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.5208, allocations: 3.938 kB / 0.572 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.5208, allocations: 7.938 kB / 0.572 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.5209, allocations: 19.98 kB / 0.5721 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.5214, allocations: 304.8 kB / 0.5724 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.5216, allocations: 66.61 kB / 0.5724 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.5216, allocations: 20.84 kB / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.5216, allocations: 0 / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.5218, allocations: 75.36 kB / 0.5725 GB, free: 7.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.5218, allocations: 7.938 kB / 0.5725 GB, free: 7.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.5224, allocations: 178 kB / 0.5727 GB, free: 7.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.5224, allocations: 51.41 kB / 0.5727 GB, free: 7.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.5227, allocations: 263.7 kB / 0.573 GB, free: 6.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5227, allocations: 25.7 kB / 0.573 GB, free: 6.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.5228, allocations: 116 kB / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.5228, allocations: 19.75 kB / 0.5731 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5228, allocations: 0 / 0.5731 GB, free: 6.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.523, allocations: 338.8 kB / 0.5735 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.523, allocations: 16 kB / 0.5735 GB, free: 6.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.5231, allocations: 37.7 kB / 0.5735 GB, free: 6.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.5232, allocations: 57.78 kB / 0.5736 GB, free: 6.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5233, allocations: 1.031 kB / 0.5736 GB, free: 6.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.5234, allocations: 117.4 kB / 0.5737 GB, free: 6.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5235, allocations: 8.031 kB / 0.5737 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5235, allocations: 4 kB / 0.5737 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5235, allocations: 0 / 0.5737 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.5236, allocations: 19.92 kB / 0.5737 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.5236, allocations: 0 / 0.5737 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.5237, allocations: 4 kB / 0.5737 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.5237, allocations: 8 kB / 0.5737 GB, free: 6.176 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.0001195/0.5238, allocations: 140.3 kB / 0.5739 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.5238, allocations: 11.81 kB / 0.5739 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.5241, allocations: 139.1 kB / 0.574 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5241, allocations: 0 / 0.574 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5241, allocations: 0 / 0.574 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5241, allocations: 0 / 0.574 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.5246, allocations: 443.1 kB / 0.5744 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5247, allocations: 384 / 0.5744 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.5247, allocations: 11.94 kB / 0.5744 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5247, allocations: 8.031 kB / 0.5744 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5247, allocations: 4 kB / 0.5744 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5247, allocations: 0 / 0.5744 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5247, allocations: 3.938 kB / 0.5744 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.525, allocations: 220.1 kB / 0.5747 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.5251, allocations: 89.02 kB / 0.5747 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.5251, allocations: 15.98 kB / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.5252, allocations: 0 / 0.5748 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.5252, allocations: 11.88 kB / 0.5748 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5253, allocations: 7.984 kB / 0.5748 GB, free: 4.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.5255, allocations: 195.3 kB / 0.575 GB, free: 4.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5255, allocations: 0 / 0.575 GB, free: 4.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.5257, allocations: 47.83 kB / 0.575 GB, free: 4.746 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.001008/0.5267, allocations: 474.4 kB / 0.5755 GB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.5269, allocations: 63.91 kB / 0.5755 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5269, allocations: 0 / 0.5755 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.527, allocations: 35.92 kB / 0.5756 GB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.5274, allocations: 33.84 kB / 0.5756 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.5279, allocations: 346.9 kB / 0.5759 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.5282, allocations: 0.716 MB / 0.5766 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.5283, allocations: 23.42 kB / 0.5766 GB, free: 3.121 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5283, allocations: 0 / 0.5766 GB, free: 3.121 MB / 394.7 MB Notification: Performance of Templates: time 0.003876/0.5322, allocations: 2.137 MB / 0.5787 GB, free: 0.9883 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches