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.001503/0.001503, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001093/0.001092, allocations: 88.14 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5085/0.5085, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004727, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/0.6182, allocations: 89.44 MB / 0.5661 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.6186, allocations: 80.45 kB / 0.5662 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02296/0.6416, allocations: 4.865 MB / 0.5709 GB, free: 8.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6416, allocations: 0 / 0.5709 GB, free: 8.379 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.6416, allocations: 4.547 kB / 0.5709 GB, free: 8.375 MB / 394.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.001315/0.643, allocations: 0.5674 MB / 0.5715 GB, free: 7.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.643, allocations: 8.562 kB / 0.5715 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.6431, allocations: 27.16 kB / 0.5715 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.6436, allocations: 243.6 kB / 0.5717 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.6437, allocations: 4 kB / 0.5717 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.6437, allocations: 8 kB / 0.5717 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.6444, allocations: 166.9 kB / 0.5719 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6444, allocations: 0 / 0.5719 GB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.6445, allocations: 4 kB / 0.5719 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.6445, allocations: 1.031 kB / 0.5719 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.6453, allocations: 143.8 kB / 0.572 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.6466, allocations: 0.5907 MB / 0.5726 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.6477, allocations: 186.5 kB / 0.5728 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.6477, allocations: 0 / 0.5728 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006226/0.6484, allocations: 151.3 kB / 0.5729 GB, free: 6.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.6484, allocations: 0 / 0.5729 GB, free: 6.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001591/0.65, allocations: 310 kB / 0.5732 GB, free: 5.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.6501, allocations: 55.69 kB / 0.5733 GB, free: 5.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.6504, allocations: 198.3 kB / 0.5735 GB, free: 5.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.6505, allocations: 33.7 kB / 0.5735 GB, free: 5.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.6506, allocations: 182.8 kB / 0.5737 GB, free: 5.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.6507, allocations: 35.55 kB / 0.5737 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.6507, allocations: 4 kB / 0.5737 GB, free: 5.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6508, allocations: 322.8 kB / 0.574 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.6513, allocations: 75.94 kB / 0.5741 GB, free: 4.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.6518, allocations: 124.1 kB / 0.5742 GB, free: 4.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.6523, allocations: 113.6 kB / 0.5743 GB, free: 4.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6523, allocations: 0 / 0.5743 GB, free: 4.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001176/0.6535, allocations: 264.4 kB / 0.5746 GB, free: 4.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.6536, allocations: 41.66 kB / 0.5746 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6536, allocations: 0 / 0.5746 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.6536, allocations: 0 / 0.5746 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.654, allocations: 47.89 kB / 0.5747 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.654, allocations: 4 kB / 0.5747 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.6544, allocations: 31.95 kB / 0.5747 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.6544, allocations: 11.98 kB / 0.5747 GB, free: 4.207 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.6547, allocations: 133.7 kB / 0.5748 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.6547, allocations: 15.81 kB / 0.5749 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.6558, allocations: 254.1 kB / 0.5751 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6559, allocations: 8 kB / 0.5751 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6559, allocations: 0 / 0.5751 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6559, allocations: 0 / 0.5751 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.6562, allocations: 242.3 kB / 0.5753 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6562, allocations: 0 / 0.5753 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.6565, allocations: 39.91 kB / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6566, allocations: 0 / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.6566, allocations: 3.984 kB / 0.5754 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.6566, allocations: 11.95 kB / 0.5754 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6566, allocations: 4 kB / 0.5754 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.6582, allocations: 344.8 kB / 0.5757 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.6584, allocations: 96.95 kB / 0.5758 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.6584, allocations: 3.984 kB / 0.5758 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.6588, allocations: 31.97 kB / 0.5759 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.6589, allocations: 23.92 kB / 0.5759 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.6589, allocations: 4 kB / 0.5759 GB, free: 2.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002705/0.6592, allocations: 168.7 kB / 0.576 GB, free: 2.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.464e-06/0.6592, allocations: 0 / 0.576 GB, free: 2.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000395/0.6596, allocations: 51.78 kB / 0.5761 GB, free: 2.699 MB / 394.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 (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.001219/0.6608, allocations: 438.4 kB / 0.5765 GB, free: 2.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.6621, allocations: 239.2 kB / 0.5767 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.6621, allocations: 0 / 0.5767 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.6626, allocations: 96.12 kB / 0.5768 GB, free: 2.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.6631, allocations: 43.95 kB / 0.5769 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.6641, allocations: 386 kB / 0.5772 GB, free: 1.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.6645, allocations: 0.7283 MB / 0.578 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6646, allocations: 19.44 kB / 0.578 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6646, allocations: 0 / 0.578 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of Templates: time 0.007381/0.672, allocations: 2.783 MB / 0.5807 GB, free: 14.03 MB / 410.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)