Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 90.23 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 158.1 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.026e-05, allocations: 6.281 kB / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00361/0.00364, allocations: 1.996 MB / 444.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.00577, allocations: 1.051 MB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.005905, allocations: 7.938 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.006273, allocations: 43.69 kB / 445.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.006709, allocations: 115.3 kB / 446 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.007041, allocations: 119.5 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.007388, allocations: 219.2 kB / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.007523, allocations: 17.8 kB / 446.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.00773, allocations: 103.7 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.00787, allocations: 63.8 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.007907, allocations: 12 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.008037, allocations: 55.86 kB / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.008128, allocations: 43.83 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.008222, allocations: 51.83 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.008632, allocations: 203.3 kB / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.008636, allocations: 0 / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008637, allocations: 0 / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.008644, allocations: 4 kB / 446.8 MB, free: 1.094 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.001114/0.009757, allocations: 496.4 kB / 447.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.009798, allocations: 15.97 kB / 447.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.009871, allocations: 20.8 kB / 447.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.01028, allocations: 189.4 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.0103, allocations: 384 / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.01033, allocations: 12.38 kB / 447.5 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.01083, allocations: 182.3 kB / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01084, allocations: 192 / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.01086, allocations: 384 / 447.7 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.01087, allocations: 7.938 kB / 447.7 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2099/0.2208, allocations: 110.2 kB / 447.8 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.2215, allocations: 482.1 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.2223, allocations: 157.1 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.2225, allocations: 73.77 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2225, allocations: 1.812 kB / 448.5 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/0.2229, allocations: 170.3 kB / 448.7 MB, free: 18.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/0.223, allocations: 0 / 448.7 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009287/0.2239, allocations: 261.3 kB / 449 MB, free: 18.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2239, allocations: 54.47 kB / 449 MB, free: 18.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.2241, allocations: 236.8 kB / 449.2 MB, free: 18.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2241, allocations: 30.27 kB / 449.3 MB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.2242, allocations: 133.3 kB / 449.4 MB, free: 18.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.2242, allocations: 40.23 kB / 449.4 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.2243, allocations: 33.62 kB / 449.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.2244, allocations: 334.9 kB / 449.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2247, allocations: 99.11 kB / 449.9 MB, free: 18.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.2249, allocations: 139.7 kB / 450 MB, free: 18.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.2255, allocations: 189.1 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2255, allocations: 1.031 kB / 450.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006694/0.2261, allocations: 290.6 kB / 450.5 MB, free: 17.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.2262, allocations: 33.84 kB / 450.5 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2262, allocations: 1.156 kB / 450.5 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2262, allocations: 5.688 kB / 450.5 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.2264, allocations: 37 kB / 450.6 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2264, allocations: 2 kB / 450.6 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2266, allocations: 29 kB / 450.6 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2266, allocations: 10.09 kB / 450.6 MB, free: 17.76 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.491e-05/0.2267, allocations: 141.2 kB / 450.8 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.2267, allocations: 21.75 kB / 450.8 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.2274, allocations: 219.1 kB / 451 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2274, allocations: 13.44 kB / 451 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2274, allocations: 1.031 kB / 451 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2274, allocations: 0.9375 kB / 451 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.2275, allocations: 171.3 kB / 451.2 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2275, allocations: 1.188 kB / 451.2 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.2277, allocations: 23.77 kB / 451.2 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2277, allocations: 1.844 kB / 451.2 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2277, allocations: 2.391 kB / 451.2 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2277, allocations: 0.5156 kB / 451.2 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2277, allocations: 5.562 kB / 451.2 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/0.2286, allocations: 317.6 kB / 451.5 MB, free: 17.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.2286, allocations: 20.11 kB / 451.5 MB, free: 17.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2287, allocations: 5.812 kB / 451.5 MB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2289, allocations: 28.36 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.2289, allocations: 17.33 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.229, allocations: 6.516 kB / 451.6 MB, free: 17.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.2291, allocations: 173.2 kB / 451.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2291, allocations: 3.828 kB / 451.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2294, allocations: 42.02 kB / 451.8 MB, free: 17.12 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.001543/0.2309, allocations: 421 kB / 452.2 MB, free: 16.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006619/0.2316, allocations: 250.2 kB / 452.5 MB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2316, allocations: 0 / 452.5 MB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.2319, allocations: 76.81 kB / 452.5 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.2322, allocations: 65.09 kB / 452.6 MB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.2329, allocations: 319.4 kB / 452.9 MB, free: 16.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.233, allocations: 118.2 kB / 453 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.984e-05/0.2331, allocations: 21.8 kB / 453.1 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.2332, allocations: 25.16 kB / 453.1 MB, free: 16.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2332, allocations: 0 / 453.1 MB, free: 16.46 MB / 366.1 MB Notification: Performance of Templates: time 0.008079/0.2413, allocations: 3.073 MB / 456.1 MB, free: 16.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.88263039290905] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.2501414343714714 0.26227444399999994 0.25094331999999997 Calling exit ...