Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 191.1 kB / 7.804 MB, free: 2.492 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.07/1.07, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007769/0.000777, allocations: 87.31 kB / 261.4 MB, free: 13.47 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.1612/0.1612, allocations: 43.49 MB / 352.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.875e-06, allocations: 224 / 417.7 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 58.84 MB / 476.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3469, allocations: 86.99 MB / 0.5504 GB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001488/0.3471, allocations: 67.97 kB / 0.5504 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01295/0.3601, allocations: 4.84 MB / 0.5551 GB, free: 6.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3601, allocations: 4 kB / 0.5551 GB, free: 6.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003737/0.3605, allocations: 402 kB / 0.5555 GB, free: 6.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3605, allocations: 8.031 kB / 0.5555 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.3606, allocations: 7.906 kB / 0.5555 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3608, allocations: 206.4 kB / 0.5557 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3608, allocations: 0 / 0.5557 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3609, allocations: 7.906 kB / 0.5558 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.592e-05/0.361, allocations: 27.92 kB / 0.5558 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3611, allocations: 63.39 kB / 0.5558 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3611, allocations: 4 kB / 0.5558 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3611, allocations: 4 kB / 0.5558 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3611, allocations: 0 / 0.5558 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.3614, allocations: 273.3 kB / 0.5561 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.386e-05/0.3615, allocations: 37.72 kB / 0.5561 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.3616, allocations: 20.92 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3616, allocations: 11.92 kB / 0.5562 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.071e-05/0.3617, allocations: 63.41 kB / 0.5562 GB, free: 5.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3617, allocations: 0 / 0.5562 GB, free: 5.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003785/0.3621, allocations: 141.1 kB / 0.5564 GB, free: 5.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.3621, allocations: 77.11 kB / 0.5564 GB, free: 5.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3623, allocations: 137 kB / 0.5566 GB, free: 5.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3623, allocations: 25.7 kB / 0.5566 GB, free: 5.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.3623, allocations: 92.14 kB / 0.5567 GB, free: 5.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.3624, allocations: 27.64 kB / 0.5567 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.3624, allocations: 0 / 0.5567 GB, free: 5.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.3625, allocations: 326.7 kB / 0.557 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.3625, allocations: 20 kB / 0.557 GB, free: 4.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.369e-05/0.3626, allocations: 38.56 kB / 0.5571 GB, free: 4.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.3626, allocations: 24.03 kB / 0.5571 GB, free: 4.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3626, allocations: 7.969 kB / 0.5571 GB, free: 4.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001397/0.3628, allocations: 93.58 kB / 0.5572 GB, free: 4.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.3628, allocations: 8 kB / 0.5572 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3628, allocations: 0 / 0.5572 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.3628, allocations: 3.938 kB / 0.5572 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.3629, allocations: 19.98 kB / 0.5572 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.3629, allocations: 0 / 0.5572 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.363, allocations: 4 kB / 0.5572 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.363, allocations: 0 / 0.5572 GB, free: 4.602 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.106e-05/0.3631, allocations: 118.3 kB / 0.5573 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.3631, allocations: 11.91 kB / 0.5574 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.3633, allocations: 106.1 kB / 0.5575 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3633, allocations: 0 / 0.5575 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3633, allocations: 0 / 0.5575 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3633, allocations: 7.891 kB / 0.5575 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.3637, allocations: 364 kB / 0.5578 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3637, allocations: 11.97 kB / 0.5578 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.3638, allocations: 23.83 kB / 0.5578 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3638, allocations: 0 / 0.5578 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3638, allocations: 288 / 0.5578 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3638, allocations: 4 kB / 0.5579 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3638, allocations: 0 / 0.5579 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001965/0.364, allocations: 217.8 kB / 0.5581 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.3641, allocations: 89 kB / 0.5581 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3641, allocations: 4 kB / 0.5581 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.3642, allocations: 4 kB / 0.5582 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3642, allocations: 7.984 kB / 0.5582 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3642, allocations: 4 kB / 0.5582 GB, free: 3.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.522e-05/0.3643, allocations: 119 kB / 0.5583 GB, free: 3.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.3646, allocations: 47.83 kB / 0.5583 GB, free: 3.383 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007031/0.3653, allocations: 386.5 kB / 0.5587 GB, free: 3.039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.3654, allocations: 63.86 kB / 0.5588 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3654, allocations: 0 / 0.5588 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.3655, allocations: 28 kB / 0.5588 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3657, allocations: 27.84 kB / 0.5588 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.3661, allocations: 140.1 kB / 0.5589 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.3664, allocations: 0.7271 MB / 0.5596 GB, free: 2.004 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3664, allocations: 0 / 0.5596 GB, free: 2.004 MB / 394.7 MB Notification: Performance of Templates: time 0.004008/0.3704, allocations: 1.952 MB / 0.5616 GB, free: 64 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)