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.001849/0.001849, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002426/0.002426, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2616/0.2616, allocations: 46.94 MB / 360.9 MB, free: 4.051 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.002389/0.002389, allocations: 67.91 kB / 0.4967 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3999, allocations: 66.02 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00394/0.4039, allocations: 1.984 MB / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.4061, allocations: 1.061 MB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.4062, allocations: 0 / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.4066, allocations: 47.66 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.407, allocations: 119.4 kB / 0.5643 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.4073, allocations: 107.6 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.4076, allocations: 207.4 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4078, allocations: 25.39 kB / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.408, allocations: 91.62 kB / 0.5647 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.4081, allocations: 67.67 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.4082, allocations: 12 kB / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.4083, allocations: 51.98 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.4084, allocations: 51.77 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.4086, allocations: 51.67 kB / 0.5649 GB, free: 292 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.409, allocations: 197.9 kB / 0.5651 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.409, allocations: 4 kB / 0.5651 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.409, allocations: 0 / 0.5651 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.026e-06/0.409, allocations: 0 / 0.5651 GB, free: 92 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.001309/0.4103, allocations: 0.5005 MB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.4104, allocations: 12.02 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.4105, allocations: 20.84 kB / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.4109, allocations: 182.2 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.4109, allocations: 12.36 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.411, allocations: 12.12 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.4115, allocations: 180.5 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4115, allocations: 0 / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.4115, allocations: 8 kB / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.4115, allocations: 0 / 0.566 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.412, allocations: 115.8 kB / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.4135, allocations: 484.6 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4145, allocations: 158.5 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.4148, allocations: 68.8 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4148, allocations: 4 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/0.4153, allocations: 172.9 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.4153, allocations: 3.938 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009014/0.4162, allocations: 261.3 kB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4162, allocations: 55.41 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.4165, allocations: 244 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4165, allocations: 29.7 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4166, allocations: 124.4 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.4167, allocations: 39.69 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.4168, allocations: 37.7 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.417, allocations: 330.8 kB / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.4173, allocations: 101.6 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.4176, allocations: 137.9 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.4181, allocations: 193.5 kB / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.4182, allocations: 4 kB / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009937/0.4191, allocations: 288.8 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.4192, allocations: 33.83 kB / 0.5687 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4192, allocations: 4 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4192, allocations: 3.938 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.4195, allocations: 39.91 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4195, allocations: 7.922 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.4197, allocations: 27.94 kB / 0.5688 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4197, allocations: 7.984 kB / 0.5688 GB, free: 11.97 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.0001617/0.4198, allocations: 133.8 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.4199, allocations: 19.91 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.4206, allocations: 222.9 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4206, allocations: 0 / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4206, allocations: 3.938 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4206, allocations: 0 / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.4208, allocations: 169.2 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4208, allocations: 0 / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.421, allocations: 31.91 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.421, allocations: 0 / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.421, allocations: 7.984 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.421, allocations: 4 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.421, allocations: 0 / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.422, allocations: 312.8 kB / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.4221, allocations: 19.89 kB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.4221, allocations: 4 kB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.4223, allocations: 23.97 kB / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4224, allocations: 11.97 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.4224, allocations: 15.92 kB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.4226, allocations: 169.8 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4226, allocations: 4 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4229, allocations: 43.94 kB / 0.57 GB, free: 10.72 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.00173/0.4246, allocations: 433.2 kB / 0.5704 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007118/0.4253, allocations: 252.8 kB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4253, allocations: 256 / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.4256, allocations: 79.88 kB / 0.5707 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.426, allocations: 64.59 kB / 0.5708 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.4268, allocations: 319.8 kB / 0.5711 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.427, allocations: 116.1 kB / 0.5712 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.643e-05/0.4271, allocations: 21.47 kB / 0.5712 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.4271, allocations: 27.42 kB / 0.5712 GB, free: 9.559 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4271, allocations: 0 / 0.5712 GB, free: 9.559 MB / 414.1 MB Notification: Performance of Templates: time 0.008027/0.4352, allocations: 3.183 MB / 0.5743 GB, free: 6.43 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.456863751634955] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.44565873593091965 0.460424502 0.04806304 Calling exit ...