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.0008453/0.0008453, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003395/0.003395, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8497/0.8497, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2582/0.2582, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 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.473e-06/1.473e-06, allocations: 0 / 443.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.933e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.2128/0.2129, allocations: 1.974 MB / 445.5 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2139, allocations: 1.06 MB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.214, allocations: 5.656 kB / 446.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.2143, allocations: 49.58 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.2146, allocations: 114.6 kB / 446.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.2147, allocations: 110 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.2149, allocations: 215.4 kB / 447 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.215, allocations: 32.86 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2152, allocations: 100.8 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/0.2153, allocations: 66.72 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2153, allocations: 11.56 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.2154, allocations: 50.34 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.2154, allocations: 38.91 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.2155, allocations: 50.52 kB / 447.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.2157, allocations: 209.2 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2157, allocations: 0.8438 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2157, allocations: 0 / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2157, allocations: 0.5 kB / 447.6 MB, free: 42.55 MB / 410.7 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.0006172/0.2163, allocations: 0.4891 MB / 448.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2164, allocations: 8.531 kB / 448.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.2164, allocations: 21.55 kB / 448.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2167, allocations: 188.1 kB / 448.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.2167, allocations: 8.094 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.2167, allocations: 14.28 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2169, allocations: 176 kB / 448.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2169, allocations: 192 / 448.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.217, allocations: 7.156 kB / 448.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.217, allocations: 6.844 kB / 448.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.2172, allocations: 114.4 kB / 448.6 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.2175, allocations: 477.7 kB / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.2179, allocations: 168.2 kB / 449.2 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.218, allocations: 71.39 kB / 449.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.218, allocations: 3.938 kB / 449.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.2183, allocations: 166.5 kB / 449.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.2183, allocations: 2.906 kB / 449.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004586/0.2187, allocations: 265.5 kB / 449.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2187, allocations: 54.31 kB / 449.8 MB, free: 41.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2189, allocations: 244.4 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2189, allocations: 25.7 kB / 450 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.219, allocations: 127.5 kB / 450.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.219, allocations: 40.77 kB / 450.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.219, allocations: 39.38 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.2191, allocations: 338.3 kB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2192, allocations: 93.62 kB / 450.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2193, allocations: 134.6 kB / 450.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.2195, allocations: 201.8 kB / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2195, allocations: 0 / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003142/0.2199, allocations: 283.4 kB / 451.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2199, allocations: 38.05 kB / 451.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2199, allocations: 2.844 kB / 451.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2199, allocations: 0 / 451.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.22, allocations: 39.64 kB / 451.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.22, allocations: 2.75 kB / 451.4 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.2201, allocations: 32.27 kB / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2201, allocations: 9.406 kB / 451.4 MB, free: 39.93 MB / 410.7 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 6.813e-05/0.2202, allocations: 133.4 kB / 451.5 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.2202, allocations: 20.42 kB / 451.5 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.2205, allocations: 225.4 kB / 451.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2205, allocations: 0 / 451.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2205, allocations: 2.938 kB / 451.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2205, allocations: 7.188 kB / 451.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.34e-05/0.2206, allocations: 162.5 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2206, allocations: 6.844 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.2207, allocations: 30.92 kB / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2207, allocations: 2.375 kB / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.2207, allocations: 0 / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2207, allocations: 2.875 kB / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2207, allocations: 0 / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.2211, allocations: 327.9 kB / 452.3 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.2211, allocations: 22.12 kB / 452.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2211, allocations: 6.938 kB / 452.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.2212, allocations: 17.95 kB / 452.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.2212, allocations: 19.88 kB / 452.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2213, allocations: 9.844 kB / 452.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.1e-05/0.2213, allocations: 175.6 kB / 452.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2213, allocations: 0 / 452.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.2215, allocations: 38.28 kB / 452.6 MB, free: 39.27 MB / 410.7 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.0006823/0.2222, allocations: 439.6 kB / 453 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.2225, allocations: 244 kB / 453.2 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2225, allocations: 0 / 453.2 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.2226, allocations: 73.52 kB / 453.3 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2229, allocations: 43.09 kB / 453.4 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.2233, allocations: 341.4 kB / 453.7 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.2233, allocations: 124.1 kB / 453.8 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.2234, allocations: 23.69 kB / 453.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2234, allocations: 3.938 kB / 453.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of Templates: time 0.003059/0.2264, allocations: 2.931 MB / 456.8 MB, free: 38.33 MB / 410.7 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: 5.348845197819173] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.23166618403047323 0.23851577299999996 0.021275758000000002 Calling exit ...