Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001634/0.001634, allocations: 117.1 kB / 19.13 MB, free: 3.945 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.001847/0.001847, allocations: 206.6 kB / 22.08 MB, free: 0.9961 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.529/1.529, allocations: 227.4 MB / 252.3 MB, free: 100 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.251/0.251, allocations: 46.16 MB / 351.8 MB, free: 14.31 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 79.31 kB / 490.9 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1443, allocations: 62.44 MB / 0.5404 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004235/0.1486, allocations: 2.032 MB / 0.5424 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1506, allocations: 1.122 MB / 0.5435 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1507, allocations: 4 kB / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1511, allocations: 51.62 kB / 0.5435 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.1515, allocations: 107.4 kB / 0.5436 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1518, allocations: 111.6 kB / 0.5437 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1521, allocations: 199.4 kB / 0.5439 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1522, allocations: 37.61 kB / 0.544 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1524, allocations: 79.62 kB / 0.544 GB, free: 456 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1525, allocations: 83.56 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.1525, allocations: 15.98 kB / 0.5441 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1527, allocations: 51.98 kB / 0.5442 GB, free: 304 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.1528, allocations: 35.84 kB / 0.5442 GB, free: 268 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.1529, allocations: 71.58 kB / 0.5443 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1532, allocations: 199.1 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1532, allocations: 4 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1532, allocations: 0 / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1532, allocations: 0 / 0.5445 GB, free: 15.99 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001048/0.1543, allocations: 0.5785 MB / 0.5451 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1543, allocations: 12.03 kB / 0.5451 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.1544, allocations: 16.84 kB / 0.5451 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.1548, allocations: 257 kB / 0.5453 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1548, allocations: 8.375 kB / 0.5453 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1549, allocations: 4.375 kB / 0.5453 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.1553, allocations: 158.6 kB / 0.5455 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1554, allocations: 3.984 kB / 0.5455 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1554, allocations: 8 kB / 0.5455 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1554, allocations: 4 kB / 0.5455 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.1559, allocations: 107.8 kB / 0.5456 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.1566, allocations: 0.5477 MB / 0.5461 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.1573, allocations: 158.6 kB / 0.5463 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.1575, allocations: 76.73 kB / 0.5464 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1576, allocations: 3.938 kB / 0.5464 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.158, allocations: 143.2 kB / 0.5465 GB, free: 13.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.158, allocations: 4 kB / 0.5465 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008958/0.1589, allocations: 249.4 kB / 0.5467 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.1589, allocations: 55.34 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1592, allocations: 244.9 kB / 0.547 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1592, allocations: 37.7 kB / 0.5471 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1593, allocations: 124.3 kB / 0.5472 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.1594, allocations: 43.67 kB / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.1595, allocations: 29.72 kB / 0.5473 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1596, allocations: 334.8 kB / 0.5476 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.1599, allocations: 67.94 kB / 0.5476 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.1602, allocations: 104.2 kB / 0.5477 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.1607, allocations: 200.4 kB / 0.5479 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1608, allocations: 0 / 0.5479 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006713/0.1614, allocations: 255.1 kB / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.1615, allocations: 41.69 kB / 0.5482 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1615, allocations: 0 / 0.5482 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1615, allocations: 4 kB / 0.5482 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1617, allocations: 31.97 kB / 0.5482 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1617, allocations: 3.938 kB / 0.5483 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1619, allocations: 43.8 kB / 0.5483 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1619, allocations: 8.062 kB / 0.5483 GB, free: 11.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001298/0.1621, allocations: 129.8 kB / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.1621, allocations: 15.91 kB / 0.5484 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.1622, allocations: 25.41 kB / 0.5485 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1622, allocations: 3.984 kB / 0.5485 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1622, allocations: 3.984 kB / 0.5485 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1622, allocations: 3.938 kB / 0.5485 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.1624, allocations: 233.5 kB / 0.5487 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1625, allocations: 0 / 0.5487 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1626, allocations: 27.92 kB / 0.5487 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1626, allocations: 4 kB / 0.5487 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1627, allocations: 7.984 kB / 0.5487 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1627, allocations: 0 / 0.5487 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1627, allocations: 0 / 0.5487 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008968/0.1636, allocations: 304.7 kB / 0.549 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.1636, allocations: 100.9 kB / 0.5491 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1637, allocations: 0 / 0.5491 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1639, allocations: 23.97 kB / 0.5491 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.683e-05/0.1639, allocations: 27.84 kB / 0.5492 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.164, allocations: 8.062 kB / 0.5492 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1641, allocations: 169.6 kB / 0.5493 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 0 / 0.5493 GB, free: 10.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1644, allocations: 40 kB / 0.5494 GB, free: 10.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001497/0.1659, allocations: 411.8 kB / 0.5498 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.1666, allocations: 223.2 kB / 0.55 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1666, allocations: 0 / 0.55 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.1669, allocations: 75.88 kB / 0.5501 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1672, allocations: 54.89 kB / 0.5501 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.1679, allocations: 345.6 kB / 0.5504 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1683, allocations: 0.7241 MB / 0.5511 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.1684, allocations: 23.44 kB / 0.5512 GB, free: 8.824 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1684, allocations: 0 / 0.5512 GB, free: 8.824 MB / 414.1 MB Notification: Performance of Templates: time 0.005257/0.1737, allocations: 2.854 MB / 0.554 GB, free: 5.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.387886088923551] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.18067982408683747 0.19352016699999994 0.037736217 Calling exit ...