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.001011/0.001011, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001057/0.001057, allocations: 161.1 kB / 24.99 MB, free: 8.219 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.9253/0.9253, allocations: 177 MB / 205.2 MB, free: 5.566 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.2638/0.2638, allocations: 34.86 MB / 296.6 MB, free: 492 kB / 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.723e-06/1.723e-06, allocations: 0 / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.367e-05, allocations: 3.578 kB / 378.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002442/0.002466, allocations: 2.04 MB / 380.9 MB, free: 252 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.003827, allocations: 1.089 MB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.003947, allocations: 7.938 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.004261, allocations: 47.62 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.004577, allocations: 115.3 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.004928, allocations: 115.5 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.005161, allocations: 207.3 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.005277, allocations: 33.72 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.005415, allocations: 99.73 kB / 382.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005524, allocations: 63.78 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.00555, allocations: 16 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.005644, allocations: 55.91 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.005709, allocations: 39.84 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.005773, allocations: 47.84 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.006011, allocations: 167.3 kB / 383 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006013, allocations: 0 / 383 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006013, allocations: 0 / 383 MB, free: 14.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.006018, allocations: 0 / 383 MB, free: 14.16 MB / 362.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.0006318/0.006649, allocations: 0.5808 MB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.006684, allocations: 8.031 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.006747, allocations: 28.8 kB / 383.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006961, allocations: 188.2 kB / 383.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.00698, allocations: 8.375 kB / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.007005, allocations: 8.375 kB / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.007242, allocations: 171.6 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007252, allocations: 8.172 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.007267, allocations: 4.375 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.007277, allocations: 7.938 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.007357, allocations: 35.86 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.007879, allocations: 0.6107 MB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.008118, allocations: 87.09 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.008173, allocations: 31.67 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.008188, allocations: 0 / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.008369, allocations: 138.5 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.008371, allocations: 0 / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002851/0.008656, allocations: 137.5 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.008692, allocations: 59.41 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.008873, allocations: 270.7 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.00889, allocations: 25.7 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.00898, allocations: 179 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.009007, allocations: 35.88 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.009059, allocations: 43.33 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.009175, allocations: 0.5039 MB / 386.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.009239, allocations: 49.69 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.009326, allocations: 112 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.009446, allocations: 127.3 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009448, allocations: 0 / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000205/0.009653, allocations: 200.8 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.009681, allocations: 36.83 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009685, allocations: 0 / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.0097, allocations: 4 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.009803, allocations: 28.11 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.00981, allocations: 7.984 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.009888, allocations: 27.88 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.0099, allocations: 8 kB / 386.7 MB, free: 10.09 MB / 362.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 9.904e-05/0.009999, allocations: 173 kB / 386.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.01003, allocations: 23.86 kB / 386.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.01022, allocations: 135.1 kB / 387 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01023, allocations: 0 / 387 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01023, allocations: 4 kB / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01023, allocations: 0 / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.01037, allocations: 188.4 kB / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01037, allocations: 0 / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.01044, allocations: 15.98 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01044, allocations: 7.938 kB / 387.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01045, allocations: 4 kB / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01045, allocations: 0 / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01045, allocations: 0 / 387.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.01072, allocations: 199.3 kB / 387.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.01074, allocations: 23.84 kB / 387.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01076, allocations: 4 kB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/0.01082, allocations: 28 kB / 387.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.01087, allocations: 19.91 kB / 387.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.01089, allocations: 4 kB / 387.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.01099, allocations: 189.8 kB / 387.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 387.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.01117, allocations: 39.94 kB / 387.7 MB, free: 8.988 MB / 362.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.0008005/0.01197, allocations: 376.4 kB / 388.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.01218, allocations: 168.7 kB / 388.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01219, allocations: 0 / 388.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.01226, allocations: 51.59 kB / 388.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01249, allocations: 56.77 kB / 388.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.01294, allocations: 302.6 kB / 388.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.01299, allocations: 79.98 kB / 388.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.01305, allocations: 25.45 kB / 388.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.01309, allocations: 16.5 kB / 388.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01309, allocations: 4 kB / 388.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of Templates: time 0.00476/0.01785, allocations: 3.107 MB / 391.9 MB, free: 4.91 MB / 362.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.058303540106863]