Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001067/0.001067, allocations: 77 kB / 20.65 MB, free: 3.844 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.001252/0.001252, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9396/0.9396, allocations: 158.6 MB / 186 MB, free: 2.387 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1341/0.1341, allocations: 32.38 MB / 270.7 MB, free: 14.51 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.414e-05, allocations: 6.25 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002314/0.002348, allocations: 2.016 MB / 350.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003358, allocations: 0.8698 MB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.003472, allocations: 0 / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.003775, allocations: 55.64 kB / 351.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.004002, allocations: 75.5 kB / 351.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.004235, allocations: 123.6 kB / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004434, allocations: 199.3 kB / 351.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.00453, allocations: 25.73 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.00465, allocations: 103.7 kB / 351.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.004731, allocations: 63.8 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.004754, allocations: 16 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.00483, allocations: 51.92 kB / 351.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.004879, allocations: 39.83 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.00492, allocations: 47.78 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.005101, allocations: 163.4 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005104, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005105, allocations: 0 / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005109, allocations: 0 / 352 MB, free: 5.242 MB / 282.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.0005188/0.005627, allocations: 0.5729 MB / 352.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.005667, allocations: 12.03 kB / 352.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.005717, allocations: 32.78 kB / 352.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.005893, allocations: 185.2 kB / 352.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.005908, allocations: 8.375 kB / 352.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.005928, allocations: 4.375 kB / 352.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.006127, allocations: 167.6 kB / 353 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006137, allocations: 3.938 kB / 353 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.006148, allocations: 4 kB / 353 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.006154, allocations: 4 kB / 353 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.131e-05/0.006205, allocations: 38.09 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.006551, allocations: 0.5722 MB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.006722, allocations: 83.08 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.006753, allocations: 27.66 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.00677, allocations: 4 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.006896, allocations: 118.7 kB / 353.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.006897, allocations: 0 / 353.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001966/0.007094, allocations: 137.4 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.007115, allocations: 59.41 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.007218, allocations: 258.9 kB / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007232, allocations: 37.69 kB / 354.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.007285, allocations: 167.1 kB / 354.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.007305, allocations: 39.67 kB / 354.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.007348, allocations: 39.36 kB / 354.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.0074, allocations: 0.5117 MB / 355.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.00744, allocations: 41.69 kB / 355.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.007486, allocations: 104 kB / 355.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.489e-05/0.007561, allocations: 124 kB / 355.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007563, allocations: 0 / 355.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001538/0.007717, allocations: 184.9 kB / 355.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.007743, allocations: 39.81 kB / 355.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007748, allocations: 0 / 355.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.007762, allocations: 4.125 kB / 355.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.007851, allocations: 35.98 kB / 355.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.007855, allocations: 4 kB / 355.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.007924, allocations: 19.88 kB / 355.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.007938, allocations: 8 kB / 355.6 MB, free: 1.305 MB / 282.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.695e-05/0.008005, allocations: 176.4 kB / 355.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.008025, allocations: 23.8 kB / 355.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.008193, allocations: 129.2 kB / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.008196, allocations: 0 / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.008198, allocations: 0 / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.008202, allocations: 4 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.861e-05/0.0083, allocations: 149.1 kB / 356.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.008303, allocations: 0 / 356.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.008375, allocations: 23.92 kB / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008377, allocations: 0 / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.008386, allocations: 0 / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.008387, allocations: 4 kB / 356.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008389, allocations: 0 / 356.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.008572, allocations: 180.2 kB / 356.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.008593, allocations: 19.84 kB / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.008615, allocations: 12.02 kB / 356.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.406e-05/0.008669, allocations: 11.98 kB / 356.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.008717, allocations: 15.97 kB / 356.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.00873, allocations: 4 kB / 356.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.008783, allocations: 187.4 kB / 356.6 MB, free: 324 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008783, allocations: 0 / 356.6 MB, free: 324 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.008949, allocations: 39.98 kB / 356.6 MB, free: 284 kB / 282.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.0008599/0.009809, allocations: 394.1 kB / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.01001, allocations: 159.8 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01001, allocations: 0 / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.01007, allocations: 43.61 kB / 357.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01031, allocations: 59.42 kB / 357.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.01082, allocations: 305.4 kB / 357.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.01087, allocations: 75.98 kB / 357.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.01093, allocations: 13.48 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.01105, allocations: 126.1 kB / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01105, allocations: 0 / 357.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Templates: time 0.005776/0.01682, allocations: 3.33 MB / 361.1 MB, free: 11.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2425516578368843]