Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 190.7 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007557/0.0007556, allocations: 109.2 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.288/0.288, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002923, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3147, allocations: 62.95 MB / 0.5165 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.4316, allocations: 90.65 MB / 0.605 GB, free: 14.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4319, allocations: 79.95 kB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.4494, allocations: 6.501 MB / 0.6114 GB, free: 8.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4495, allocations: 4 kB / 0.6114 GB, free: 8.129 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.4495, allocations: 7.984 kB / 0.6114 GB, free: 8.121 MB / 426.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.0006281/0.4501, allocations: 438.9 kB / 0.6119 GB, free: 7.641 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4502, allocations: 12.03 kB / 0.6119 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.4502, allocations: 12.75 kB / 0.6119 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.4505, allocations: 224.8 kB / 0.6121 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4506, allocations: 4.375 kB / 0.6121 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.4506, allocations: 4.375 kB / 0.6121 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.4507, allocations: 54.23 kB / 0.6122 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4507, allocations: 192 / 0.6122 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4508, allocations: 7.938 kB / 0.6122 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4508, allocations: 0 / 0.6122 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.4509, allocations: 23.92 kB / 0.6122 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.4512, allocations: 292.8 kB / 0.6125 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.4514, allocations: 66.61 kB / 0.6125 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.4515, allocations: 20.86 kB / 0.6125 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4515, allocations: 3.984 kB / 0.6126 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.4516, allocations: 71.33 kB / 0.6126 GB, free: 6.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4517, allocations: 0 / 0.6126 GB, free: 6.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.4522, allocations: 189.1 kB / 0.6128 GB, free: 6.551 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.4523, allocations: 51.41 kB / 0.6128 GB, free: 6.488 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4525, allocations: 196.4 kB / 0.613 GB, free: 6.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4525, allocations: 33.7 kB / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.4525, allocations: 100.1 kB / 0.6132 GB, free: 6.148 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.4526, allocations: 23.7 kB / 0.6132 GB, free: 6.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.4526, allocations: 4 kB / 0.6132 GB, free: 6.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4527, allocations: 330.7 kB / 0.6135 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.4528, allocations: 31.92 kB / 0.6135 GB, free: 5.758 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.4529, allocations: 33.7 kB / 0.6136 GB, free: 5.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.453, allocations: 57.66 kB / 0.6136 GB, free: 5.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.453, allocations: 0 / 0.6136 GB, free: 5.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.4532, allocations: 101.5 kB / 0.6137 GB, free: 5.551 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4532, allocations: 14.28 kB / 0.6137 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4532, allocations: 4.031 kB / 0.6137 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4532, allocations: 0 / 0.6137 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.4533, allocations: 15.98 kB / 0.6138 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4533, allocations: 4 kB / 0.6138 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.4534, allocations: 4 kB / 0.6138 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4534, allocations: 4 kB / 0.6138 GB, free: 5.508 MB / 426.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 9.927e-05/0.4535, allocations: 131.4 kB / 0.6139 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.4535, allocations: 11.91 kB / 0.6139 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.4538, allocations: 123 kB / 0.614 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4538, allocations: 0 / 0.614 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4538, allocations: 0 / 0.614 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4538, allocations: 3.984 kB / 0.614 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.4543, allocations: 423.1 kB / 0.6144 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4543, allocations: 4 kB / 0.6144 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.4543, allocations: 11.94 kB / 0.6144 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4543, allocations: 32 / 0.6144 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4543, allocations: 11.98 kB / 0.6145 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4543, allocations: 0 / 0.6145 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4543, allocations: 3.938 kB / 0.6145 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.4546, allocations: 204.5 kB / 0.6147 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.4547, allocations: 96.91 kB / 0.6147 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.4547, allocations: 4.094 kB / 0.6147 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.4548, allocations: 11.94 kB / 0.6148 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.4548, allocations: 19.91 kB / 0.6148 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4548, allocations: 384 / 0.6148 GB, free: 4.359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.455, allocations: 147.2 kB / 0.6149 GB, free: 4.215 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.455, allocations: 0 / 0.6149 GB, free: 4.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.4552, allocations: 35.94 kB / 0.615 GB, free: 4.18 MB / 426.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.0009347/0.4562, allocations: 479.9 kB / 0.6154 GB, free: 3.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.4563, allocations: 55.92 kB / 0.6155 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4564, allocations: 0 / 0.6155 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.4564, allocations: 35.92 kB / 0.6155 GB, free: 3.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.4568, allocations: 33.11 kB / 0.6155 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.4572, allocations: 283.8 kB / 0.6158 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4575, allocations: 0.7043 MB / 0.6165 GB, free: 2.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.4576, allocations: 15.44 kB / 0.6165 GB, free: 2.695 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4576, allocations: 0 / 0.6165 GB, free: 2.695 MB / 426.7 MB Notification: Performance of Templates: time 0.004892/0.4625, allocations: 1.98 MB / 0.6184 GB, free: 0.7188 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches