Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.324/1.324, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008424/0.0008424, allocations: 90.55 kB / 267.1 MB, free: 9.27 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.3358/0.3358, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.928e-05, allocations: 8 kB / 425.3 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.456, allocations: 87.44 MB / 0.5582 GB, free: 16.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4563, allocations: 74.31 kB / 0.5583 GB, free: 16.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.4689, allocations: 5.217 MB / 0.5634 GB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4689, allocations: 0 / 0.5634 GB, free: 13.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.469, allocations: 0 / 0.5634 GB, free: 13.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003397/0.4693, allocations: 396.1 kB / 0.5638 GB, free: 13.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4694, allocations: 13.11 kB / 0.5638 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.4694, allocations: 11.34 kB / 0.5638 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.4696, allocations: 214.2 kB / 0.564 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4697, allocations: 0 / 0.564 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4697, allocations: 0 / 0.564 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.4698, allocations: 56.44 kB / 0.564 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4698, allocations: 0 / 0.564 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4698, allocations: 4 kB / 0.564 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4698, allocations: 1.375 kB / 0.564 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.4699, allocations: 13.31 kB / 0.5641 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.47, allocations: 191.4 kB / 0.5642 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.4701, allocations: 49.8 kB / 0.5643 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.4702, allocations: 21.95 kB / 0.5643 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.4702, allocations: 0 / 0.5643 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.4703, allocations: 65.89 kB / 0.5644 GB, free: 12.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.4703, allocations: 0 / 0.5644 GB, free: 12.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001764/0.4705, allocations: 79.42 kB / 0.5644 GB, free: 12.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.4705, allocations: 51.41 kB / 0.5645 GB, free: 12.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4707, allocations: 170.1 kB / 0.5647 GB, free: 12.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.4707, allocations: 29.7 kB / 0.5647 GB, free: 12.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.4707, allocations: 102.1 kB / 0.5648 GB, free: 12.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.4708, allocations: 20.59 kB / 0.5648 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.4708, allocations: 4 kB / 0.5648 GB, free: 12.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.4708, allocations: 322.2 kB / 0.5651 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.4709, allocations: 15.81 kB / 0.5651 GB, free: 11.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.4709, allocations: 28.23 kB / 0.5652 GB, free: 11.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.4709, allocations: 20.94 kB / 0.5652 GB, free: 11.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4709, allocations: 2.719 kB / 0.5652 GB, free: 11.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001016/0.471, allocations: 86.06 kB / 0.5653 GB, free: 11.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4711, allocations: 4 kB / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4711, allocations: 0 / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4711, allocations: 1.266 kB / 0.5653 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.4712, allocations: 13.73 kB / 0.5653 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4712, allocations: 0 / 0.5653 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.4712, allocations: 3.75 kB / 0.5653 GB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4712, allocations: 5.641 kB / 0.5653 GB, free: 11.65 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.674e-05/0.4713, allocations: 110.1 kB / 0.5654 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.4713, allocations: 15.84 kB / 0.5654 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.4715, allocations: 95.77 kB / 0.5655 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4715, allocations: 4 kB / 0.5655 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4715, allocations: 0 / 0.5655 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4715, allocations: 0 / 0.5655 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.4716, allocations: 184.6 kB / 0.5657 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4716, allocations: 3.953 kB / 0.5657 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.4716, allocations: 5.641 kB / 0.5657 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4717, allocations: 0 / 0.5657 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4717, allocations: 4 kB / 0.5657 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4717, allocations: 5.547 kB / 0.5657 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4717, allocations: 0 / 0.5657 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4718, allocations: 109.7 kB / 0.5658 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.4719, allocations: 95.7 kB / 0.5659 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.4719, allocations: 0 / 0.5659 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.4719, allocations: 5.641 kB / 0.5659 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.472, allocations: 9.547 kB / 0.5659 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.472, allocations: 5.594 kB / 0.5659 GB, free: 11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.4721, allocations: 137.1 kB / 0.566 GB, free: 10.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4721, allocations: 4.875 kB / 0.5661 GB, free: 10.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.4723, allocations: 29.09 kB / 0.5661 GB, free: 10.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007652/0.473, allocations: 372.3 kB / 0.5664 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.754e-05/0.4732, allocations: 41.66 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4732, allocations: 0 / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.4732, allocations: 21.42 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.4734, allocations: 32.88 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.4737, allocations: 139.9 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.4738, allocations: 0.7093 MB / 0.5674 GB, free: 9.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.375e-05/0.4739, allocations: 11.3 kB / 0.5674 GB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.4739, allocations: 17.88 kB / 0.5674 GB, free: 9.641 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4739, allocations: 7.938 kB / 0.5674 GB, free: 9.633 MB / 394.7 MB Notification: Performance of Templates: time 0.00322/0.4771, allocations: 1.47 MB / 0.5688 GB, free: 8.176 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches