Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,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.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,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.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 185.5 kB / 17.41 MB, free: 4.16 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.618/1.618, 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.0007362/0.0007362, allocations: 85.36 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.3118/0.3118, allocations: 43.57 MB / 363.8 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 20 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 58.85 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/0.4249, allocations: 87.99 MB / 0.5659 GB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4252, allocations: 79.95 kB / 0.5659 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.441, allocations: 6.226 MB / 0.572 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.441, allocations: 0 / 0.572 GB, free: 8.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.441, allocations: 8 kB / 0.572 GB, free: 8 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.00047/0.4415, allocations: 414.1 kB / 0.5724 GB, free: 7.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4416, allocations: 8.031 kB / 0.5724 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.4416, allocations: 12.84 kB / 0.5724 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.4419, allocations: 216.6 kB / 0.5727 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4419, allocations: 4.375 kB / 0.5727 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.4419, allocations: 4.375 kB / 0.5727 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.4421, allocations: 83.5 kB / 0.5727 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4421, allocations: 0 / 0.5727 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4421, allocations: 8 kB / 0.5727 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4421, allocations: 0 / 0.5727 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.415e-05/0.4422, allocations: 39.91 kB / 0.5728 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.4427, allocations: 300.8 kB / 0.5731 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4429, allocations: 70.67 kB / 0.5731 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.4429, allocations: 28.84 kB / 0.5732 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4429, allocations: 3.984 kB / 0.5732 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.4431, allocations: 80.17 kB / 0.5732 GB, free: 6.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.4431, allocations: 0 / 0.5732 GB, free: 6.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000565/0.4437, allocations: 217.3 kB / 0.5735 GB, free: 6.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4437, allocations: 77.11 kB / 0.5735 GB, free: 6.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4439, allocations: 170.4 kB / 0.5737 GB, free: 6.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4439, allocations: 25.7 kB / 0.5737 GB, free: 6.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.444, allocations: 96.14 kB / 0.5738 GB, free: 5.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.444, allocations: 31.58 kB / 0.5738 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.444, allocations: 0 / 0.5738 GB, free: 5.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.4441, allocations: 323.6 kB / 0.5741 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.4442, allocations: 27.98 kB / 0.5742 GB, free: 5.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.4443, allocations: 50.56 kB / 0.5742 GB, free: 5.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4444, allocations: 81.66 kB / 0.5743 GB, free: 5.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4444, allocations: 0 / 0.5743 GB, free: 5.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001969/0.4446, allocations: 121.4 kB / 0.5744 GB, free: 5.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4446, allocations: 4 kB / 0.5744 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4447, allocations: 4.062 kB / 0.5744 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4447, allocations: 0 / 0.5744 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.4448, allocations: 19.94 kB / 0.5744 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.4448, allocations: 3.984 kB / 0.5744 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.4448, allocations: 7.938 kB / 0.5745 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.4449, allocations: 4 kB / 0.5745 GB, free: 5.262 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 8.653e-05/0.4449, allocations: 125.8 kB / 0.5746 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.445, allocations: 7.906 kB / 0.5746 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.4452, allocations: 138.3 kB / 0.5747 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4453, allocations: 7.938 kB / 0.5747 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4453, allocations: 0 / 0.5747 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4453, allocations: 7.922 kB / 0.5747 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.4457, allocations: 427.3 kB / 0.5751 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4458, allocations: 4 kB / 0.5751 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.4458, allocations: 15.98 kB / 0.5752 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4458, allocations: 7.969 kB / 0.5752 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4458, allocations: 4 kB / 0.5752 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4459, allocations: 4 kB / 0.5752 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.4459, allocations: 0 / 0.5752 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4461, allocations: 228.1 kB / 0.5754 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.4462, allocations: 93.19 kB / 0.5755 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.4462, allocations: 7.938 kB / 0.5755 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.4463, allocations: 11.94 kB / 0.5755 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4464, allocations: 11.98 kB / 0.5755 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.4464, allocations: 8 kB / 0.5755 GB, free: 4.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.4465, allocations: 127 kB / 0.5756 GB, free: 3.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4465, allocations: 0 / 0.5756 GB, free: 3.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.4468, allocations: 43.92 kB / 0.5757 GB, free: 3.895 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.001222/0.4481, allocations: 0.5062 MB / 0.5762 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.4483, allocations: 71.91 kB / 0.5762 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4483, allocations: 4.062 kB / 0.5762 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.4484, allocations: 47.91 kB / 0.5763 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4488, allocations: 33.33 kB / 0.5763 GB, free: 3.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.4493, allocations: 270.3 kB / 0.5766 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.4496, allocations: 0.6965 MB / 0.5773 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.4496, allocations: 23.42 kB / 0.5773 GB, free: 2.297 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4496, allocations: 3.938 kB / 0.5773 GB, free: 2.293 MB / 394.7 MB Notification: Performance of Templates: time 0.003785/0.4534, allocations: 2.173 MB / 0.5794 GB, free: 132 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches