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.001786/0.001786, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002281/0.002281, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2375/0.2375, allocations: 46.96 MB / 361.6 MB, free: 4.082 MB / 286.1 MB " [Timeout remaining time 180] 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.002041/0.002041, allocations: 63.89 kB / 0.4974 GB, free: 7.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 66.03 MB / 0.5619 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003555/0.356, allocations: 1.979 MB / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3579, allocations: 1.057 MB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.358, allocations: 7.938 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.3582, allocations: 51.64 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.3586, allocations: 115.4 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3588, allocations: 107.7 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.3591, allocations: 203.4 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3592, allocations: 29.45 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3594, allocations: 87.56 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3595, allocations: 79.62 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3595, allocations: 12 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3596, allocations: 59.97 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.3597, allocations: 39.84 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.3598, allocations: 55.61 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.3601, allocations: 202 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3601, allocations: 0 / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3601, allocations: 0 / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3601, allocations: 0 / 0.5658 GB, free: 20 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.0009656/0.3611, allocations: 0.4926 MB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3611, allocations: 16.03 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.3612, allocations: 20.78 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.3615, allocations: 186.1 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3616, allocations: 8.375 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3616, allocations: 12.12 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.362, allocations: 177.8 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3621, allocations: 0 / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3621, allocations: 8 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3621, allocations: 4 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.3625, allocations: 111.9 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.3631, allocations: 480.5 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.3638, allocations: 166.5 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.3641, allocations: 68.8 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3641, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.3645, allocations: 168.9 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.3645, allocations: 0 / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008921/0.3654, allocations: 261.3 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3654, allocations: 51.41 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.3657, allocations: 248 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.3657, allocations: 33.64 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3658, allocations: 132.4 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.3658, allocations: 35.69 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.3659, allocations: 37.7 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3661, allocations: 330.8 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.3663, allocations: 97.64 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.3666, allocations: 140.6 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.3671, allocations: 193.2 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3671, allocations: 0 / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006899/0.3678, allocations: 292.7 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.3679, allocations: 33.7 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3679, allocations: 0 / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3679, allocations: 7.984 kB / 0.5695 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.3681, allocations: 44.03 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3681, allocations: 3.938 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3683, allocations: 31.92 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.3683, allocations: 4 kB / 0.5696 GB, free: 11.91 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.0001331/0.3684, allocations: 137.8 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.3684, allocations: 23.89 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/0.3691, allocations: 222.9 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3691, allocations: 0 / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3691, allocations: 3.938 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3691, allocations: 7.922 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3693, allocations: 165.2 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3693, allocations: 0 / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3694, allocations: 19.98 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.3694, allocations: 7.984 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3695, allocations: 0 / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3695, allocations: 4 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3695, allocations: 0 / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.3703, allocations: 312.7 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.3704, allocations: 23.89 kB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.3704, allocations: 11.98 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3706, allocations: 23.97 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.3706, allocations: 19.97 kB / 0.5705 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3707, allocations: 7.938 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3708, allocations: 169.8 kB / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3708, allocations: 0 / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3711, allocations: 39.94 kB / 0.5707 GB, free: 10.66 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.001559/0.3727, allocations: 436.5 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.3733, allocations: 256.7 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3733, allocations: 0 / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.3736, allocations: 75.92 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3739, allocations: 50.83 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.3746, allocations: 323.8 kB / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3747, allocations: 116.1 kB / 0.5719 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.275e-05/0.3748, allocations: 25.47 kB / 0.572 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.3748, allocations: 23.44 kB / 0.572 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3748, allocations: 3.938 kB / 0.572 GB, free: 9.5 MB / 414.1 MB Notification: Performance of Templates: time 0.007474/0.3823, allocations: 3.215 MB / 0.5751 GB, free: 6.328 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 -s cvode -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.050380639004288] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.39113729100790806 0.40449772999999994 0.04149332 Calling exit ...