Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001695/0.001695, 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.001901/0.001901, 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.549/1.549, allocations: 227.4 MB / 251.6 MB, free: 292 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.2549/0.2549, allocations: 46.18 MB / 351.1 MB, free: 14.33 MB / 286.1 MB " [Timeout remaining time 180] 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 83.12 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1334, allocations: 62.45 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003377/0.1368, allocations: 1.828 MB / 0.5415 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1387, allocations: 1.1 MB / 0.5426 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.1388, allocations: 3.938 kB / 0.5426 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.1393, allocations: 307.3 kB / 0.5429 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.1398, allocations: 255.2 kB / 0.5431 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1401, allocations: 107.6 kB / 0.5432 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.1404, allocations: 259.3 kB / 0.5435 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.1405, allocations: 25.62 kB / 0.5435 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1407, allocations: 127.5 kB / 0.5436 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.1409, allocations: 195.5 kB / 0.5438 GB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.141, allocations: 8.047 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1411, allocations: 43.92 kB / 0.5439 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1412, allocations: 139.5 kB / 0.544 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.1414, allocations: 150.8 kB / 0.5442 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.1419, allocations: 382.2 kB / 0.5445 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1419, allocations: 0 / 0.5445 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1419, allocations: 0 / 0.5445 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.1419, allocations: 3.938 kB / 0.5445 GB, free: 15.29 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.001056/0.143, allocations: 0.7693 MB / 0.5453 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.143, allocations: 12.03 kB / 0.5453 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.1431, allocations: 48.61 kB / 0.5453 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.1438, allocations: 456.4 kB / 0.5458 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1438, allocations: 8.359 kB / 0.5458 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1438, allocations: 384 / 0.5458 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.144, allocations: 95.62 kB / 0.5459 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1441, allocations: 0 / 0.5459 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1441, allocations: 3.984 kB / 0.5459 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1441, allocations: 0 / 0.5459 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1442, allocations: 27.98 kB / 0.5459 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.1447, allocations: 386.3 kB / 0.5463 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.145, allocations: 109.2 kB / 0.5464 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.1451, allocations: 37.7 kB / 0.5464 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1451, allocations: 4 kB / 0.5464 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.1453, allocations: 113 kB / 0.5465 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1453, allocations: 0 / 0.5465 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004835/0.1458, allocations: 201.4 kB / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.1459, allocations: 85.11 kB / 0.5468 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.147, allocations: 1.054 MB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1471, allocations: 25.7 kB / 0.5478 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.1473, allocations: 240.1 kB / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.1474, allocations: 39.72 kB / 0.5481 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.1474, allocations: 29.7 kB / 0.5481 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.1477, allocations: 366.8 kB / 0.5485 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.1478, allocations: 23.98 kB / 0.5485 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.1479, allocations: 58.42 kB / 0.5486 GB, free: 10.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1481, allocations: 95.34 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1481, allocations: 0 / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003055/0.1484, allocations: 177.1 kB / 0.5488 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1484, allocations: 5.875 kB / 0.5488 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1484, allocations: 4.047 kB / 0.5488 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1484, allocations: 8 kB / 0.5488 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1486, allocations: 16 kB / 0.5489 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1486, allocations: 4 kB / 0.5489 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.474e-05/0.1487, allocations: 15.92 kB / 0.5489 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1487, allocations: 4 kB / 0.5489 GB, free: 10.54 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.0002244/0.1489, allocations: 226.1 kB / 0.5491 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.149, allocations: 55.56 kB / 0.5492 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.759e-05/0.1491, allocations: 60.14 kB / 0.5492 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1491, allocations: 11.98 kB / 0.5492 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1491, allocations: 4 kB / 0.5492 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1491, allocations: 0 / 0.5492 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.1495, allocations: 345.4 kB / 0.5496 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1495, allocations: 0 / 0.5496 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.1495, allocations: 15.92 kB / 0.5496 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1495, allocations: 0 / 0.5496 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1495, allocations: 4 kB / 0.5496 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1495, allocations: 0 / 0.5496 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1495, allocations: 0 / 0.5496 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1499, allocations: 209.5 kB / 0.5498 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.15, allocations: 140.7 kB / 0.5499 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.1501, allocations: 7.984 kB / 0.5499 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.1502, allocations: 4 kB / 0.5499 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1502, allocations: 7.984 kB / 0.5499 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1503, allocations: 11.94 kB / 0.5499 GB, free: 9.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000847/0.1511, allocations: 0.7839 MB / 0.5507 GB, free: 8.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.1511, allocations: 4 kB / 0.5507 GB, free: 8.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1514, allocations: 47.92 kB / 0.5508 GB, free: 8.523 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.001531/0.1529, allocations: 406.9 kB / 0.5511 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.1532, allocations: 79.91 kB / 0.5512 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1532, allocations: 0 / 0.5512 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1533, allocations: 44.05 kB / 0.5513 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1538, allocations: 74.08 kB / 0.5513 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1551, allocations: 0.8815 MB / 0.5522 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.1556, allocations: 0.8388 MB / 0.553 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.1557, allocations: 66.92 kB / 0.5531 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.1558, allocations: 35.42 kB / 0.5531 GB, free: 6.191 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1558, allocations: 0 / 0.5531 GB, free: 6.191 MB / 414.1 MB Notification: Performance of Templates: time 0.00896/0.1648, allocations: 3.796 MB / 0.5568 GB, free: 2.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.173410813324153]