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.001387/0.001387, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001456/0.001456, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2623/0.2623, allocations: 46.93 MB / 360.8 MB, free: 4.242 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.00297/0.00297, allocations: 60.09 kB / 0.4967 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3941, allocations: 66.04 MB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004066/0.3981, allocations: 2.057 MB / 0.5632 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.4004, allocations: 1.135 MB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.4005, allocations: 3.938 kB / 0.5643 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.4008, allocations: 51.64 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.4012, allocations: 115.4 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.4015, allocations: 107.7 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.4018, allocations: 207.4 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4019, allocations: 20.48 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.4021, allocations: 95.55 kB / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.4023, allocations: 75.62 kB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.4023, allocations: 12 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4024, allocations: 55.97 kB / 0.565 GB, free: 396 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.4025, allocations: 35.84 kB / 0.565 GB, free: 360 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.4026, allocations: 79.48 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.403, allocations: 202.8 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.403, allocations: 0 / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.403, allocations: 0 / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.403, allocations: 0 / 0.5653 GB, free: 80 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.001072/0.404, allocations: 0.4928 MB / 0.5658 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4041, allocations: 8.031 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.4042, allocations: 24.84 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.4045, allocations: 186.1 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.4045, allocations: 8.375 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.4046, allocations: 12.12 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.405, allocations: 154.8 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.405, allocations: 0 / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.4051, allocations: 8 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4051, allocations: 0 / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.4055, allocations: 111.8 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.4063, allocations: 0.5233 MB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.407, allocations: 154.5 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.4072, allocations: 76.78 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4073, allocations: 0 / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.4077, allocations: 139.2 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 3.697e-06/0.4077, allocations: 3.984 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009398/0.4086, allocations: 253.6 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.4087, allocations: 59.33 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.409, allocations: 236.1 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.409, allocations: 37.64 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.4091, allocations: 128.4 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.4092, allocations: 39.73 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.4092, allocations: 33.7 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4094, allocations: 330.8 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.4097, allocations: 75.94 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.41, allocations: 100.2 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.4106, allocations: 189.8 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4106, allocations: 0 / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007026/0.4113, allocations: 267 kB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.4113, allocations: 33.7 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.4113, allocations: 0 / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4113, allocations: 4 kB / 0.5689 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.4115, allocations: 39.84 kB / 0.5689 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4115, allocations: 0 / 0.5689 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.4117, allocations: 39.98 kB / 0.5689 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4117, allocations: 4 kB / 0.5689 GB, free: 12.09 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.0001438/0.4119, allocations: 133.8 kB / 0.5691 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4119, allocations: 15.91 kB / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.4126, allocations: 218.8 kB / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4126, allocations: 3.938 kB / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4126, allocations: 0 / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4126, allocations: 0 / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.4128, allocations: 208.5 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4128, allocations: 0 / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.413, allocations: 23.98 kB / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.413, allocations: 0 / 0.5695 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.413, allocations: 7.984 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.413, allocations: 3.938 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.413, allocations: 4 kB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/0.4139, allocations: 304.7 kB / 0.5698 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.4139, allocations: 19.95 kB / 0.5698 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.414, allocations: 8 kB / 0.5699 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.4142, allocations: 23.91 kB / 0.5699 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.4142, allocations: 15.97 kB / 0.5699 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4143, allocations: 4 kB / 0.5699 GB, free: 11.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.4144, allocations: 173.8 kB / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4144, allocations: 0 / 0.5701 GB, free: 10.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.4147, allocations: 39.92 kB / 0.5701 GB, free: 10.82 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.001599/0.4163, allocations: 424.5 kB / 0.5705 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006536/0.417, allocations: 211.2 kB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.417, allocations: 0 / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.4172, allocations: 72.19 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.4176, allocations: 51.53 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.4183, allocations: 323.8 kB / 0.5711 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4187, allocations: 0.7281 MB / 0.5718 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.4188, allocations: 21.48 kB / 0.5719 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.4189, allocations: 23.42 kB / 0.5719 GB, free: 9.086 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4189, allocations: 0 / 0.5719 GB, free: 9.086 MB / 414.1 MB Notification: Performance of Templates: time 0.007441/0.4263, allocations: 2.927 MB / 0.5747 GB, free: 6.184 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.5900680117774755] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.4368886409793049 0.45044016499999995 0.044291014000000004 Calling exit ...