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.001014/0.001014, allocations: 180.9 kB / 17.41 MB, free: 4.289 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.587/1.587, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007784/0.0007784, allocations: 92.98 kB / 271.9 MB, free: 8.25 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.394/0.394, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006121/0.0006121, allocations: 16 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.156, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/0.4538, allocations: 89.5 MB / 0.5673 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.454, allocations: 79.95 kB / 0.5674 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.4674, allocations: 4.858 MB / 0.5721 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4674, allocations: 0 / 0.5721 GB, free: 8.023 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4674, allocations: 8 kB / 0.5722 GB, free: 8.016 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.0008479/0.4683, allocations: 0.5558 MB / 0.5727 GB, free: 7.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4683, allocations: 16.03 kB / 0.5727 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.4684, allocations: 21.31 kB / 0.5727 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4687, allocations: 252.8 kB / 0.573 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.4688, allocations: 4.375 kB / 0.573 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.4688, allocations: 16.36 kB / 0.573 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.4692, allocations: 168.6 kB / 0.5732 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4692, allocations: 192 / 0.5732 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.4693, allocations: 7.922 kB / 0.5732 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4693, allocations: 7.281 kB / 0.5732 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.4697, allocations: 135.8 kB / 0.5733 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.4705, allocations: 0.5945 MB / 0.5739 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.4712, allocations: 190.5 kB / 0.5741 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.4714, allocations: 88.8 kB / 0.5741 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4715, allocations: 0 / 0.5741 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.4719, allocations: 143.3 kB / 0.5743 GB, free: 5.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.4719, allocations: 0 / 0.5743 GB, free: 5.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008964/0.4728, allocations: 301.8 kB / 0.5746 GB, free: 5.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4728, allocations: 55.69 kB / 0.5746 GB, free: 5.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4731, allocations: 227.1 kB / 0.5748 GB, free: 5.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.4732, allocations: 33.69 kB / 0.5749 GB, free: 5.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.4732, allocations: 124.4 kB / 0.575 GB, free: 4.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.4733, allocations: 35.53 kB / 0.575 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.4733, allocations: 8 kB / 0.575 GB, free: 4.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4735, allocations: 330.8 kB / 0.5754 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.4737, allocations: 79.94 kB / 0.5754 GB, free: 4.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.474, allocations: 120.2 kB / 0.5755 GB, free: 4.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.4745, allocations: 223.6 kB / 0.5758 GB, free: 4.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4746, allocations: 3.938 kB / 0.5758 GB, free: 4.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000663/0.4752, allocations: 279 kB / 0.576 GB, free: 3.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.4753, allocations: 33.7 kB / 0.5761 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4753, allocations: 0 / 0.5761 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4753, allocations: 4 kB / 0.5761 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.4755, allocations: 47.95 kB / 0.5761 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4755, allocations: 7.938 kB / 0.5761 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.4757, allocations: 31.97 kB / 0.5761 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.4758, allocations: 7.938 kB / 0.5762 GB, free: 3.625 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.0001259/0.4759, allocations: 130.3 kB / 0.5763 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.4759, allocations: 23.72 kB / 0.5763 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.4766, allocations: 240.8 kB / 0.5765 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4766, allocations: 4 kB / 0.5765 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4766, allocations: 0 / 0.5765 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4766, allocations: 0.75 kB / 0.5765 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.4768, allocations: 245.4 kB / 0.5768 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4768, allocations: 0 / 0.5768 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.477, allocations: 32.86 kB / 0.5768 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.477, allocations: 0 / 0.5768 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.4771, allocations: 7.922 kB / 0.5768 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4771, allocations: 4 kB / 0.5768 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4771, allocations: 0 / 0.5768 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.478, allocations: 352.6 kB / 0.5771 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.4781, allocations: 108.8 kB / 0.5772 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.4781, allocations: 12 kB / 0.5773 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.4783, allocations: 23.97 kB / 0.5773 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.4784, allocations: 24.03 kB / 0.5773 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4784, allocations: 4 kB / 0.5773 GB, free: 2.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.4785, allocations: 168.5 kB / 0.5775 GB, free: 2.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4786, allocations: 0 / 0.5775 GB, free: 2.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.4788, allocations: 51.94 kB / 0.5775 GB, free: 2.129 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.0008813/0.4797, allocations: 436.3 kB / 0.5779 GB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006122/0.4803, allocations: 243.3 kB / 0.5782 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4804, allocations: 0 / 0.5782 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.4806, allocations: 99.86 kB / 0.5783 GB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.481, allocations: 40.09 kB / 0.5783 GB, free: 1.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.4818, allocations: 386 kB / 0.5787 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.4821, allocations: 0.7282 MB / 0.5794 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.4822, allocations: 19.44 kB / 0.5794 GB, free: 236 kB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4822, allocations: 4 kB / 0.5794 GB, free: 232 kB / 394.7 MB Notification: Performance of Templates: time 0.004417/0.4866, allocations: 2.811 MB / 0.5821 GB, free: 13.43 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)