Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001372/0.001372, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001379/0.001379, allocations: 203.3 kB / 21.4 MB, free: 1.645 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.597/1.597, allocations: 227.4 MB / 251.6 MB, free: 80 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.2535/0.2535, allocations: 46.18 MB / 351.1 MB, free: 14.26 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 87.81 kB / 490.3 MB, free: 27.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1471, allocations: 62.45 MB / 0.5398 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003433/0.1506, allocations: 1.927 MB / 0.5417 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1527, allocations: 1.114 MB / 0.5428 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.451e-05/0.1528, allocations: 7.938 kB / 0.5428 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.1532, allocations: 167.5 kB / 0.5429 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.1537, allocations: 183.2 kB / 0.5431 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.154, allocations: 119.6 kB / 0.5432 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.1543, allocations: 239.4 kB / 0.5434 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1544, allocations: 33.56 kB / 0.5435 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1546, allocations: 107.6 kB / 0.5436 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1548, allocations: 135.5 kB / 0.5437 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1548, allocations: 8 kB / 0.5437 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.155, allocations: 75.91 kB / 0.5438 GB, free: 0 / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.1551, allocations: 47.78 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.1552, allocations: 87.34 kB / 0.5439 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1555, allocations: 223 kB / 0.5441 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1555, allocations: 0 / 0.5441 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1555, allocations: 0 / 0.5441 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1555, allocations: 3.984 kB / 0.5441 GB, free: 15.64 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007739/0.1563, allocations: 0.5484 MB / 0.5447 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1563, allocations: 8.031 kB / 0.5447 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.1564, allocations: 40.73 kB / 0.5447 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1568, allocations: 271.8 kB / 0.545 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1568, allocations: 8.359 kB / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1569, allocations: 8.375 kB / 0.545 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1572, allocations: 113.1 kB / 0.5451 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1572, allocations: 4 kB / 0.5451 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1572, allocations: 4 kB / 0.5451 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1572, allocations: 4 kB / 0.5451 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1574, allocations: 43.97 kB / 0.5451 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.1579, allocations: 472.7 kB / 0.5456 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.1583, allocations: 125.2 kB / 0.5457 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1584, allocations: 45.83 kB / 0.5458 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1584, allocations: 0 / 0.5458 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1587, allocations: 120 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1587, allocations: 4 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001319/0.16, allocations: 0.4937 MB / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.1601, allocations: 81.11 kB / 0.5464 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.1605, allocations: 371.3 kB / 0.5468 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1605, allocations: 33.7 kB / 0.5468 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.1606, allocations: 144.5 kB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.1607, allocations: 79.36 kB / 0.547 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.1608, allocations: 41.7 kB / 0.5471 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.161, allocations: 338.8 kB / 0.5474 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1611, allocations: 59.97 kB / 0.5475 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1613, allocations: 91.34 kB / 0.5475 GB, free: 11.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1616, allocations: 167.3 kB / 0.5477 GB, free: 11.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1616, allocations: 0 / 0.5477 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004076/0.162, allocations: 233.4 kB / 0.5479 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.162, allocations: 8 kB / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.162, allocations: 0 / 0.5479 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.162, allocations: 8 kB / 0.5479 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1622, allocations: 47.97 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.1622, allocations: 7.938 kB / 0.548 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.1623, allocations: 7.938 kB / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1623, allocations: 8 kB / 0.548 GB, free: 11.38 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001598/0.1625, allocations: 161.8 kB / 0.5482 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1625, allocations: 27.81 kB / 0.5482 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.1626, allocations: 41.77 kB / 0.5482 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1626, allocations: 0 / 0.5482 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1626, allocations: 4 kB / 0.5482 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1626, allocations: 11.92 kB / 0.5482 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009268/0.1636, allocations: 0.7078 MB / 0.5489 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1636, allocations: 4 kB / 0.5489 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.1637, allocations: 40.05 kB / 0.549 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1637, allocations: 0 / 0.549 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1637, allocations: 4 kB / 0.549 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1637, allocations: 4 kB / 0.549 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1637, allocations: 0 / 0.549 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.1642, allocations: 421.8 kB / 0.5494 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.1643, allocations: 104.9 kB / 0.5495 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.1644, allocations: 7.984 kB / 0.5495 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1645, allocations: 8 kB / 0.5495 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.1646, allocations: 23.92 kB / 0.5495 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.1646, allocations: 11.98 kB / 0.5495 GB, free: 9.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002849/0.1649, allocations: 277.9 kB / 0.5498 GB, free: 9.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.1649, allocations: 0 / 0.5498 GB, free: 9.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.1653, allocations: 55.86 kB / 0.5499 GB, free: 9.363 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001915/0.1672, allocations: 0.5012 MB / 0.5503 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1675, allocations: 159.8 kB / 0.5505 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1676, allocations: 128 / 0.5505 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1677, allocations: 83.84 kB / 0.5506 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.1683, allocations: 79.45 kB / 0.5507 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.1692, allocations: 0.4965 MB / 0.5511 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.1698, allocations: 0.7635 MB / 0.5519 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1699, allocations: 38.3 kB / 0.5519 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.17, allocations: 35.42 kB / 0.552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.17, allocations: 0 / 0.552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of Templates: time 0.007329/0.1773, allocations: 3.143 MB / 0.555 GB, free: 4.207 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.333663676865399]