Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 0.4915 GB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1592, allocations: 65.99 MB / 0.5559 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003935/0.1631, allocations: 2.048 MB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1653, allocations: 1.118 MB / 0.559 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1654, allocations: 7.938 kB / 0.559 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.1658, allocations: 47.64 kB / 0.5591 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.1661, allocations: 111.5 kB / 0.5592 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1664, allocations: 111.6 kB / 0.5593 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.1667, allocations: 207.3 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1669, allocations: 25.66 kB / 0.5595 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.1671, allocations: 83.64 kB / 0.5596 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1672, allocations: 79.59 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.1673, allocations: 19.94 kB / 0.5597 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1674, allocations: 51.98 kB / 0.5597 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.1675, allocations: 35.84 kB / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1676, allocations: 83.45 kB / 0.5598 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.168, allocations: 195.2 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.168, allocations: 0 / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.168, allocations: 0 / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.168, allocations: 0 / 0.56 GB, free: 1.055 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.001273/0.1693, allocations: 0.5757 MB / 0.5606 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1693, allocations: 8.031 kB / 0.5606 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.1694, allocations: 20.84 kB / 0.5606 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1698, allocations: 257 kB / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1698, allocations: 4.375 kB / 0.5609 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.1698, allocations: 12.12 kB / 0.5609 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.1703, allocations: 152.1 kB / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1703, allocations: 0 / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.1704, allocations: 11.98 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1704, allocations: 0 / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.1709, allocations: 111.9 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.1716, allocations: 0.5476 MB / 0.5617 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.1724, allocations: 158.5 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.1726, allocations: 68.8 kB / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1727, allocations: 3.984 kB / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/0.1731, allocations: 139.3 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1731, allocations: 0 / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009523/0.174, allocations: 261.2 kB / 0.5623 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1741, allocations: 59.34 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1744, allocations: 236.2 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.1744, allocations: 29.7 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1746, allocations: 132.4 kB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.1746, allocations: 31.75 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.1747, allocations: 37.7 kB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.1749, allocations: 338.8 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.1752, allocations: 63.94 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.1756, allocations: 104.2 kB / 0.5633 GB, free: 13.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.1761, allocations: 193.8 kB / 0.5634 GB, free: 13.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1761, allocations: 4 kB / 0.5634 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007111/0.1768, allocations: 254.6 kB / 0.5637 GB, free: 13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.1769, allocations: 39.56 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1769, allocations: 0 / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1769, allocations: 7.938 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.1771, allocations: 43.97 kB / 0.5638 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1771, allocations: 0 / 0.5638 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1773, allocations: 35.86 kB / 0.5638 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1773, allocations: 4 kB / 0.5638 GB, free: 12.86 MB / 430.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.0002089/0.1775, allocations: 140 kB / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1776, allocations: 15.91 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.1776, allocations: 25.41 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1776, allocations: 11.88 kB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1776, allocations: 0 / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.1776, allocations: 7.984 kB / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.1779, allocations: 233.5 kB / 0.5642 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1779, allocations: 3.984 kB / 0.5642 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1781, allocations: 23.98 kB / 0.5642 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1781, allocations: 4 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1781, allocations: 7.922 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1781, allocations: 3.938 kB / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1781, allocations: 0 / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.179, allocations: 300.9 kB / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.1791, allocations: 92.97 kB / 0.5646 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1791, allocations: 8.062 kB / 0.5646 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1793, allocations: 27.84 kB / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.1794, allocations: 19.97 kB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1794, allocations: 8 kB / 0.5647 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1796, allocations: 169.6 kB / 0.5649 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1796, allocations: 0 / 0.5649 GB, free: 11.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1798, allocations: 39.94 kB / 0.5649 GB, free: 11.64 MB / 430.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.001548/0.1814, allocations: 411.7 kB / 0.5653 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.1821, allocations: 215.1 kB / 0.5655 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1821, allocations: 0 / 0.5655 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.1824, allocations: 80.06 kB / 0.5656 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1827, allocations: 44.81 kB / 0.5656 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.1835, allocations: 323.6 kB / 0.5659 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.184, allocations: 0.7319 MB / 0.5666 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.046e-05/0.1841, allocations: 21.53 kB / 0.5667 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.1841, allocations: 19.44 kB / 0.5667 GB, free: 9.914 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1841, allocations: 0 / 0.5667 GB, free: 9.914 MB / 430.1 MB Notification: Performance of Templates: time 0.007334/0.1915, allocations: 2.858 MB / 0.5695 GB, free: 7.074 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.364754259586334] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.1990015171468258 0.21292036700000003 0.042034484000000004 Calling exit ...