Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00179/0.00179, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001555/0.001555, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 67.91 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3918, allocations: 65.46 MB / 0.5583 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003982/0.3958, allocations: 2.062 MB / 0.5603 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.3978, allocations: 1.139 MB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3979, allocations: 3.938 kB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3982, allocations: 51.64 kB / 0.5615 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.3986, allocations: 111.5 kB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.3989, allocations: 107.6 kB / 0.5617 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.3992, allocations: 211.4 kB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3993, allocations: 28.42 kB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.3995, allocations: 91.61 kB / 0.562 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3997, allocations: 75.62 kB / 0.5621 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.3997, allocations: 12 kB / 0.5621 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3998, allocations: 55.97 kB / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.3999, allocations: 35.84 kB / 0.5622 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.4, allocations: 75.48 kB / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.4004, allocations: 202.8 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4004, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4004, allocations: 0 / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4004, allocations: 0 / 0.5624 GB, free: 3.422 MB / 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.4014, allocations: 0.4965 MB / 0.5629 GB, free: 2.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4014, allocations: 8.031 kB / 0.5629 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.4015, allocations: 24.83 kB / 0.563 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.4019, allocations: 186.1 kB / 0.5631 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4019, allocations: 12.36 kB / 0.5631 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.4019, allocations: 16.12 kB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.4023, allocations: 148.1 kB / 0.5633 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.4024, allocations: 0 / 0.5633 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.4024, allocations: 7.984 kB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4024, allocations: 3.938 kB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.4028, allocations: 118.5 kB / 0.5634 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.4035, allocations: 0.5155 MB / 0.5639 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.4042, allocations: 154.5 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.4044, allocations: 80.72 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.4045, allocations: 0 / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.4049, allocations: 131.3 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.4049, allocations: 0 / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008714/0.4057, allocations: 261.6 kB / 0.5645 GB, free: 1.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.4058, allocations: 59.28 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.4061, allocations: 236.1 kB / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.4061, allocations: 33.7 kB / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4062, allocations: 128.4 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.4062, allocations: 47.67 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.4063, allocations: 29.72 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4064, allocations: 330.8 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.4067, allocations: 71.94 kB / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.407, allocations: 106.5 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.4075, allocations: 189.8 kB / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4075, allocations: 0 / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006456/0.4081, allocations: 259 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.4082, allocations: 33.83 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4082, allocations: 4 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4082, allocations: 4 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.4084, allocations: 43.84 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4084, allocations: 0 / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4086, allocations: 31.92 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4086, allocations: 4 kB / 0.5661 GB, free: 15.44 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.0001321/0.4087, allocations: 133.8 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4088, allocations: 15.91 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.4094, allocations: 206.8 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4094, allocations: 7.938 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4094, allocations: 3.984 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4094, allocations: 0 / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.4096, allocations: 216.5 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4096, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.4098, allocations: 27.97 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4098, allocations: 0 / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4098, allocations: 11.98 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4098, allocations: 3.938 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4098, allocations: 3.938 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.4107, allocations: 308.2 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.4107, allocations: 15.89 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.4107, allocations: 4 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4109, allocations: 27.91 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.411, allocations: 20.03 kB / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.411, allocations: 4 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.4112, allocations: 169.8 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4112, allocations: 0 / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4114, allocations: 43.92 kB / 0.5672 GB, free: 14.16 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.001549/0.413, allocations: 401 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006395/0.4136, allocations: 219.1 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4136, allocations: 0 / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.4139, allocations: 71.88 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4142, allocations: 54.62 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.415, allocations: 353.4 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.4153, allocations: 0.7242 MB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.4154, allocations: 27.42 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4154, allocations: 4 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.005578/0.421, allocations: 2.854 MB / 0.5718 GB, free: 9.566 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.317815781803802] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.43035077792592347 0.44499868899999995 0.041433354000000006 Calling exit ...