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.00114/0.00114, allocations: 116.1 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2634/0.2634, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 75.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4299, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004507/0.4345, allocations: 2.367 MB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.4371, allocations: 1.392 MB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.4373, allocations: 12.06 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.438, allocations: 285.6 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.4387, allocations: 337.1 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.4392, allocations: 212.4 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006883/0.4399, allocations: 0.5539 MB / 0.5361 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.4401, allocations: 62 kB / 0.5361 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.4404, allocations: 246.5 kB / 0.5364 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.4408, allocations: 272.5 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.4409, allocations: 18.34 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.4411, allocations: 59.31 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.4412, allocations: 112 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.4414, allocations: 192.7 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.442, allocations: 417.8 kB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.442, allocations: 0 / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.442, allocations: 1.125 kB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.442, allocations: 0 / 0.5374 GB, free: 8.906 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.001301/0.4433, allocations: 0.7983 MB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.4434, allocations: 8.531 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.4435, allocations: 54.06 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.4444, allocations: 438.4 kB / 0.5387 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.4444, allocations: 6.281 kB / 0.5387 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.4445, allocations: 21.94 kB / 0.5387 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.445, allocations: 199.9 kB / 0.5389 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.445, allocations: 0 / 0.5389 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.4451, allocations: 6.562 kB / 0.5389 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4451, allocations: 3.125 kB / 0.5389 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.4454, allocations: 108.7 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.4465, allocations: 0.8581 MB / 0.5398 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.4472, allocations: 292.1 kB / 0.5401 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.4475, allocations: 97.45 kB / 0.5402 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.4475, allocations: 4.594 kB / 0.5402 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004736/0.448, allocations: 222.1 kB / 0.5404 GB, free: 6.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.963e-06/0.448, allocations: 1.5 kB / 0.5404 GB, free: 6.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002291/0.4503, allocations: 1.013 MB / 0.5414 GB, free: 5.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4504, allocations: 163.4 kB / 0.5416 GB, free: 5.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.4513, allocations: 0.6525 MB / 0.5422 GB, free: 5.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.4513, allocations: 41.69 kB / 0.5422 GB, free: 5.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.4515, allocations: 231.4 kB / 0.5425 GB, free: 4.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4516, allocations: 128.4 kB / 0.5426 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.4517, allocations: 70.81 kB / 0.5426 GB, free: 4.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4519, allocations: 375.9 kB / 0.543 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.4522, allocations: 98.08 kB / 0.5431 GB, free: 4.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.4525, allocations: 188.3 kB / 0.5433 GB, free: 4.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.453, allocations: 299.4 kB / 0.5436 GB, free: 3.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4531, allocations: 1.406 kB / 0.5436 GB, free: 3.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007574/0.4538, allocations: 409.3 kB / 0.544 GB, free: 3.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4538, allocations: 6.156 kB / 0.544 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.4539, allocations: 6.719 kB / 0.544 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4539, allocations: 3.438 kB / 0.544 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.4542, allocations: 89.42 kB / 0.5441 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.4542, allocations: 3.688 kB / 0.5441 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.4544, allocations: 22.17 kB / 0.5441 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.4545, allocations: 17.25 kB / 0.5441 GB, free: 3.746 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.0002393/0.4547, allocations: 211.9 kB / 0.5443 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/0.4548, allocations: 62.81 kB / 0.5444 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.4549, allocations: 72.41 kB / 0.5444 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.455, allocations: 5.375 kB / 0.5444 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.455, allocations: 1.281 kB / 0.5444 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.455, allocations: 5.141 kB / 0.5444 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.4565, allocations: 1.279 MB / 0.5457 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4565, allocations: 4 kB / 0.5457 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.4567, allocations: 51.92 kB / 0.5457 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4567, allocations: 4 kB / 0.5457 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.4567, allocations: 19.92 kB / 0.5458 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.4567, allocations: 7.938 kB / 0.5458 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4567, allocations: 0 / 0.5458 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.4576, allocations: 0.8241 MB / 0.5466 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.4577, allocations: 124.4 kB / 0.5467 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.4577, allocations: 15.94 kB / 0.5467 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.4581, allocations: 15.98 kB / 0.5467 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.4582, allocations: 39.95 kB / 0.5468 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.4582, allocations: 23.98 kB / 0.5468 GB, free: 1.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000505/0.4587, allocations: 486.8 kB / 0.5472 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4587, allocations: 0 / 0.5472 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005431/0.4593, allocations: 87.98 kB / 0.5473 GB, free: 456 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.001215/0.4605, allocations: 480.1 kB / 0.5478 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006119/0.4611, allocations: 291.7 kB / 0.5481 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4611, allocations: 0 / 0.5481 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.4615, allocations: 156.9 kB / 0.5482 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4626, allocations: 156.2 kB / 0.5484 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4639, allocations: 0.8966 MB / 0.5492 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.4643, allocations: 0.8589 MB / 0.5501 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.4646, allocations: 84.11 kB / 0.5502 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4647, allocations: 55.42 kB / 0.5502 GB, free: 13.58 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4647, allocations: 0 / 0.5502 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Templates: time 0.01154/0.4763, allocations: 5.797 MB / 0.5559 GB, free: 7.832 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