Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001794/0.001794, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002117/0.002117, allocations: 165.3 kB / 24.27 MB, free: 144 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.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3893/0.3893, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.706e-05, allocations: 2.312 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004594/0.004631, allocations: 1.989 MB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.00702, allocations: 1.06 MB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.00714, allocations: 7.938 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.007526, allocations: 51.56 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.007936, allocations: 115.3 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.008254, allocations: 119.6 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.008609, allocations: 211.3 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.00874, allocations: 21.78 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.008941, allocations: 103.7 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.009087, allocations: 63.78 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.009125, allocations: 15.94 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.009254, allocations: 55.91 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.009368, allocations: 43.84 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.00946, allocations: 43.84 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.00985, allocations: 203.3 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.009854, allocations: 4 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.009856, allocations: 0 / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.009861, allocations: 0 / 381.4 MB, free: 14.77 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.00109/0.01095, allocations: 0.4888 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.01099, allocations: 8.031 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.01109, allocations: 28.8 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.01151, allocations: 197.3 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.01153, allocations: 8.375 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.01157, allocations: 8.375 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.01206, allocations: 174.4 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.01207, allocations: 7.938 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.01209, allocations: 4 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.0121, allocations: 0 / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.0126, allocations: 123.8 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.01335, allocations: 472.6 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.01407, allocations: 162.6 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.01436, allocations: 68.8 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.01438, allocations: 0 / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004432/0.01483, allocations: 160.9 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.01483, allocations: 0 / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.00101/0.01584, allocations: 269.3 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.0159, allocations: 59.41 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.01622, allocations: 244.2 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.01625, allocations: 29.7 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.01638, allocations: 128.3 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.01643, allocations: 35.73 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.01651, allocations: 41.7 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.01672, allocations: 338.8 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.01703, allocations: 101.6 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.01739, allocations: 129.9 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.01796, allocations: 197.8 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01796, allocations: 0 / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001087/0.01905, allocations: 288.8 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/0.01912, allocations: 40.03 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01913, allocations: 0 / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.01916, allocations: 4 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.01937, allocations: 35.97 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.01938, allocations: 3.938 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.01958, allocations: 35.86 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.0196, allocations: 12.06 kB / 385.3 MB, free: 10.64 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.0001583/0.01976, allocations: 138.3 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.01981, allocations: 31.78 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007017/0.02052, allocations: 218.9 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.02052, allocations: 4 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.02053, allocations: 0 / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.02053, allocations: 4 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.02076, allocations: 161.2 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.02076, allocations: 0 / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.02093, allocations: 31.97 kB / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02093, allocations: 0 / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.02095, allocations: 0 / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.02096, allocations: 4 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02096, allocations: 0 / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.022, allocations: 332.3 kB / 386.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.02204, allocations: 23.83 kB / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.02207, allocations: 0 / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.02225, allocations: 19.97 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.02234, allocations: 19.97 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.02237, allocations: 12.06 kB / 386.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.02258, allocations: 169.8 kB / 386.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02258, allocations: 0 / 386.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.02287, allocations: 43.94 kB / 386.5 MB, free: 9.402 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.002186/0.02506, allocations: 445.4 kB / 386.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007351/0.02579, allocations: 249 kB / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02579, allocations: 0 / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.0261, allocations: 77.69 kB / 387.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.02649, allocations: 52.58 kB / 387.3 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.02735, allocations: 324.9 kB / 387.6 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.0275, allocations: 116.4 kB / 387.7 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.321e-05/0.02759, allocations: 25.41 kB / 387.7 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.02768, allocations: 32.48 kB / 387.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02768, allocations: 0 / 387.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of Templates: time 0.008392/0.03607, allocations: 3.08 MB / 390.8 MB, free: 5.184 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.968919617938809]