Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 196.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008722/0.000872, allocations: 93.34 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3892/0.3892, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002793, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4257, allocations: 62.97 MB / 0.5184 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.5572, allocations: 90.7 MB / 0.607 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5575, allocations: 83.94 kB / 0.6071 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02006/0.5776, allocations: 6.927 MB / 0.6138 GB, free: 7.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5777, allocations: 4 kB / 0.6139 GB, free: 7.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.5777, allocations: 4 kB / 0.6139 GB, free: 7.555 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009002/0.5786, allocations: 474.6 kB / 0.6143 GB, free: 7.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5787, allocations: 12.03 kB / 0.6143 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.5788, allocations: 12.75 kB / 0.6143 GB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.5792, allocations: 233.6 kB / 0.6146 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.5792, allocations: 4.375 kB / 0.6146 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.5793, allocations: 12.38 kB / 0.6146 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.5795, allocations: 62.16 kB / 0.6146 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.5795, allocations: 4.188 kB / 0.6146 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.5795, allocations: 3.938 kB / 0.6146 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5795, allocations: 0 / 0.6146 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.5796, allocations: 23.98 kB / 0.6147 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.5802, allocations: 304.9 kB / 0.615 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.5805, allocations: 78.36 kB / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.5806, allocations: 16.98 kB / 0.615 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5806, allocations: 4 kB / 0.615 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.5809, allocations: 75.28 kB / 0.6151 GB, free: 6.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.5809, allocations: 0 / 0.6151 GB, free: 6.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008838/0.5818, allocations: 253.5 kB / 0.6154 GB, free: 5.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5818, allocations: 51.41 kB / 0.6154 GB, free: 5.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.5821, allocations: 230.9 kB / 0.6156 GB, free: 5.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.5821, allocations: 29.7 kB / 0.6157 GB, free: 5.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5823, allocations: 112.1 kB / 0.6158 GB, free: 5.395 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.5823, allocations: 35.47 kB / 0.6158 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.5823, allocations: 0 / 0.6158 GB, free: 5.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5825, allocations: 342.8 kB / 0.6161 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.5826, allocations: 23.98 kB / 0.6161 GB, free: 4.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.911e-05/0.5827, allocations: 45.7 kB / 0.6162 GB, free: 4.941 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.5828, allocations: 77.7 kB / 0.6163 GB, free: 4.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5828, allocations: 3.938 kB / 0.6163 GB, free: 4.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002461/0.5831, allocations: 129.4 kB / 0.6164 GB, free: 4.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5831, allocations: 12.03 kB / 0.6164 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5831, allocations: 3.938 kB / 0.6164 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5832, allocations: 0 / 0.6164 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.5833, allocations: 23.92 kB / 0.6164 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5833, allocations: 4 kB / 0.6164 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.5833, allocations: 4 kB / 0.6164 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5833, allocations: 4 kB / 0.6164 GB, free: 4.672 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 (13): * Single equations (assignments): 13 * 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.0001203/0.5835, allocations: 133.8 kB / 0.6166 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.5835, allocations: 15.81 kB / 0.6166 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.5838, allocations: 158.9 kB / 0.6167 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5838, allocations: 4 kB / 0.6167 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5839, allocations: 4 kB / 0.6167 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5839, allocations: 0 / 0.6167 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.5845, allocations: 476 kB / 0.6172 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.5845, allocations: 4.062 kB / 0.6172 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.5845, allocations: 19.94 kB / 0.6172 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5845, allocations: 0 / 0.6172 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5846, allocations: 11.92 kB / 0.6172 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5846, allocations: 0 / 0.6172 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5846, allocations: 0 / 0.6172 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.5849, allocations: 245.2 kB / 0.6175 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.585, allocations: 108.9 kB / 0.6176 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.5851, allocations: 3.938 kB / 0.6176 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.5851, allocations: 11.98 kB / 0.6176 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.5852, allocations: 4 kB / 0.6176 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.5852, allocations: 7.984 kB / 0.6176 GB, free: 3.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.5854, allocations: 176.3 kB / 0.6178 GB, free: 3.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5854, allocations: 0 / 0.6178 GB, free: 3.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.5857, allocations: 43.94 kB / 0.6178 GB, free: 3.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001225/0.5869, allocations: 0.5263 MB / 0.6183 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.5872, allocations: 79.91 kB / 0.6184 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5872, allocations: 3.938 kB / 0.6184 GB, free: 2.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.5873, allocations: 43.92 kB / 0.6184 GB, free: 2.688 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.5877, allocations: 31.92 kB / 0.6185 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.5883, allocations: 319.9 kB / 0.6188 GB, free: 2.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.5887, allocations: 0.7238 MB / 0.6195 GB, free: 1.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.18e-05/0.5888, allocations: 20.64 kB / 0.6195 GB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.5888, allocations: 19.44 kB / 0.6195 GB, free: 1.523 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5888, allocations: 0 / 0.6195 GB, free: 1.523 MB / 426.7 MB Notification: Performance of Templates: time 0.005317/0.5941, allocations: 2.033 MB / 0.6215 GB, free: 15.51 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches