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.00102/0.00102, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009921/0.0009921, allocations: 161 kB / 24.55 MB, free: 20 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.056/1.056, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2706/0.2706, allocations: 32.81 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] 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.332e-06/1.332e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.414e-05, allocations: 5.406 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002544/0.002568, allocations: 2.052 MB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.003972, allocations: 1.087 MB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004083, allocations: 7.938 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.004415, allocations: 43.66 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.004724, allocations: 123.2 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.004955, allocations: 111.6 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.005201, allocations: 215.2 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.005328, allocations: 17.8 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.005467, allocations: 111.7 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005568, allocations: 63.8 kB / 379.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.005591, allocations: 12 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.005681, allocations: 55.92 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.005741, allocations: 39.83 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.005801, allocations: 43.84 kB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.006032, allocations: 175.2 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006034, allocations: 0 / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006034, allocations: 0 / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006039, allocations: 0 / 380.2 MB, free: 448 kB / 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.0006487/0.006688, allocations: 0.577 MB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.006725, allocations: 12.02 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.006782, allocations: 32.8 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.007, allocations: 192.1 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.007022, allocations: 8.359 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.007054, allocations: 8.375 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.007303, allocations: 163.6 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007312, allocations: 3.938 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.007326, allocations: 8 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.007335, allocations: 0 / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.007408, allocations: 35.91 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.007912, allocations: 0.6106 MB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.008153, allocations: 83.09 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.00821, allocations: 31.67 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.008231, allocations: 3.938 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.008404, allocations: 130.6 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.008405, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003166/0.008722, allocations: 141.5 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.00876, allocations: 59.41 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.008944, allocations: 270.7 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.008964, allocations: 29.7 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.009057, allocations: 183 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.009086, allocations: 35.88 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.009141, allocations: 47.31 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.009287, allocations: 0.5078 MB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.009354, allocations: 49.69 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.009435, allocations: 100.1 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.009567, allocations: 128.1 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.00957, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002275/0.009797, allocations: 196.9 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.009833, allocations: 37.69 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.009841, allocations: 4 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.009861, allocations: 0 / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.00997, allocations: 32.11 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.009979, allocations: 7.938 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.01005, allocations: 23.88 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.01006, allocations: 8 kB / 384 MB, free: 12.38 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.000129/0.01019, allocations: 177 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.01022, allocations: 27.86 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.01043, allocations: 131 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01044, allocations: 7.984 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01044, allocations: 0 / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01044, allocations: 4 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.01058, allocations: 180.4 kB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01058, allocations: 4 kB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.01066, allocations: 23.98 kB / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01066, allocations: 0 / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01068, allocations: 0 / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.01068, allocations: 4 kB / 384.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01068, allocations: 0 / 384.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.01097, allocations: 203.9 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.011, allocations: 19.8 kB / 384.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.01102, allocations: 12.03 kB / 384.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.01109, allocations: 15.97 kB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.01116, allocations: 15.97 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.01118, allocations: 4 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.01129, allocations: 193.8 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01129, allocations: 0 / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.01148, allocations: 39.92 kB / 385 MB, free: 11.27 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.0009353/0.01241, allocations: 385.6 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.01264, allocations: 160.7 kB / 385.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01265, allocations: 0 / 385.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.01277, allocations: 59.22 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.013, allocations: 52.88 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.01354, allocations: 310.5 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.611e-05/0.01358, allocations: 76 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.01364, allocations: 17.48 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.01369, allocations: 32.48 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.01369, allocations: 0 / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.005112/0.01881, allocations: 3.095 MB / 389.2 MB, free: 7.215 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2991889119148254]