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.001401/0.001401, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.00154/0.00154, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.525/1.525, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.2294/0.2294, allocations: 34.28 MB / 294.9 MB, free: 14.56 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 1.853e-06/1.853e-06, allocations: 0 / 442.7 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.441e-05, allocations: 6.219 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004556/0.00459, allocations: 1.992 MB / 444.7 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.00736, allocations: 1.067 MB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.007493, allocations: 0 / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.00787, allocations: 47.64 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.00835, allocations: 111.3 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.008807, allocations: 115.5 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000463/0.00927, allocations: 215.3 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.009435, allocations: 21.81 kB / 446.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.009727, allocations: 111.6 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.009923, allocations: 63.8 kB / 446.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.009974, allocations: 12 kB / 446.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.01019, allocations: 51.92 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01031, allocations: 39.83 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.01044, allocations: 51.83 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.01091, allocations: 203.3 kB / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.01092, allocations: 4 kB / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01092, allocations: 0 / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01093, allocations: 0 / 446.8 MB, free: 1.207 MB / 366.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.001281/0.01221, allocations: 0.4887 MB / 447.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01225, allocations: 8.031 kB / 447.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.01233, allocations: 20.8 kB / 447.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.01275, allocations: 189.3 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01278, allocations: 8.375 kB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.01282, allocations: 8.359 kB / 447.6 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.01343, allocations: 186.4 kB / 447.7 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01344, allocations: 7.875 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.01346, allocations: 0 / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01347, allocations: 4 kB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.01414, allocations: 111.8 kB / 447.9 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2184/0.2326, allocations: 477.2 kB / 448.3 MB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.2333, allocations: 160 kB / 448.5 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.2336, allocations: 76.45 kB / 448.6 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2336, allocations: 0 / 448.6 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.234, allocations: 166.2 kB / 448.7 MB, free: 19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.234, allocations: 1.312 kB / 448.7 MB, free: 19 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009288/0.2349, allocations: 262.1 kB / 449 MB, free: 18.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.235, allocations: 54.77 kB / 449 MB, free: 18.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.2352, allocations: 240 kB / 449.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2352, allocations: 32.19 kB / 449.3 MB, free: 18.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.2353, allocations: 127.6 kB / 449.4 MB, free: 18.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2353, allocations: 39.44 kB / 449.5 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.2354, allocations: 37.8 kB / 449.5 MB, free: 18.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.2354, allocations: 330.8 kB / 449.8 MB, free: 18.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.2357, allocations: 95.05 kB / 449.9 MB, free: 18.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.236, allocations: 141 kB / 450 MB, free: 18.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.2365, allocations: 190.2 kB / 450.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2365, allocations: 5.344 kB / 450.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006813/0.2372, allocations: 293.1 kB / 450.5 MB, free: 17.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.2373, allocations: 33.14 kB / 450.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2373, allocations: 2.312 kB / 450.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2373, allocations: 6.531 kB / 450.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2375, allocations: 40.81 kB / 450.6 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2375, allocations: 2.188 kB / 450.6 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2377, allocations: 32.2 kB / 450.6 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.2377, allocations: 8.781 kB / 450.6 MB, free: 17.84 MB / 366.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 9.802e-05/0.2378, allocations: 137.3 kB / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.2378, allocations: 17.73 kB / 450.8 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.2385, allocations: 222.2 kB / 451 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2385, allocations: 1.875 kB / 451 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2385, allocations: 0 / 451 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.2385, allocations: 4.641 kB / 451 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2387, allocations: 169.2 kB / 451.2 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2387, allocations: 3.938 kB / 451.2 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.2388, allocations: 26.89 kB / 451.2 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2388, allocations: 0 / 451.2 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2389, allocations: 10.97 kB / 451.2 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2389, allocations: 0.5156 kB / 451.2 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2389, allocations: 1.312 kB / 451.2 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.2398, allocations: 323 kB / 451.5 MB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.2398, allocations: 20.62 kB / 451.6 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.2398, allocations: 2.906 kB / 451.6 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.24, allocations: 23.7 kB / 451.6 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.2401, allocations: 17.95 kB / 451.6 MB, free: 17.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.2401, allocations: 5.469 kB / 451.6 MB, free: 17.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.2403, allocations: 178.3 kB / 451.8 MB, free: 17.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2403, allocations: 0 / 451.8 MB, free: 17.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.2405, allocations: 37.84 kB / 451.8 MB, free: 17.2 MB / 366.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.001568/0.2421, allocations: 446.8 kB / 452.3 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.2428, allocations: 250.2 kB / 452.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2428, allocations: 0 / 452.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.243, allocations: 72.31 kB / 452.6 MB, free: 16.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.2434, allocations: 56.75 kB / 452.6 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.244, allocations: 311.8 kB / 452.9 MB, free: 16.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.2441, allocations: 121.5 kB / 453.1 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.2442, allocations: 25.84 kB / 453.1 MB, free: 16.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.2442, allocations: 25 kB / 453.1 MB, free: 16.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2442, allocations: 0 / 453.1 MB, free: 16.57 MB / 366.1 MB Notification: Performance of Templates: time 0.007368/0.2516, allocations: 3.068 MB / 456.2 MB, free: 16.21 MB / 366.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.059495769441128] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.26093217730522156 0.27838317700000004 0.263686452 Calling exit ...