Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 227.4 MB / 251.6 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3378/0.3378, allocations: 46.17 MB / 351.1 MB, free: 14.38 MB / 286.1 MB " [Timeout remaining time 179] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 83.22 kB / 490.2 MB, free: 28.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1278, allocations: 62.45 MB / 0.5397 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003816/0.1317, allocations: 1.834 MB / 0.5415 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1338, allocations: 1.096 MB / 0.5426 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.1341, allocations: 7.938 kB / 0.5426 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.1348, allocations: 299.3 kB / 0.5429 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.1354, allocations: 247.2 kB / 0.5431 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1358, allocations: 111.6 kB / 0.5432 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.1362, allocations: 251.4 kB / 0.5435 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.1362, allocations: 33.58 kB / 0.5435 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.1365, allocations: 123.6 kB / 0.5436 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.1368, allocations: 192 kB / 0.5438 GB, free: 136 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1368, allocations: 8 kB / 0.5438 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1369, allocations: 43.98 kB / 0.5439 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.1371, allocations: 128.5 kB / 0.544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1373, allocations: 150.8 kB / 0.5441 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.1378, allocations: 370.2 kB / 0.5445 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1378, allocations: 0 / 0.5445 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1378, allocations: 4 kB / 0.5445 GB, free: 15.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1378, allocations: 0 / 0.5445 GB, free: 15.44 MB / 414.1 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.00104/0.1389, allocations: 0.7578 MB / 0.5452 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1389, allocations: 8.031 kB / 0.5452 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.139, allocations: 52.55 kB / 0.5453 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.1397, allocations: 452.4 kB / 0.5457 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1397, allocations: 384 / 0.5457 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1397, allocations: 8.375 kB / 0.5457 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1399, allocations: 87.67 kB / 0.5458 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.14, allocations: 0 / 0.5458 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.14, allocations: 0 / 0.5458 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.14, allocations: 0 / 0.5458 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1401, allocations: 31.92 kB / 0.5458 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1405, allocations: 386.3 kB / 0.5462 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1408, allocations: 113.1 kB / 0.5463 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.1409, allocations: 37.7 kB / 0.5463 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.141, allocations: 0 / 0.5463 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.1412, allocations: 116.9 kB / 0.5465 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1412, allocations: 0 / 0.5465 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004992/0.1417, allocations: 201.6 kB / 0.5467 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.1418, allocations: 81.05 kB / 0.5467 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.1429, allocations: 1.034 MB / 0.5477 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.143, allocations: 25.7 kB / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1432, allocations: 228.1 kB / 0.548 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.1432, allocations: 27.78 kB / 0.548 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.1433, allocations: 33.7 kB / 0.548 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1435, allocations: 366.8 kB / 0.5484 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.1436, allocations: 28.11 kB / 0.5484 GB, free: 11.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1437, allocations: 61.42 kB / 0.5485 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.1439, allocations: 91.34 kB / 0.5486 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1439, allocations: 0 / 0.5486 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000314/0.1442, allocations: 173.2 kB / 0.5487 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1442, allocations: 12.06 kB / 0.5487 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1442, allocations: 0 / 0.5487 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1443, allocations: 0 / 0.5487 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1444, allocations: 27.92 kB / 0.5488 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1444, allocations: 0 / 0.5488 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/0.1445, allocations: 11.94 kB / 0.5488 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1445, allocations: 4 kB / 0.5488 GB, free: 10.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002302/0.1447, allocations: 221.8 kB / 0.549 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.1448, allocations: 63.53 kB / 0.5491 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.734e-05/0.1449, allocations: 60.09 kB / 0.5491 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1449, allocations: 0 / 0.5491 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1449, allocations: 0 / 0.5491 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1449, allocations: 4 kB / 0.5491 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.1453, allocations: 337.4 kB / 0.5494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1453, allocations: 4.125 kB / 0.5494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.1454, allocations: 15.94 kB / 0.5495 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1454, allocations: 0 / 0.5495 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1454, allocations: 4 kB / 0.5495 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1454, allocations: 7.922 kB / 0.5495 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1454, allocations: 4 kB / 0.5495 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.1458, allocations: 201.5 kB / 0.5497 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1459, allocations: 152.6 kB / 0.5498 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.146, allocations: 4 kB / 0.5498 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.1461, allocations: 7.984 kB / 0.5498 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1461, allocations: 8 kB / 0.5498 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1461, allocations: 7.984 kB / 0.5498 GB, free: 9.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008989/0.1471, allocations: 0.7643 MB / 0.5506 GB, free: 8.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1471, allocations: 0 / 0.5506 GB, free: 8.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1474, allocations: 40 kB / 0.5506 GB, free: 8.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00155/0.149, allocations: 411.6 kB / 0.551 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.1493, allocations: 79.89 kB / 0.5511 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1493, allocations: 4.125 kB / 0.5511 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1494, allocations: 35.98 kB / 0.5511 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.1499, allocations: 83.66 kB / 0.5512 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1513, allocations: 0.8581 MB / 0.552 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.1518, allocations: 0.8427 MB / 0.5529 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.1519, allocations: 58.92 kB / 0.5529 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.152, allocations: 31.44 kB / 0.553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of SimCode: time 2.144e-06/0.152, allocations: 0 / 0.553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of Templates: time 0.009663/0.1617, allocations: 3.751 MB / 0.5566 GB, free: 2.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.340857919305563]