Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00219/0.00219, allocations: 185.5 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001138/0.001138, allocations: 103.2 kB / 270.9 MB, free: 8.355 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.5157/0.5157, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006437, allocations: 16 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.137, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.603, allocations: 87.72 MB / 0.5644 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6033, allocations: 75.97 kB / 0.5645 GB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02656/0.6299, allocations: 5.871 MB / 0.5702 GB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.63, allocations: 0 / 0.5702 GB, free: 9.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.63, allocations: 5.125 kB / 0.5702 GB, free: 9.074 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.0007016/0.6307, allocations: 457.6 kB / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.6308, allocations: 16.02 kB / 0.5707 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.6308, allocations: 23.23 kB / 0.5707 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.6312, allocations: 228 kB / 0.5709 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6313, allocations: 0 / 0.5709 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.6313, allocations: 4 kB / 0.5709 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.6315, allocations: 65.66 kB / 0.571 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6316, allocations: 3.938 kB / 0.571 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.6316, allocations: 3.984 kB / 0.571 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6316, allocations: 5.031 kB / 0.571 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.6318, allocations: 31.98 kB / 0.571 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.6323, allocations: 319.7 kB / 0.5713 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.6326, allocations: 82.59 kB / 0.5714 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.6327, allocations: 0 / 0.5714 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.6329, allocations: 72.3 kB / 0.5715 GB, free: 7.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.6329, allocations: 0 / 0.5715 GB, free: 7.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009312/0.6338, allocations: 221.3 kB / 0.5717 GB, free: 7.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.6339, allocations: 59.36 kB / 0.5717 GB, free: 7.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.6343, allocations: 227.9 kB / 0.5719 GB, free: 7.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.6343, allocations: 25.7 kB / 0.572 GB, free: 7.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.6344, allocations: 170.6 kB / 0.5721 GB, free: 6.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.6345, allocations: 27.64 kB / 0.5722 GB, free: 6.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.6345, allocations: 4 kB / 0.5722 GB, free: 6.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6346, allocations: 314.8 kB / 0.5725 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.6348, allocations: 27.98 kB / 0.5725 GB, free: 6.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.6349, allocations: 49.56 kB / 0.5725 GB, free: 6.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.635, allocations: 28 kB / 0.5726 GB, free: 6.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.635, allocations: 0 / 0.5726 GB, free: 6.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003383/0.6354, allocations: 118.5 kB / 0.5727 GB, free: 6.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6354, allocations: 4 kB / 0.5727 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6354, allocations: 240 / 0.5727 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6355, allocations: 4 kB / 0.5727 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6356, allocations: 15.98 kB / 0.5727 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.6357, allocations: 11.88 kB / 0.5727 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.6358, allocations: 8 kB / 0.5727 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.6358, allocations: 4 kB / 0.5727 GB, free: 6.293 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.0001547/0.636, allocations: 133.9 kB / 0.5729 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.636, allocations: 19.98 kB / 0.5729 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.6365, allocations: 143 kB / 0.573 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6365, allocations: 7.875 kB / 0.573 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6365, allocations: 0 / 0.573 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.6365, allocations: 3.953 kB / 0.573 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/0.6374, allocations: 467.1 kB / 0.5735 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.6374, allocations: 4.031 kB / 0.5735 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.6375, allocations: 12 kB / 0.5735 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6375, allocations: 0 / 0.5735 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.6376, allocations: 7.984 kB / 0.5735 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.6376, allocations: 3.953 kB / 0.5735 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6376, allocations: 0 / 0.5735 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.638, allocations: 248 kB / 0.5737 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.6381, allocations: 96.92 kB / 0.5738 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.6382, allocations: 7.953 kB / 0.5738 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.6383, allocations: 7.984 kB / 0.5738 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.6384, allocations: 4 kB / 0.5738 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.6384, allocations: 11.98 kB / 0.5739 GB, free: 5.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.6387, allocations: 188.4 kB / 0.574 GB, free: 4.844 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6387, allocations: 0 / 0.574 GB, free: 4.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.6391, allocations: 35.98 kB / 0.5741 GB, free: 4.809 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.001376/0.6405, allocations: 472.6 kB / 0.5745 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.6409, allocations: 75.91 kB / 0.5746 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6409, allocations: 8 kB / 0.5746 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.6411, allocations: 39.98 kB / 0.5746 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.6415, allocations: 27.28 kB / 0.5747 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.6423, allocations: 362.8 kB / 0.575 GB, free: 3.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.6427, allocations: 0.7174 MB / 0.5757 GB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.6428, allocations: 23.44 kB / 0.5757 GB, free: 3.141 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6428, allocations: 0 / 0.5757 GB, free: 3.141 MB / 394.7 MB Notification: Performance of Templates: time 0.006149/0.649, allocations: 2.218 MB / 0.5779 GB, free: 0.9297 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches