Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007894/0.0007893, allocations: 92.44 kB / 295.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.175/0.175, allocations: 44.84 MB / 392 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.0002419, allocations: 12 kB / 464.8 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08338/0.08363, allocations: 62.95 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002281/0.08594, allocations: 1.986 MB / 0.5173 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1639/0.2499, allocations: 1.356 MB / 0.5186 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.2501, allocations: 7.312 kB / 0.5186 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.2507, allocations: 266 kB / 0.5189 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.2512, allocations: 290.7 kB / 0.5191 GB, free: 9.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.2519, allocations: 336.8 kB / 0.5195 GB, free: 9.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.2524, allocations: 488.2 kB / 0.5199 GB, free: 9.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2525, allocations: 47.33 kB / 0.52 GB, free: 9.648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.2528, allocations: 217.2 kB / 0.5202 GB, free: 9.598 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.2531, allocations: 235.2 kB / 0.5204 GB, free: 9.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.2532, allocations: 9.219 kB / 0.5204 GB, free: 9.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2533, allocations: 44.34 kB / 0.5205 GB, free: 9.547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.2534, allocations: 98.75 kB / 0.5205 GB, free: 9.527 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.2535, allocations: 94.06 kB / 0.5206 GB, free: 9.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.2539, allocations: 297 kB / 0.5209 GB, free: 9.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2539, allocations: 1.875 kB / 0.5209 GB, free: 9.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2539, allocations: 0 / 0.5209 GB, free: 9.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.2539, allocations: 0 / 0.5209 GB, free: 9.441 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009264/0.2549, allocations: 0.7278 MB / 0.5216 GB, free: 8.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.2549, allocations: 9.906 kB / 0.5216 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.255, allocations: 52.59 kB / 0.5217 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.2555, allocations: 398.6 kB / 0.5221 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2555, allocations: 14.97 kB / 0.5221 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.2555, allocations: 17.47 kB / 0.5221 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.2559, allocations: 211.3 kB / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2559, allocations: 1.469 kB / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.256, allocations: 5.969 kB / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.256, allocations: 3.031 kB / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.2562, allocations: 102.2 kB / 0.5224 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.2569, allocations: 0.8617 MB / 0.5233 GB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.2574, allocations: 289.6 kB / 0.5235 GB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2576, allocations: 98.5 kB / 0.5236 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2577, allocations: 5.25 kB / 0.5236 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.258, allocations: 232.1 kB / 0.5238 GB, free: 7.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.258, allocations: 0 / 0.5238 GB, free: 7.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001753/0.2598, allocations: 1.003 MB / 0.5248 GB, free: 7.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2599, allocations: 168.5 kB / 0.525 GB, free: 7.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.2605, allocations: 0.6523 MB / 0.5256 GB, free: 6.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2605, allocations: 38.5 kB / 0.5257 GB, free: 6.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2607, allocations: 234.2 kB / 0.5259 GB, free: 6.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.2608, allocations: 129.4 kB / 0.526 GB, free: 6.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.2608, allocations: 5.406 kB / 0.526 GB, free: 6.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.2609, allocations: 379.6 kB / 0.5264 GB, free: 6.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2611, allocations: 97.73 kB / 0.5265 GB, free: 6.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.2613, allocations: 177.1 kB / 0.5266 GB, free: 6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.2615, allocations: 117.9 kB / 0.5268 GB, free: 5.949 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2615, allocations: 1.156 kB / 0.5268 GB, free: 5.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006126/0.2621, allocations: 409.1 kB / 0.5271 GB, free: 5.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2622, allocations: 6.688 kB / 0.5271 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2622, allocations: 3.859 kB / 0.5272 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2622, allocations: 4 kB / 0.5272 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.2625, allocations: 83.05 kB / 0.5272 GB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2625, allocations: 4.172 kB / 0.5272 GB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2627, allocations: 24.11 kB / 0.5273 GB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.2627, allocations: 22.25 kB / 0.5273 GB, free: 5.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001712/0.2629, allocations: 203.1 kB / 0.5275 GB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.263, allocations: 65.78 kB / 0.5275 GB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.892e-05/0.2631, allocations: 68.48 kB / 0.5276 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.2631, allocations: 7.141 kB / 0.5276 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2631, allocations: 1.312 kB / 0.5276 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2631, allocations: 2.688 kB / 0.5276 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.2644, allocations: 1.283 MB / 0.5289 GB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2644, allocations: 2.844 kB / 0.5289 GB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.2645, allocations: 45.75 kB / 0.5289 GB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.2645, allocations: 4.406 kB / 0.5289 GB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.2646, allocations: 18.81 kB / 0.5289 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.2646, allocations: 4.359 kB / 0.5289 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2646, allocations: 8.062 kB / 0.5289 GB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.2653, allocations: 0.8139 MB / 0.5297 GB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.2654, allocations: 146.9 kB / 0.5299 GB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.2654, allocations: 12.25 kB / 0.5299 GB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.2658, allocations: 20 kB / 0.5299 GB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.2659, allocations: 42.78 kB / 0.53 GB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.2659, allocations: 24.39 kB / 0.53 GB, free: 3.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004434/0.2664, allocations: 490 kB / 0.5304 GB, free: 3.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2664, allocations: 0 / 0.5304 GB, free: 3.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004784/0.2669, allocations: 85.61 kB / 0.5305 GB, free: 3.676 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008188/0.2677, allocations: 481.6 kB / 0.531 GB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000516/0.2682, allocations: 282.3 kB / 0.5313 GB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2682, allocations: 3.938 kB / 0.5313 GB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.2685, allocations: 153 kB / 0.5314 GB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.2694, allocations: 128.7 kB / 0.5315 GB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2706, allocations: 1.04 MB / 0.5325 GB, free: 2.617 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2709, allocations: 0.8597 MB / 0.5334 GB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.271, allocations: 55.66 kB / 0.5334 GB, free: 1.895 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.271, allocations: 0 / 0.5334 GB, free: 1.895 MB / 346.7 MB Notification: Performance of Templates: time 0.00835/0.2793, allocations: 6.488 MB / 0.5398 GB, free: 15.95 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches