Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 179.9 kB / 8.15 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 92.75 kB / 261.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2693/0.2693, allocations: 43.48 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.245e-05, allocations: 4 kB / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3069, allocations: 58.84 MB / 476.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.4645, allocations: 88.62 MB / 0.5519 GB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4648, allocations: 71.95 kB / 0.552 GB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02179/0.4866, allocations: 4.498 MB / 0.5564 GB, free: 5.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.4867, allocations: 4 kB / 0.5564 GB, free: 5.863 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.001217/0.4879, allocations: 0.5364 MB / 0.5569 GB, free: 5.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.488, allocations: 8.031 kB / 0.5569 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.4881, allocations: 23.72 kB / 0.5569 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.4886, allocations: 243.6 kB / 0.5572 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.4887, allocations: 4.203 kB / 0.5572 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.4887, allocations: 8 kB / 0.5572 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002144/0.4889, allocations: 51.94 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.4892, allocations: 116.1 kB / 0.5574 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4892, allocations: 0 / 0.5574 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.4893, allocations: 0 / 0.5574 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4893, allocations: 4 kB / 0.5574 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.4905, allocations: 0.5755 MB / 0.5579 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.4909, allocations: 94.67 kB / 0.558 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.4911, allocations: 40.84 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.4911, allocations: 4 kB / 0.5581 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.4913, allocations: 96.59 kB / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.264e-06/0.4914, allocations: 0 / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004035/0.4918, allocations: 113.4 kB / 0.5583 GB, free: 3.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.4918, allocations: 59.34 kB / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.4922, allocations: 194.1 kB / 0.5585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.4922, allocations: 29.7 kB / 0.5585 GB, free: 3.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4923, allocations: 166.8 kB / 0.5587 GB, free: 3.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.4924, allocations: 31.56 kB / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.4924, allocations: 4 kB / 0.5587 GB, free: 3.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4926, allocations: 322.7 kB / 0.559 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4927, allocations: 32 kB / 0.5591 GB, free: 2.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4929, allocations: 71.89 kB / 0.5591 GB, free: 2.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.493, allocations: 44.11 kB / 0.5592 GB, free: 2.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4931, allocations: 0 / 0.5592 GB, free: 2.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004038/0.4935, allocations: 137.5 kB / 0.5593 GB, free: 2.641 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4935, allocations: 4 kB / 0.5593 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4935, allocations: 4 kB / 0.5593 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4935, allocations: 0 / 0.5593 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.4939, allocations: 48.03 kB / 0.5593 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.494, allocations: 4 kB / 0.5594 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.4943, allocations: 35.88 kB / 0.5594 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.4943, allocations: 7.984 kB / 0.5594 GB, free: 2.539 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 () * 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 8.476e-05/0.4944, allocations: 39.11 kB / 0.5594 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.4945, allocations: 15.81 kB / 0.5594 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.4949, allocations: 146.9 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.4949, allocations: 0 / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4949, allocations: 0 / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.495, allocations: 0 / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.4953, allocations: 218 kB / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4953, allocations: 7.938 kB / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.4956, allocations: 31.98 kB / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4956, allocations: 0 / 0.5598 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.4957, allocations: 3.984 kB / 0.5598 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4957, allocations: 3.938 kB / 0.5598 GB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4957, allocations: 4 kB / 0.5598 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005362/0.4962, allocations: 217 kB / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4964, allocations: 96.98 kB / 0.5601 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.4964, allocations: 7.984 kB / 0.5602 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4968, allocations: 31.97 kB / 0.5602 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.4969, allocations: 19.88 kB / 0.5602 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4969, allocations: 4 kB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000216/0.4972, allocations: 151.2 kB / 0.5603 GB, free: 1.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.4975, allocations: 44.06 kB / 0.5604 GB, free: 1.434 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) * 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.0008998/0.4984, allocations: 319 kB / 0.5607 GB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.4988, allocations: 129.6 kB / 0.5608 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4988, allocations: 4 kB / 0.5608 GB, free: 1.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.499, allocations: 44 kB / 0.5609 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.4994, allocations: 39.83 kB / 0.5609 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/0.5003, allocations: 253.9 kB / 0.5611 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.5009, allocations: 0.7513 MB / 0.5619 GB, free: 15.87 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5009, allocations: 0 / 0.5619 GB, free: 15.87 MB / 410.7 MB Notification: Performance of Templates: time 0.007065/0.5079, allocations: 2.79 MB / 0.5646 GB, free: 13.08 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)