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.001708/0.001708, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002595/0.002595, allocations: 210.8 kB / 24.48 MB, free: 3.934 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.553/1.553, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.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.2329/0.2329, allocations: 46.94 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 179] 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.002432/0.002432, allocations: 83.84 kB / 0.4974 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.361, allocations: 66.09 MB / 0.562 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004296/0.3653, allocations: 1.97 MB / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3676, allocations: 1.06 MB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.3678, allocations: 7.938 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.3682, allocations: 51.69 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005242/0.3687, allocations: 107.4 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3691, allocations: 119.6 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.3695, allocations: 199.4 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3696, allocations: 29.44 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.3698, allocations: 83.64 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3699, allocations: 71.61 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.37, allocations: 16 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3701, allocations: 55.92 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.3702, allocations: 39.84 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.3703, allocations: 63.64 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.3707, allocations: 197.8 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.3707, allocations: 4 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3707, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3707, allocations: 0 / 0.5659 GB, free: 15.88 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.001056/0.3718, allocations: 0.4965 MB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3718, allocations: 8.031 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.3719, allocations: 20.84 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3723, allocations: 186.1 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3723, allocations: 4.375 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.3723, allocations: 12.38 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.3728, allocations: 180.2 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3728, allocations: 4 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3728, allocations: 4 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3728, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.3733, allocations: 115.8 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.3739, allocations: 480.5 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.3747, allocations: 166.6 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.3749, allocations: 68.8 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.375, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.3754, allocations: 172.9 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3754, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.00091/0.3764, allocations: 253.4 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3764, allocations: 63.39 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.3767, allocations: 242.2 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3767, allocations: 33.62 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3768, allocations: 128.4 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.3769, allocations: 39.69 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.377, allocations: 37.7 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3771, allocations: 330.8 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3774, allocations: 105.6 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.3777, allocations: 129.9 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.3782, allocations: 193 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3782, allocations: 8 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007365/0.379, allocations: 288.7 kB / 0.5695 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.379, allocations: 37.7 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3791, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3791, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.3793, allocations: 40.09 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3793, allocations: 0 / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.3795, allocations: 31.92 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3795, allocations: 7.938 kB / 0.5697 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.0001532/0.3796, allocations: 141.7 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3797, allocations: 19.89 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.3803, allocations: 222.9 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3803, allocations: 0 / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3803, allocations: 3.938 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3803, allocations: 0 / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3805, allocations: 173.1 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3806, allocations: 0 / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3807, allocations: 23.97 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3807, allocations: 0 / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3807, allocations: 12 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3807, allocations: 0 / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3807, allocations: 0 / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.3816, allocations: 313.8 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.3817, allocations: 15.89 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3817, allocations: 16 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3819, allocations: 23.91 kB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.3819, allocations: 15.97 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.382, allocations: 8 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.3822, allocations: 176.5 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3822, allocations: 4 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.3824, allocations: 39.92 kB / 0.5708 GB, free: 10.52 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.001784/0.3842, allocations: 434 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007561/0.385, allocations: 244.9 kB / 0.5715 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.385, allocations: 4 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.3853, allocations: 72.12 kB / 0.5715 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3856, allocations: 52 kB / 0.5716 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.3866, allocations: 364.8 kB / 0.5719 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.3867, allocations: 112.1 kB / 0.572 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.3868, allocations: 27.42 kB / 0.5721 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3868, allocations: 0 / 0.5721 GB, free: 9.328 MB / 414.1 MB Notification: Performance of Templates: time 0.006835/0.3937, allocations: 2.908 MB / 0.5749 GB, free: 6.426 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.649538605939597] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.40369419706985354 0.420464481 0.046294724 Calling exit ...