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.001405/0.001405, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001701/0.001701, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2473/0.2473, allocations: 46.93 MB / 361.6 MB, free: 4.375 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.00197/0.00197, allocations: 63.91 kB / 0.4974 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 66.03 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003638/0.3689, allocations: 2.061 MB / 0.5639 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3709, allocations: 1.134 MB / 0.565 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.371, allocations: 11.94 kB / 0.5651 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.3713, allocations: 43.7 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3716, allocations: 119.4 kB / 0.5652 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3719, allocations: 111.6 kB / 0.5653 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3722, allocations: 203.4 kB / 0.5655 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3723, allocations: 24.42 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.3725, allocations: 91.67 kB / 0.5656 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3727, allocations: 79.56 kB / 0.5657 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.3727, allocations: 16 kB / 0.5657 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.3729, allocations: 55.97 kB / 0.5658 GB, free: 448 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.373, allocations: 35.84 kB / 0.5658 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.3731, allocations: 71.55 kB / 0.5659 GB, free: 340 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.3735, allocations: 202.8 kB / 0.5661 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3735, allocations: 0 / 0.5661 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3735, allocations: 0 / 0.5661 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3735, allocations: 4 kB / 0.5661 GB, free: 136 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.0009685/0.3744, allocations: 0.4962 MB / 0.5666 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3745, allocations: 8.031 kB / 0.5666 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.3746, allocations: 20.84 kB / 0.5666 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3749, allocations: 190.1 kB / 0.5668 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.375, allocations: 4.375 kB / 0.5668 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.375, allocations: 15.38 kB / 0.5668 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.3754, allocations: 148.2 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3754, allocations: 0 / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3755, allocations: 0 / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3755, allocations: 4 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.3759, allocations: 119.8 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/0.3766, allocations: 0.5155 MB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.3773, allocations: 158.6 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3775, allocations: 68.73 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3775, allocations: 4 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.3779, allocations: 139.2 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.963e-06/0.3779, allocations: 0 / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.001058/0.379, allocations: 257.4 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.379, allocations: 67.27 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.3793, allocations: 232.1 kB / 0.5684 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3793, allocations: 37.62 kB / 0.5685 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3794, allocations: 128.4 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.3795, allocations: 39.67 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.3795, allocations: 37.7 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3797, allocations: 330.8 kB / 0.569 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.38, allocations: 67.94 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.3802, allocations: 104.2 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.3807, allocations: 189.8 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3807, allocations: 0 / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006454/0.3814, allocations: 263 kB / 0.5696 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.3814, allocations: 33.64 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3814, allocations: 4 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3814, allocations: 0 / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3816, allocations: 44.09 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3816, allocations: 0 / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.3818, allocations: 23.92 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3818, allocations: 15.94 kB / 0.5697 GB, free: 12.16 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.0001502/0.3819, allocations: 137.8 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.382, allocations: 23.8 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.3826, allocations: 218.8 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3826, allocations: 4 kB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3826, allocations: 0 / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3826, allocations: 0 / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.3828, allocations: 208.6 kB / 0.5703 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3828, allocations: 0 / 0.5703 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.383, allocations: 19.98 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.383, allocations: 7.938 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.383, allocations: 3.984 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.383, allocations: 4 kB / 0.5703 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.383, allocations: 0 / 0.5703 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.3838, allocations: 312.7 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.3839, allocations: 11.94 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3839, allocations: 7.938 kB / 0.5706 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3841, allocations: 23.97 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.3841, allocations: 15.97 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3841, allocations: 4 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.3843, allocations: 173.9 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3843, allocations: 0 / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.3846, allocations: 43.88 kB / 0.5709 GB, free: 10.88 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 (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.3861, allocations: 413.8 kB / 0.5712 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006219/0.3867, allocations: 215.3 kB / 0.5715 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3867, allocations: 0 / 0.5715 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.3869, allocations: 75.86 kB / 0.5715 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3873, allocations: 53.27 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.388, allocations: 349.6 kB / 0.5719 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3884, allocations: 0.7242 MB / 0.5726 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.3884, allocations: 27.42 kB / 0.5726 GB, free: 9.137 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3884, allocations: 0 / 0.5726 GB, free: 9.137 MB / 414.1 MB Notification: Performance of Templates: time 0.005191/0.3936, allocations: 2.85 MB / 0.5754 GB, free: 6.289 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.419518580893055] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.4025234249420464 0.41634143799999995 0.039826831 Calling exit ...