Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001276/0.001276, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001244/0.001244, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.496/1.496, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2518/0.2518, allocations: 46.88 MB / 358.1 MB, free: 10.53 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 87.86 kB / 0.4924 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1431, allocations: 65.98 MB / 0.5569 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003844/0.147, allocations: 2.044 MB / 0.5589 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.149, allocations: 1.126 MB / 0.56 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.1491, allocations: 0 / 0.56 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.1495, allocations: 51.62 kB / 0.56 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1498, allocations: 107.4 kB / 0.5601 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1501, allocations: 115.6 kB / 0.5602 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1504, allocations: 199.4 kB / 0.5604 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1505, allocations: 25.67 kB / 0.5604 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1506, allocations: 87.61 kB / 0.5605 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1508, allocations: 79.56 kB / 0.5606 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1508, allocations: 12 kB / 0.5606 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1509, allocations: 55.97 kB / 0.5607 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.151, allocations: 47.78 kB / 0.5607 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1511, allocations: 71.53 kB / 0.5608 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.1515, allocations: 199.1 kB / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1515, allocations: 0 / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1515, allocations: 0 / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1515, allocations: 0 / 0.561 GB, free: 1.648 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.001088/0.1526, allocations: 0.5796 MB / 0.5615 GB, free: 1.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1526, allocations: 8.031 kB / 0.5615 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.1527, allocations: 20.84 kB / 0.5616 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.1531, allocations: 253 kB / 0.5618 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1531, allocations: 8.375 kB / 0.5618 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1532, allocations: 12.36 kB / 0.5618 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.1536, allocations: 154.4 kB / 0.562 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1536, allocations: 4 kB / 0.562 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1536, allocations: 0 / 0.562 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.1536, allocations: 0 / 0.562 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.1541, allocations: 115.8 kB / 0.5621 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.1549, allocations: 0.5438 MB / 0.5626 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.1556, allocations: 158.5 kB / 0.5628 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.1558, allocations: 72.78 kB / 0.5628 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1558, allocations: 0 / 0.5628 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004074/0.1562, allocations: 147.1 kB / 0.563 GB, free: 15.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.1562, allocations: 0 / 0.563 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009097/0.1572, allocations: 249.4 kB / 0.5632 GB, free: 15.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1572, allocations: 55.39 kB / 0.5633 GB, free: 15.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1575, allocations: 236.9 kB / 0.5635 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.1575, allocations: 37.64 kB / 0.5635 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1576, allocations: 124.3 kB / 0.5636 GB, free: 14.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1576, allocations: 47.81 kB / 0.5637 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1577, allocations: 37.7 kB / 0.5637 GB, free: 14.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1579, allocations: 326.8 kB / 0.564 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.1582, allocations: 67.94 kB / 0.5641 GB, free: 14.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.1585, allocations: 108.2 kB / 0.5642 GB, free: 14.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.159, allocations: 197.8 kB / 0.5644 GB, free: 13.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.159, allocations: 0 / 0.5644 GB, free: 13.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006709/0.1597, allocations: 254.3 kB / 0.5646 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.1597, allocations: 33.83 kB / 0.5647 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1598, allocations: 7.938 kB / 0.5647 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1598, allocations: 4 kB / 0.5647 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.16, allocations: 39.91 kB / 0.5647 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.16, allocations: 4 kB / 0.5647 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1601, allocations: 35.8 kB / 0.5648 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1602, allocations: 4 kB / 0.5648 GB, free: 13.46 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.0001493/0.1603, allocations: 137.8 kB / 0.5649 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.1603, allocations: 19.91 kB / 0.5649 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.1604, allocations: 25.39 kB / 0.5649 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1604, allocations: 0 / 0.5649 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1604, allocations: 4 kB / 0.5649 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1604, allocations: 3.938 kB / 0.5649 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.1607, allocations: 237.4 kB / 0.5652 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1607, allocations: 4 kB / 0.5652 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1608, allocations: 23.97 kB / 0.5652 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1608, allocations: 0 / 0.5652 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1608, allocations: 8 kB / 0.5652 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1608, allocations: 0 / 0.5652 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1608, allocations: 0 / 0.5652 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.1618, allocations: 312.7 kB / 0.5655 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1618, allocations: 93 kB / 0.5656 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.1619, allocations: 4 kB / 0.5656 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.162, allocations: 19.97 kB / 0.5656 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.1621, allocations: 23.91 kB / 0.5656 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.1621, allocations: 4 kB / 0.5656 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1623, allocations: 173.6 kB / 0.5658 GB, free: 12.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1623, allocations: 4.062 kB / 0.5658 GB, free: 12.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1626, allocations: 39.94 kB / 0.5658 GB, free: 12.24 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.001519/0.1641, allocations: 410.2 kB / 0.5662 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.1647, allocations: 211.3 kB / 0.5664 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1647, allocations: 0 / 0.5664 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.165, allocations: 67.94 kB / 0.5665 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1653, allocations: 55.16 kB / 0.5666 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.1661, allocations: 353.2 kB / 0.5669 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1665, allocations: 0.7319 MB / 0.5676 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/0.1666, allocations: 23.42 kB / 0.5676 GB, free: 10.49 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1666, allocations: 0 / 0.5676 GB, free: 10.49 MB / 430.1 MB Notification: Performance of Templates: time 0.005543/0.1721, allocations: 2.851 MB / 0.5704 GB, free: 7.648 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.275066992035136] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.17961231293156743 0.192997738 0.038734569 Calling exit ...