Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001843/0.001843, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002171/0.002171, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3669/0.3669, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.139e-05, allocations: 6.25 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00366/0.003691, allocations: 1.985 MB / 377.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005754, allocations: 1.052 MB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.005847, allocations: 0 / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.006158, allocations: 59.56 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.00653, allocations: 115.3 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.006812, allocations: 111.5 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.007126, allocations: 211.3 kB / 378.9 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.007239, allocations: 21.8 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.007443, allocations: 107.7 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.007573, allocations: 63.8 kB / 379.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.007608, allocations: 12 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.007731, allocations: 59.91 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.00781, allocations: 35.84 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.167e-05/0.007902, allocations: 47.83 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.008274, allocations: 207.2 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008277, allocations: 0 / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008279, allocations: 0 / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.008283, allocations: 0 / 379.4 MB, free: 0.8164 MB / 346.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.001005/0.009287, allocations: 0.4964 MB / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.009321, allocations: 12.03 kB / 379.9 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.009413, allocations: 32.8 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.009777, allocations: 193.4 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.009794, allocations: 4.375 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.00983, allocations: 8.375 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.01033, allocations: 186.4 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.01035, allocations: 3.938 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01037, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.01038, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.01086, allocations: 107.9 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.01157, allocations: 476.5 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.0123, allocations: 166.5 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.01256, allocations: 64.8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.01258, allocations: 8 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.01301, allocations: 164.9 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.01301, allocations: 0 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009774/0.01399, allocations: 265.3 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.01405, allocations: 55.41 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.01435, allocations: 244.2 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.01438, allocations: 37.62 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.0145, allocations: 124.3 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.01455, allocations: 39.72 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.01462, allocations: 33.7 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.01482, allocations: 342.8 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.01513, allocations: 97.58 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.01545, allocations: 133.9 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.01602, allocations: 193.8 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01602, allocations: 3.938 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007448/0.01677, allocations: 296.6 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.01681, allocations: 36.19 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.01682, allocations: 4 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.01683, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.01704, allocations: 40.03 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.01705, allocations: 4 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.01724, allocations: 31.86 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.01726, allocations: 11.98 kB / 383.3 MB, free: 12.68 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 0.0001553/0.01742, allocations: 146.2 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.01747, allocations: 23.86 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.01817, allocations: 219 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01817, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01818, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01818, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.01838, allocations: 165.2 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01838, allocations: 0 / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01856, allocations: 27.91 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01856, allocations: 4 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01858, allocations: 0 / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.01858, allocations: 8 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01858, allocations: 0 / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.02002, allocations: 328.7 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.02007, allocations: 15.88 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.02012, allocations: 16 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.02038, allocations: 19.97 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.02048, allocations: 15.97 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.02051, allocations: 4 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002921/0.0208, allocations: 177.8 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.0208, allocations: 0 / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004779/0.02128, allocations: 39.94 kB / 384.4 MB, free: 11.44 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.00283/0.0241, allocations: 439.7 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.02513, allocations: 244.9 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02513, allocations: 0 / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.02556, allocations: 75.88 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.02613, allocations: 64.81 kB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.02718, allocations: 320.9 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.02736, allocations: 112.2 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.0275, allocations: 33.44 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.02762, allocations: 24.5 kB / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02762, allocations: 3.938 kB / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Templates: time 0.01108/0.0387, allocations: 3.09 MB / 388.8 MB, free: 7.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.942448807996698]