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.001539/0.001539, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001401/0.001401, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2288/0.2288, allocations: 46.97 MB / 361.6 MB, free: 3.992 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.001992/0.001992, allocations: 67.89 kB / 0.4974 GB, free: 7.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 66.03 MB / 0.5619 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004138/0.3686, allocations: 1.968 MB / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3707, allocations: 1.064 MB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3708, allocations: 3.938 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.3711, allocations: 55.58 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.3715, allocations: 111.4 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3717, allocations: 111.7 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.372, allocations: 207.4 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3721, allocations: 20.47 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3723, allocations: 91.56 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.3724, allocations: 79.61 kB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3725, allocations: 12 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3726, allocations: 51.98 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.3727, allocations: 39.84 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.3728, allocations: 59.59 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.3731, allocations: 206.8 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.3731, allocations: 4 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3731, allocations: 0 / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3731, allocations: 0 / 0.5658 GB, free: 12 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.00103/0.3741, allocations: 0.4887 MB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3742, allocations: 8.031 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.3742, allocations: 20.83 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.3746, allocations: 190.1 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3746, allocations: 8.375 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.3746, allocations: 12.11 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.3751, allocations: 184.8 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3751, allocations: 0 / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.3751, allocations: 8 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3751, allocations: 4 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.3756, allocations: 119.8 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.3763, allocations: 484.5 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/0.377, allocations: 162.5 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.3772, allocations: 64.8 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3773, allocations: 4 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004308/0.3777, allocations: 168.9 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3777, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009662/0.3787, allocations: 265.3 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3787, allocations: 55.41 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.379, allocations: 240 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.379, allocations: 33.7 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.3792, allocations: 124.4 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.3792, allocations: 47.61 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.3793, allocations: 37.7 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3795, allocations: 334.8 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.3798, allocations: 93.64 kB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.3801, allocations: 133.9 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.3806, allocations: 197.7 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3806, allocations: 0 / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007503/0.3814, allocations: 296.7 kB / 0.5695 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.3814, allocations: 29.7 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3814, allocations: 4 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3814, allocations: 0 / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3816, allocations: 35.91 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.3816, allocations: 7.938 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.3818, allocations: 32.05 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.3819, allocations: 8 kB / 0.5696 GB, free: 11.9 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.0001549/0.382, allocations: 137.8 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.382, allocations: 15.91 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.3827, allocations: 218.9 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3827, allocations: 8 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3827, allocations: 3.938 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3827, allocations: 0 / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3829, allocations: 161.2 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3829, allocations: 0 / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3831, allocations: 27.97 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3831, allocations: 0 / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3831, allocations: 0 / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.3831, allocations: 7.984 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3831, allocations: 0 / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.384, allocations: 320.7 kB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3841, allocations: 23.88 kB / 0.5705 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.3841, allocations: 8 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3843, allocations: 23.97 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.3844, allocations: 23.97 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3844, allocations: 11.92 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3845, allocations: 169.8 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3846, allocations: 0 / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3848, allocations: 43.94 kB / 0.5707 GB, free: 10.64 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.001615/0.3864, allocations: 428.7 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.3871, allocations: 252.8 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3871, allocations: 4 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3874, allocations: 67.94 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3877, allocations: 58.95 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.3884, allocations: 357.7 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3886, allocations: 112.1 kB / 0.572 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.3886, allocations: 27.42 kB / 0.572 GB, free: 9.48 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3886, allocations: 0 / 0.572 GB, free: 9.48 MB / 414.1 MB Notification: Performance of Templates: time 0.005374/0.394, allocations: 2.901 MB / 0.5748 GB, free: 6.59 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: 8.159534505015472] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.40296516101807356 0.42357601599999994 0.046431249 Calling exit ...