Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") [: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.1+maint.om/package.mo): time 0.002772/0.002772, allocations: 178.4 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.222/1.222, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001687/0.001687, allocations: 113.1 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.165/0.165, allocations: 37.98 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.218e-05, allocations: 3.375 kB / 349.5 MB, free: 37.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09246, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4143, allocations: 75.04 MB / 473.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4146, allocations: 67.81 kB / 473.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01041/0.425, allocations: 3.713 MB / 477 MB, free: 13.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.425, allocations: 0 / 477 MB, free: 13.6 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004558/0.4255, allocations: 429 kB / 477.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4256, allocations: 8.531 kB / 477.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.4256, allocations: 7.844 kB / 477.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.4259, allocations: 196.3 kB / 477.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4259, allocations: 2.766 kB / 477.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.4259, allocations: 7.828 kB / 477.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.644e-05/0.426, allocations: 11.25 kB / 477.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.4261, allocations: 48.05 kB / 477.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4261, allocations: 3.969 kB / 477.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4261, allocations: 11.88 kB / 477.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4261, allocations: 0 / 477.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.4265, allocations: 271.2 kB / 478 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.4267, allocations: 35.47 kB / 478 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.4267, allocations: 11.92 kB / 478.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4267, allocations: 0 / 478.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.836e-05/0.4268, allocations: 57.58 kB / 478.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4268, allocations: 0 / 478.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003391/0.4272, allocations: 102.1 kB / 478.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.4272, allocations: 51.41 kB / 478.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4273, allocations: 170.4 kB / 478.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.4274, allocations: 25.7 kB / 478.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.4274, allocations: 90.64 kB / 478.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.4274, allocations: 14.19 kB / 478.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.4274, allocations: 4 kB / 478.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.4275, allocations: 327.4 kB / 478.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.4276, allocations: 17.19 kB / 478.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.4276, allocations: 21.19 kB / 478.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/0.4276, allocations: 25.81 kB / 478.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4276, allocations: 0 / 478.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001364/0.4278, allocations: 94.45 kB / 479 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4278, allocations: 7.75 kB / 479 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4278, allocations: 0 / 479 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4278, allocations: 4 kB / 479 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.4279, allocations: 10.94 kB / 479.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4279, allocations: 7.844 kB / 479.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.428, allocations: 7.812 kB / 479.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.428, allocations: 3.875 kB / 479.1 MB, free: 11.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 5.91e-05/0.428, allocations: 109 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.4281, allocations: 7.781 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.4283, allocations: 93.94 kB / 479.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4283, allocations: 3.875 kB / 479.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4283, allocations: 0 / 479.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4283, allocations: 0 / 479.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.4286, allocations: 324.7 kB / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4286, allocations: 3.906 kB / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.4286, allocations: 7.75 kB / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4286, allocations: 0 / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4286, allocations: 0 / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4286, allocations: 3.094 kB / 479.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4287, allocations: 7.875 kB / 479.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001273/0.4288, allocations: 166.2 kB / 479.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.4288, allocations: 87.98 kB / 479.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.4289, allocations: 3.938 kB / 479.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.4289, allocations: 3.938 kB / 479.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.429, allocations: 5.875 kB / 479.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.429, allocations: 3.938 kB / 479.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.836e-05/0.4291, allocations: 133.1 kB / 480 MB, free: 11.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.4294, allocations: 34.17 kB / 480.1 MB, free: 11.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005649/0.4299, allocations: 281 kB / 480.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.4301, allocations: 73.36 kB / 480.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4301, allocations: 3.938 kB / 480.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.4301, allocations: 14.78 kB / 480.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.4304, allocations: 21.86 kB / 480.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.4308, allocations: 136.8 kB / 480.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.4311, allocations: 0.7279 MB / 481.3 MB, free: 26.12 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4311, allocations: 3.938 kB / 481.3 MB, free: 26.12 MB / 346.7 MB Notification: Performance of Templates: time 0.003794/0.4349, allocations: 1.447 MB / 482.8 MB, free: 25.95 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)