Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.00115, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2541/0.2541, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 75.88 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5517, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004148/0.556, allocations: 2.361 MB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.5588, allocations: 1.387 MB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.559, allocations: 8.625 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.5597, allocations: 289 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008801/0.5606, allocations: 338 kB / 0.5353 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.5613, allocations: 216.9 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007969/0.5621, allocations: 0.5611 MB / 0.5361 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.5624, allocations: 54.08 kB / 0.5361 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.5628, allocations: 248.1 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.5632, allocations: 263.7 kB / 0.5366 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.5633, allocations: 18.47 kB / 0.5366 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.5635, allocations: 58.73 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.5637, allocations: 116.2 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.5639, allocations: 184.7 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.5645, allocations: 419.3 kB / 0.5374 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5646, allocations: 0 / 0.5374 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5646, allocations: 1.25 kB / 0.5374 GB, free: 8.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.5646, allocations: 3.938 kB / 0.5374 GB, free: 8.941 MB / 398.1 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.001256/0.5658, allocations: 0.8127 MB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5659, allocations: 10.91 kB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.566, allocations: 65.31 kB / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.5667, allocations: 430.8 kB / 0.5387 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.5668, allocations: 9.906 kB / 0.5387 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.5668, allocations: 26.02 kB / 0.5387 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.5673, allocations: 195.1 kB / 0.5389 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.5673, allocations: 5.031 kB / 0.5389 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.5673, allocations: 6.078 kB / 0.5389 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5673, allocations: 3.969 kB / 0.5389 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.5676, allocations: 95.81 kB / 0.539 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.5687, allocations: 0.8702 MB / 0.5398 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.5693, allocations: 300.6 kB / 0.5401 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.5695, allocations: 89.05 kB / 0.5402 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.5696, allocations: 9.703 kB / 0.5402 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004396/0.57, allocations: 229.5 kB / 0.5404 GB, free: 6.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.774e-06/0.57, allocations: 0 / 0.5404 GB, free: 6.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002217/0.5723, allocations: 1.037 MB / 0.5415 GB, free: 5.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.5724, allocations: 162.8 kB / 0.5416 GB, free: 5.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.5733, allocations: 0.6598 MB / 0.5423 GB, free: 5.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5733, allocations: 38.95 kB / 0.5423 GB, free: 5.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.5735, allocations: 230.9 kB / 0.5425 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.5737, allocations: 133.7 kB / 0.5426 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5738, allocations: 66.08 kB / 0.5427 GB, free: 4.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.574, allocations: 379.2 kB / 0.5431 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.5742, allocations: 104.8 kB / 0.5432 GB, free: 4.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.5746, allocations: 180.1 kB / 0.5433 GB, free: 4.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.5751, allocations: 305.5 kB / 0.5436 GB, free: 3.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5752, allocations: 4.906 kB / 0.5436 GB, free: 3.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008138/0.576, allocations: 406.6 kB / 0.544 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.576, allocations: 9.359 kB / 0.544 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.576, allocations: 2.938 kB / 0.544 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5761, allocations: 3.438 kB / 0.544 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.5764, allocations: 88.72 kB / 0.5441 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5764, allocations: 4.781 kB / 0.5441 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.5766, allocations: 21.05 kB / 0.5441 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.5766, allocations: 18.02 kB / 0.5442 GB, free: 3.711 MB / 398.1 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 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.5769, allocations: 199.9 kB / 0.5443 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.577, allocations: 71.47 kB / 0.5444 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.5772, allocations: 68.16 kB / 0.5445 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5772, allocations: 4.5 kB / 0.5445 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.5772, allocations: 11.06 kB / 0.5445 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5772, allocations: 0 / 0.5445 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.5789, allocations: 1.286 MB / 0.5458 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5789, allocations: 4 kB / 0.5458 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.579, allocations: 47.91 kB / 0.5458 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.5791, allocations: 4 kB / 0.5458 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.5791, allocations: 15.94 kB / 0.5458 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.5791, allocations: 4 kB / 0.5458 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.5791, allocations: 15.91 kB / 0.5458 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.5801, allocations: 0.8284 MB / 0.5466 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.5802, allocations: 124.7 kB / 0.5468 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.5803, allocations: 23.92 kB / 0.5468 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.5806, allocations: 15.98 kB / 0.5468 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.5807, allocations: 27.97 kB / 0.5468 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.5807, allocations: 23.98 kB / 0.5469 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005466/0.5813, allocations: 486.8 kB / 0.5473 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5813, allocations: 0 / 0.5473 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005606/0.5819, allocations: 87.92 kB / 0.5474 GB, free: 428 kB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.5831, allocations: 484.7 kB / 0.5479 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.5839, allocations: 291.6 kB / 0.5481 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5839, allocations: 0 / 0.5481 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.5842, allocations: 149.3 kB / 0.5483 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5853, allocations: 154.2 kB / 0.5484 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.5868, allocations: 0.9148 MB / 0.5493 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.5873, allocations: 0.8629 MB / 0.5502 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.5876, allocations: 80.12 kB / 0.5502 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.5877, allocations: 59.41 kB / 0.5503 GB, free: 13.53 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5877, allocations: 0 / 0.5503 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Templates: time 0.01197/0.5997, allocations: 5.786 MB / 0.556 GB, free: 7.801 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches