Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009427/0.0009427, allocations: 193.5 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.363/1.363, allocations: 226.5 MB / 244.1 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007984/0.0007988, allocations: 99.5 kB / 296.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3648/0.3648, allocations: 44.82 MB / 392.9 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3249, allocations: 62.95 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4431, allocations: 90.65 MB / 0.605 GB, free: 14.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.4435, allocations: 79.95 kB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.4623, allocations: 6.677 MB / 0.6116 GB, free: 7.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4624, allocations: 0 / 0.6116 GB, free: 7.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.4624, allocations: 12 kB / 0.6116 GB, free: 7.941 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.0006533/0.4631, allocations: 458.7 kB / 0.612 GB, free: 7.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4631, allocations: 12.03 kB / 0.6121 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.4632, allocations: 12.75 kB / 0.6121 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.4635, allocations: 241.5 kB / 0.6123 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.4636, allocations: 8.375 kB / 0.6123 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4636, allocations: 384 / 0.6123 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.4638, allocations: 62.23 kB / 0.6124 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4638, allocations: 192 / 0.6124 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4638, allocations: 7.922 kB / 0.6124 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4638, allocations: 3.984 kB / 0.6124 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.4639, allocations: 19.98 kB / 0.6124 GB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.4643, allocations: 300.9 kB / 0.6127 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4645, allocations: 62.62 kB / 0.6127 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.4646, allocations: 20.84 kB / 0.6128 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4646, allocations: 0 / 0.6128 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.4648, allocations: 67.39 kB / 0.6128 GB, free: 6.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.637e-06/0.4648, allocations: 0 / 0.6128 GB, free: 6.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.4654, allocations: 185 kB / 0.613 GB, free: 6.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4654, allocations: 59.39 kB / 0.6131 GB, free: 6.262 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.4657, allocations: 230.5 kB / 0.6133 GB, free: 6.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4657, allocations: 25.7 kB / 0.6133 GB, free: 6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.4658, allocations: 112.1 kB / 0.6134 GB, free: 5.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.4658, allocations: 23.7 kB / 0.6134 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.4658, allocations: 0 / 0.6134 GB, free: 5.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4659, allocations: 330.8 kB / 0.6137 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.184e-05/0.466, allocations: 27.92 kB / 0.6138 GB, free: 5.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.4661, allocations: 41.64 kB / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4662, allocations: 65.75 kB / 0.6139 GB, free: 5.387 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4662, allocations: 0 / 0.6139 GB, free: 5.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.4664, allocations: 105.4 kB / 0.614 GB, free: 5.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4664, allocations: 4 kB / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4665, allocations: 0 / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4665, allocations: 4 kB / 0.614 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.829e-05/0.4666, allocations: 23.95 kB / 0.614 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4666, allocations: 0 / 0.614 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.4666, allocations: 4 kB / 0.614 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.4667, allocations: 8 kB / 0.614 GB, free: 5.234 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 0.0001155/0.4668, allocations: 129.8 kB / 0.6141 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.4668, allocations: 11.81 kB / 0.6142 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.4671, allocations: 134.9 kB / 0.6143 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4671, allocations: 4 kB / 0.6143 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4671, allocations: 0 / 0.6143 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4671, allocations: 0 / 0.6143 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.4676, allocations: 423.6 kB / 0.6147 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4676, allocations: 0 / 0.6147 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.4677, allocations: 19.98 kB / 0.6147 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4677, allocations: 4 kB / 0.6147 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.4677, allocations: 0 / 0.6147 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4677, allocations: 4.031 kB / 0.6147 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4677, allocations: 7.938 kB / 0.6147 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.468, allocations: 208.4 kB / 0.6149 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.4681, allocations: 100.9 kB / 0.615 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4681, allocations: 0 / 0.615 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.4682, allocations: 4.094 kB / 0.615 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.4682, allocations: 27.8 kB / 0.6151 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4683, allocations: 4 kB / 0.6151 GB, free: 4.066 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.4684, allocations: 176.3 kB / 0.6152 GB, free: 3.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4684, allocations: 0 / 0.6152 GB, free: 3.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.4687, allocations: 35.98 kB / 0.6153 GB, free: 3.859 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.001025/0.4697, allocations: 467.2 kB / 0.6157 GB, free: 3.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4699, allocations: 63.91 kB / 0.6158 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.47, allocations: 0 / 0.6158 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.47, allocations: 32.14 kB / 0.6158 GB, free: 3.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4704, allocations: 32.06 kB / 0.6158 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.4709, allocations: 324.3 kB / 0.6161 GB, free: 3.098 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.4713, allocations: 0.72 MB / 0.6168 GB, free: 2.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.4713, allocations: 15.44 kB / 0.6169 GB, free: 2.336 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4713, allocations: 0 / 0.6169 GB, free: 2.336 MB / 426.7 MB Notification: Performance of Templates: time 0.004129/0.4755, allocations: 2.083 MB / 0.6189 GB, free: 268 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches