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.002172/0.002171, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.297/0.297, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.411e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4241, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.6173, allocations: 88.7 MB / 0.5525 GB, free: 10.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.6177, allocations: 67.95 kB / 0.5526 GB, free: 10.55 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02232/0.64, allocations: 4.812 MB / 0.5573 GB, free: 5.742 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6401, allocations: 4 kB / 0.5573 GB, free: 5.738 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.6401, allocations: 0 / 0.5573 GB, free: 5.738 MB / 395.1 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.001163/0.6413, allocations: 0.5325 MB / 0.5578 GB, free: 5.148 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6414, allocations: 12.03 kB / 0.5578 GB, free: 5.137 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.6415, allocations: 19.72 kB / 0.5579 GB, free: 5.117 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.642, allocations: 243.7 kB / 0.5581 GB, free: 4.836 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.642, allocations: 4 kB / 0.5581 GB, free: 4.832 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.6421, allocations: 11.98 kB / 0.5581 GB, free: 4.82 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000206/0.6423, allocations: 51.88 kB / 0.5581 GB, free: 4.77 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.6426, allocations: 108.2 kB / 0.5583 GB, free: 4.648 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.6426, allocations: 3.984 kB / 0.5583 GB, free: 4.645 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6426, allocations: 0 / 0.5583 GB, free: 4.645 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.6427, allocations: 4 kB / 0.5583 GB, free: 4.641 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.6438, allocations: 0.5599 MB / 0.5588 GB, free: 4.035 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.6442, allocations: 94.69 kB / 0.5589 GB, free: 3.934 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.6444, allocations: 41.03 kB / 0.5589 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.6444, allocations: 7.938 kB / 0.5589 GB, free: 3.883 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.6447, allocations: 99.36 kB / 0.559 GB, free: 3.773 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.6447, allocations: 0 / 0.559 GB, free: 3.773 MB / 395.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004328/0.6451, allocations: 141.3 kB / 0.5592 GB, free: 3.629 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6452, allocations: 55.41 kB / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.6455, allocations: 190.1 kB / 0.5594 GB, free: 3.371 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.6456, allocations: 29.7 kB / 0.5594 GB, free: 3.336 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.6457, allocations: 178.8 kB / 0.5596 GB, free: 3.156 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.6458, allocations: 35.55 kB / 0.5596 GB, free: 3.121 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.6458, allocations: 4 kB / 0.5596 GB, free: 3.117 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.646, allocations: 322.8 kB / 0.56 GB, free: 2.793 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.6461, allocations: 35.94 kB / 0.56 GB, free: 2.758 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.6463, allocations: 68.28 kB / 0.5601 GB, free: 2.676 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.6464, allocations: 40.17 kB / 0.5601 GB, free: 2.637 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6464, allocations: 0 / 0.5601 GB, free: 2.637 MB / 395.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004039/0.6468, allocations: 141.5 kB / 0.5602 GB, free: 2.492 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.6469, allocations: 37.69 kB / 0.5603 GB, free: 2.449 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.6469, allocations: 0 / 0.5603 GB, free: 2.449 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.6469, allocations: 7.953 kB / 0.5603 GB, free: 2.441 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.6473, allocations: 40.03 kB / 0.5603 GB, free: 2.402 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.6473, allocations: 8 kB / 0.5603 GB, free: 2.395 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.6477, allocations: 27.88 kB / 0.5603 GB, free: 2.367 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.6477, allocations: 15.94 kB / 0.5604 GB, free: 2.352 MB / 395.1 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.0001156/0.6478, allocations: 108.9 kB / 0.5605 GB, free: 2.238 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.6479, allocations: 15.81 kB / 0.5605 GB, free: 2.223 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.6483, allocations: 151.5 kB / 0.5606 GB, free: 2.074 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6484, allocations: 7.953 kB / 0.5606 GB, free: 2.066 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6484, allocations: 0 / 0.5606 GB, free: 2.066 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.6484, allocations: 0 / 0.5606 GB, free: 2.066 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.6487, allocations: 214 kB / 0.5608 GB, free: 1.82 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6487, allocations: 0 / 0.5608 GB, free: 1.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.649, allocations: 35.91 kB / 0.5609 GB, free: 1.785 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.649, allocations: 3.938 kB / 0.5609 GB, free: 1.781 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.649, allocations: 8 kB / 0.5609 GB, free: 1.773 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.6491, allocations: 8 kB / 0.5609 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6491, allocations: 0 / 0.5609 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.6497, allocations: 208.9 kB / 0.5611 GB, free: 1.543 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.6498, allocations: 96.94 kB / 0.5612 GB, free: 1.43 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.6498, allocations: 8 kB / 0.5612 GB, free: 1.422 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.6502, allocations: 32.03 kB / 0.5612 GB, free: 1.391 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/0.6503, allocations: 19.97 kB / 0.5612 GB, free: 1.371 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.6503, allocations: 4 kB / 0.5612 GB, free: 1.367 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.6505, allocations: 156.7 kB / 0.5614 GB, free: 1.215 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6505, allocations: 0 / 0.5614 GB, free: 1.215 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.6509, allocations: 51.8 kB / 0.5614 GB, free: 1.164 MB / 395.1 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.001069/0.652, allocations: 352.7 kB / 0.5618 GB, free: 0.8477 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.6524, allocations: 151.3 kB / 0.5619 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6524, allocations: 0 / 0.5619 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.6526, allocations: 51.92 kB / 0.562 GB, free: 0.6367 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.653, allocations: 44.08 kB / 0.562 GB, free: 0.5938 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.6538, allocations: 253.3 kB / 0.5622 GB, free: 320 kB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.6542, allocations: 0.728 MB / 0.563 GB, free: 15.56 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6543, allocations: 23.38 kB / 0.563 GB, free: 15.54 MB / 411.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6543, allocations: 0 / 0.563 GB, free: 15.54 MB / 411.1 MB Notification: Performance of Templates: time 0.007595/0.662, allocations: 2.776 MB / 0.5657 GB, free: 12.77 MB / 411.1 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)