Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002241/0.002241, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2743/0.2743, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.472e-05, allocations: 7.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6258, allocations: 89.36 MB / 0.5601 GB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.6262, allocations: 80.31 kB / 0.5601 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0228/0.649, allocations: 4.84 MB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.649, allocations: 0 / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.6491, allocations: 4 kB / 0.5649 GB, free: 10.16 MB / 378.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.001192/0.6503, allocations: 0.531 MB / 0.5654 GB, free: 9.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.6504, allocations: 8.031 kB / 0.5654 GB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.89e-05/0.6504, allocations: 19.72 kB / 0.5654 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.651, allocations: 244.7 kB / 0.5656 GB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.651, allocations: 7.062 kB / 0.5657 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.6511, allocations: 15.12 kB / 0.5657 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.6514, allocations: 121.7 kB / 0.5658 GB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6514, allocations: 0 / 0.5658 GB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.6515, allocations: 7.172 kB / 0.5658 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.6515, allocations: 0 / 0.5658 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.6517, allocations: 60.38 kB / 0.5658 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.6529, allocations: 0.5882 MB / 0.5664 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.6533, allocations: 103.2 kB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.6535, allocations: 46.17 kB / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.6535, allocations: 0 / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.6539, allocations: 108.1 kB / 0.5667 GB, free: 8.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.275e-06/0.6539, allocations: 4 kB / 0.5667 GB, free: 8.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004924/0.6544, allocations: 136.6 kB / 0.5668 GB, free: 8.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.6545, allocations: 63.14 kB / 0.5669 GB, free: 8.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.6548, allocations: 197 kB / 0.567 GB, free: 7.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.6548, allocations: 33.25 kB / 0.5671 GB, free: 7.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.655, allocations: 181.3 kB / 0.5673 GB, free: 7.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.6551, allocations: 43.41 kB / 0.5673 GB, free: 7.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.6551, allocations: 0 / 0.5673 GB, free: 7.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6552, allocations: 318.3 kB / 0.5676 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.6554, allocations: 40.67 kB / 0.5676 GB, free: 7.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.6556, allocations: 76.66 kB / 0.5677 GB, free: 7.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.6557, allocations: 72.61 kB / 0.5678 GB, free: 7.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6558, allocations: 4 kB / 0.5678 GB, free: 7.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004783/0.6563, allocations: 173.2 kB / 0.5679 GB, free: 7.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.6563, allocations: 41.52 kB / 0.568 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6564, allocations: 7.938 kB / 0.568 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.6564, allocations: 0 / 0.568 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.6568, allocations: 43.91 kB / 0.568 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.6568, allocations: 8.109 kB / 0.568 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.6572, allocations: 39.81 kB / 0.5681 GB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.6572, allocations: 8 kB / 0.5681 GB, free: 6.922 MB / 378.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6574, allocations: 110 kB / 0.5682 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.6574, allocations: 15.81 kB / 0.5682 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.6579, allocations: 169.5 kB / 0.5684 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6579, allocations: 4 kB / 0.5684 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6579, allocations: 0 / 0.5684 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.658, allocations: 0 / 0.5684 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.6583, allocations: 239.5 kB / 0.5686 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6583, allocations: 0 / 0.5686 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.6586, allocations: 35.91 kB / 0.5686 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6586, allocations: 0 / 0.5686 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.6587, allocations: 15.8 kB / 0.5687 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.6587, allocations: 3.953 kB / 0.5687 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6587, allocations: 0 / 0.5687 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.6593, allocations: 223.7 kB / 0.5689 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6594, allocations: 96.94 kB / 0.569 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.6595, allocations: 7.562 kB / 0.569 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.6598, allocations: 28.03 kB / 0.569 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6599, allocations: 23.42 kB / 0.569 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.6599, allocations: 7.812 kB / 0.569 GB, free: 5.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000219/0.6602, allocations: 161.3 kB / 0.5692 GB, free: 5.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6602, allocations: 0 / 0.5692 GB, free: 5.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.6606, allocations: 55.27 kB / 0.5692 GB, free: 5.801 MB / 378.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) * 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 (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.001163/0.6618, allocations: 384.7 kB / 0.5696 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.6622, allocations: 159.5 kB / 0.5698 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6622, allocations: 0 / 0.5698 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.6624, allocations: 50.06 kB / 0.5698 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.6629, allocations: 49.14 kB / 0.5698 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/0.6638, allocations: 254.7 kB / 0.5701 GB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6642, allocations: 0.7359 MB / 0.5708 GB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.6643, allocations: 19.44 kB / 0.5708 GB, free: 4.242 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6643, allocations: 0 / 0.5708 GB, free: 4.242 MB / 378.7 MB Notification: Performance of Templates: time 0.007359/0.6717, allocations: 2.783 MB / 0.5735 GB, free: 1.477 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)