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.001621/0.001621, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002073/0.002073, allocations: 206 kB / 23.73 MB, free: 4.379 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.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.262/0.262, allocations: 46.96 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.00254/0.00254, allocations: 59.91 kB / 0.4967 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.341, allocations: 66.03 MB / 0.5611 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003565/0.3446, allocations: 1.979 MB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3468, allocations: 1.057 MB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.347, allocations: 7.938 kB / 0.5641 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.3473, allocations: 51.62 kB / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.3477, allocations: 111.5 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.3481, allocations: 115.6 kB / 0.5644 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3484, allocations: 203.4 kB / 0.5646 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3485, allocations: 24.47 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3487, allocations: 87.62 kB / 0.5647 GB, free: 488 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.3489, allocations: 79.56 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.3489, allocations: 12 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3491, allocations: 55.97 kB / 0.5648 GB, free: 340 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3492, allocations: 39.84 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3493, allocations: 55.66 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.3497, allocations: 214.8 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3497, allocations: 0 / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3497, allocations: 0 / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3497, allocations: 0 / 0.5651 GB, free: 32 kB / 398.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.001051/0.3507, allocations: 496.5 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3508, allocations: 12.03 kB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.3508, allocations: 16.84 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.3512, allocations: 190.1 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3512, allocations: 8.375 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3513, allocations: 12.12 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.3517, allocations: 180.8 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3517, allocations: 4 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3517, allocations: 7.938 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3517, allocations: 4 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.3522, allocations: 111.9 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.3529, allocations: 484.5 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.3536, allocations: 158.6 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.3539, allocations: 76.73 kB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3539, allocations: 3.938 kB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.3543, allocations: 157 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.3543, allocations: 0 / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009263/0.3552, allocations: 265.3 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3553, allocations: 51.41 kB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.3556, allocations: 248 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.3556, allocations: 29.7 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3557, allocations: 132.4 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.3558, allocations: 51.61 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.3558, allocations: 33.7 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.356, allocations: 326.8 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3563, allocations: 101.6 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.3567, allocations: 129.9 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005361/0.3572, allocations: 193.8 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3572, allocations: 0 / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007753/0.358, allocations: 296.5 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.358, allocations: 37.69 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3581, allocations: 3.984 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3581, allocations: 4 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3583, allocations: 31.97 kB / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3583, allocations: 7.875 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.3585, allocations: 36.05 kB / 0.5688 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3585, allocations: 4 kB / 0.5688 GB, free: 11.93 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.0001447/0.3586, allocations: 137.8 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.3587, allocations: 19.91 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006758/0.3593, allocations: 218.9 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3593, allocations: 4 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3594, allocations: 3.938 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3594, allocations: 0 / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3596, allocations: 165.2 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3596, allocations: 0 / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3597, allocations: 23.97 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3597, allocations: 4 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3597, allocations: 0 / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3597, allocations: 0 / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3597, allocations: 0 / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.3607, allocations: 324.7 kB / 0.5697 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.3607, allocations: 23.83 kB / 0.5697 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.3608, allocations: 4 kB / 0.5697 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3609, allocations: 24.03 kB / 0.5698 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.361, allocations: 23.97 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.361, allocations: 7.938 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.3612, allocations: 169.8 kB / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.3615, allocations: 43.92 kB / 0.57 GB, free: 10.68 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001686/0.3632, allocations: 432.9 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.3639, allocations: 252.8 kB / 0.5706 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3639, allocations: 0 / 0.5706 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.3642, allocations: 71.94 kB / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3646, allocations: 53.8 kB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.3655, allocations: 335.9 kB / 0.5711 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.3657, allocations: 116.1 kB / 0.5712 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.3658, allocations: 25.47 kB / 0.5712 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.3658, allocations: 27.38 kB / 0.5712 GB, free: 9.516 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3658, allocations: 0 / 0.5712 GB, free: 9.516 MB / 414.1 MB Notification: Performance of Templates: time 0.007828/0.3737, allocations: 3.22 MB / 0.5744 GB, free: 6.344 MB / 414.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.445488092955202] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.3831561356782913 0.39882303900000005 0.045457222000000005 Calling exit ...