Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005715/0.005715, allocations: 165.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.363/1.363, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001592/0.001592, allocations: 118.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.338/0.338, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4854, allocations: 77.57 MB / 489.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4857, allocations: 69.41 kB / 489.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.4962, allocations: 4.027 MB / 493.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4963, allocations: 0 / 493.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4963, allocations: 4 kB / 493.3 MB, free: 6.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006872/0.497, allocations: 0.5641 MB / 493.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.497, allocations: 8.031 kB / 493.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.4971, allocations: 15.81 kB / 493.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.4974, allocations: 230.6 kB / 494.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4974, allocations: 5.812 kB / 494.1 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.4974, allocations: 15.81 kB / 494.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.4978, allocations: 120.8 kB / 494.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4978, allocations: 4 kB / 494.2 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.4979, allocations: 7.75 kB / 494.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.4979, allocations: 0 / 494.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.4983, allocations: 127.3 kB / 494.3 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.4989, allocations: 425.5 kB / 494.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.4995, allocations: 173.5 kB / 494.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4995, allocations: 0 / 494.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.4999, allocations: 144.8 kB / 495.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.4999, allocations: 0 / 495.1 MB, free: 4.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007389/0.5006, allocations: 266.8 kB / 495.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.5007, allocations: 58.55 kB / 495.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.5009, allocations: 182.2 kB / 495.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5009, allocations: 25.7 kB / 495.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.5009, allocations: 119.3 kB / 495.7 MB, free: 4.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.501, allocations: 31.03 kB / 495.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.501, allocations: 11.38 kB / 495.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.5011, allocations: 324.3 kB / 496.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.5013, allocations: 85.12 kB / 496.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.5016, allocations: 94.58 kB / 496.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.5018, allocations: 141.4 kB / 496.4 MB, free: 3.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5018, allocations: 0 / 496.4 MB, free: 3.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005611/0.5024, allocations: 306.2 kB / 496.7 MB, free: 3.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.5025, allocations: 59.39 kB / 496.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5025, allocations: 4 kB / 496.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5025, allocations: 4.031 kB / 496.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5026, allocations: 35.95 kB / 496.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5027, allocations: 0 / 496.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.5028, allocations: 35.72 kB / 496.8 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.5029, allocations: 8.609 kB / 496.8 MB, free: 3.266 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/0.503, allocations: 144.8 kB / 497 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.503, allocations: 11.91 kB / 497 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.5035, allocations: 215.2 kB / 497.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5035, allocations: 0 / 497.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5035, allocations: 4 kB / 497.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5035, allocations: 0 / 497.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.5037, allocations: 229.2 kB / 497.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5037, allocations: 0 / 497.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.5038, allocations: 31.97 kB / 497.4 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5039, allocations: 0 / 497.4 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.5039, allocations: 4 kB / 497.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5039, allocations: 3.984 kB / 497.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5039, allocations: 3.938 kB / 497.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.5046, allocations: 321.2 kB / 497.8 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.5047, allocations: 92.95 kB / 497.9 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.5047, allocations: 3.312 kB / 497.9 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5049, allocations: 35.41 kB / 497.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.505, allocations: 15.91 kB / 497.9 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.505, allocations: 7.375 kB / 497.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.901e-05/0.5051, allocations: 146.4 kB / 498.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5051, allocations: 0 / 498.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.5053, allocations: 53.17 kB / 498.1 MB, free: 2.012 MB / 330.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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006501/0.506, allocations: 330.9 kB / 498.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.5065, allocations: 295.2 kB / 498.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5065, allocations: 0 / 498.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.5068, allocations: 84.69 kB / 498.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.507, allocations: 38.84 kB / 498.8 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.5075, allocations: 331.9 kB / 499.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.5077, allocations: 0.7228 MB / 499.9 MB, free: 328 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.753e-05/0.5078, allocations: 12.66 kB / 499.9 MB, free: 316 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.5078, allocations: 19.42 kB / 499.9 MB, free: 296 kB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5078, allocations: 4 kB / 499.9 MB, free: 292 kB / 330.7 MB Notification: Performance of Templates: time 0.005214/0.5131, allocations: 2.382 MB / 0.4905 GB, free: 13.93 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)