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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2498/0.2498, allocations: 44.91 MB / 353.5 MB, free: 11.81 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 71.86 kB / 497.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3949, allocations: 64.29 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004311/0.3992, allocations: 2.04 MB / 0.5509 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.4012, allocations: 0.9938 MB / 0.5518 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.4013, allocations: 6.125 kB / 0.5518 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.4017, allocations: 49.47 kB / 0.5519 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.402, allocations: 64.11 kB / 0.552 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.4024, allocations: 151.5 kB / 0.5521 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.4028, allocations: 198.4 kB / 0.5523 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4029, allocations: 25.14 kB / 0.5523 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.4031, allocations: 90.38 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.4032, allocations: 73.88 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.4033, allocations: 15.28 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.4034, allocations: 55.41 kB / 0.5525 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.4035, allocations: 36.34 kB / 0.5526 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.4036, allocations: 71.27 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.4041, allocations: 194.3 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4041, allocations: 3.938 kB / 0.5528 GB, free: 10.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4041, allocations: 0 / 0.5528 GB, free: 10.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4041, allocations: 1.062 kB / 0.5528 GB, free: 10.06 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.001039/0.4051, allocations: 0.4888 MB / 0.5533 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4051, allocations: 11.39 kB / 0.5533 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.4052, allocations: 17.03 kB / 0.5533 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.4056, allocations: 193.5 kB / 0.5535 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4056, allocations: 7.875 kB / 0.5535 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.4057, allocations: 9.875 kB / 0.5535 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.4061, allocations: 154.6 kB / 0.5537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4061, allocations: 1.438 kB / 0.5537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4062, allocations: 5.156 kB / 0.5537 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4062, allocations: 1.219 kB / 0.5537 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.4066, allocations: 116.2 kB / 0.5538 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.4074, allocations: 0.5134 MB / 0.5543 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.4082, allocations: 156 kB / 0.5544 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.4084, allocations: 70.81 kB / 0.5545 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.4085, allocations: 2.312 kB / 0.5545 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.4089, allocations: 140.8 kB / 0.5547 GB, free: 8.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.4089, allocations: 1.125 kB / 0.5547 GB, free: 8.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009616/0.4098, allocations: 257 kB / 0.5549 GB, free: 8.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4099, allocations: 56.62 kB / 0.555 GB, free: 8.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.4101, allocations: 230.3 kB / 0.5552 GB, free: 8.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.4101, allocations: 28.2 kB / 0.5552 GB, free: 8.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4102, allocations: 129 kB / 0.5553 GB, free: 7.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.4103, allocations: 40.53 kB / 0.5554 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.4104, allocations: 34.27 kB / 0.5554 GB, free: 7.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4105, allocations: 331.7 kB / 0.5557 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.4108, allocations: 67.59 kB / 0.5558 GB, free: 7.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.4111, allocations: 101.9 kB / 0.5559 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.4117, allocations: 200.3 kB / 0.5561 GB, free: 7.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4117, allocations: 0 / 0.5561 GB, free: 7.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007127/0.4124, allocations: 257.6 kB / 0.5563 GB, free: 7.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.4124, allocations: 36.2 kB / 0.5563 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4124, allocations: 1.312 kB / 0.5563 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4124, allocations: 2.188 kB / 0.5563 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.4126, allocations: 44.84 kB / 0.5564 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4127, allocations: 2.25 kB / 0.5564 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.4129, allocations: 36.97 kB / 0.5564 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4129, allocations: 5.062 kB / 0.5564 GB, free: 7.082 MB / 398.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.0001377/0.413, allocations: 133.2 kB / 0.5566 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.4131, allocations: 16.47 kB / 0.5566 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008712/0.4139, allocations: 207.3 kB / 0.5568 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4139, allocations: 6.188 kB / 0.5568 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4139, allocations: 0 / 0.5568 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4139, allocations: 1.125 kB / 0.5568 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.4142, allocations: 207.3 kB / 0.557 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4142, allocations: 7.938 kB / 0.557 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.4143, allocations: 24.03 kB / 0.557 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4143, allocations: 5.219 kB / 0.557 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4144, allocations: 1.094 kB / 0.557 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4144, allocations: 5.156 kB / 0.557 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4144, allocations: 0 / 0.557 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009116/0.4153, allocations: 306.4 kB / 0.5573 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.4153, allocations: 21.33 kB / 0.5573 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.4154, allocations: 7.984 kB / 0.5573 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4155, allocations: 23.91 kB / 0.5574 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.4156, allocations: 15.98 kB / 0.5574 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.4156, allocations: 7.984 kB / 0.5574 GB, free: 6.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.4158, allocations: 168.7 kB / 0.5575 GB, free: 6.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4158, allocations: 0 / 0.5575 GB, free: 6.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.4161, allocations: 39.92 kB / 0.5576 GB, free: 6.117 MB / 398.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.001457/0.4175, allocations: 421 kB / 0.558 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.4182, allocations: 219.3 kB / 0.5582 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4182, allocations: 0 / 0.5582 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.4185, allocations: 71.88 kB / 0.5583 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.4188, allocations: 43.41 kB / 0.5583 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.4196, allocations: 320.5 kB / 0.5586 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.42, allocations: 0.7319 MB / 0.5593 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.725e-05/0.4201, allocations: 25.47 kB / 0.5593 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.4202, allocations: 15.44 kB / 0.5594 GB, free: 4.387 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4202, allocations: 0 / 0.5594 GB, free: 4.387 MB / 398.1 MB Notification: Performance of Templates: time 0.007347/0.4275, allocations: 2.9 MB / 0.5622 GB, free: 1.508 MB / 398.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: 5.693453034386039] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.4378632577136159 0.45158769499999996 0.044186911 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f01576457b0>