Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") [: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.004553/0.004554, allocations: 177.5 kB / 7.453 MB, free: 2.508 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.261/1.261, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001673/0.001673, allocations: 115.8 kB / 217.7 MB, free: 8.152 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.1491/0.1491, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.028e-05, allocations: 3.625 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.0867, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2653/0.3521, allocations: 75.04 MB / 473.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.3523, allocations: 65.73 kB / 473.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009705/0.362, allocations: 3.65 MB / 477 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3621, allocations: 4 kB / 477 MB, free: 13.54 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.0003217/0.3624, allocations: 411.2 kB / 477.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3624, allocations: 11.78 kB / 477.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.3625, allocations: 7.875 kB / 477.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3627, allocations: 198.7 kB / 477.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3627, allocations: 3.906 kB / 477.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3627, allocations: 0 / 477.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.402e-05/0.3628, allocations: 14.39 kB / 477.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.392e-05/0.3629, allocations: 47.34 kB / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3629, allocations: 0 / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3629, allocations: 3.906 kB / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3629, allocations: 0 / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.3632, allocations: 268.2 kB / 477.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3634, allocations: 41.94 kB / 478 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.3634, allocations: 20.34 kB / 478 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3634, allocations: 0 / 478 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.427e-05/0.3635, allocations: 51.12 kB / 478 MB, free: 12.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3635, allocations: 3.875 kB / 478 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003138/0.3638, allocations: 96.88 kB / 478.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.3639, allocations: 51.41 kB / 478.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.364, allocations: 158.8 kB / 478.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.364, allocations: 25.7 kB / 478.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.3641, allocations: 94.64 kB / 478.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.3641, allocations: 17.34 kB / 478.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.3641, allocations: 3.938 kB / 478.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.3642, allocations: 321.4 kB / 478.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.3642, allocations: 17.72 kB / 478.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.3642, allocations: 24.59 kB / 478.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.3643, allocations: 24.83 kB / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3643, allocations: 0 / 478.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001376/0.3644, allocations: 96.12 kB / 478.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3645, allocations: 11.75 kB / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3645, allocations: 0 / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3645, allocations: 0 / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.3645, allocations: 11.08 kB / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.3646, allocations: 64 / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.3646, allocations: 7.844 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3646, allocations: 3.906 kB / 479 MB, free: 11.86 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.301e-05/0.3647, allocations: 112.8 kB / 479.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.3647, allocations: 7.75 kB / 479.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.3649, allocations: 89.28 kB / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3649, allocations: 0 / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3649, allocations: 3.906 kB / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3649, allocations: 0 / 479.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3651, allocations: 319 kB / 479.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3652, allocations: 0 / 479.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.3652, allocations: 7.75 kB / 479.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3652, allocations: 4 kB / 479.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3652, allocations: 6.234 kB / 479.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3652, allocations: 3.875 kB / 479.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3652, allocations: 0 / 479.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000117/0.3654, allocations: 166.3 kB / 479.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.3654, allocations: 88.8 kB / 479.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3654, allocations: 3.234 kB / 479.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.3655, allocations: 3.875 kB / 479.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3655, allocations: 4 kB / 479.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3656, allocations: 7.5 kB / 479.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.914e-05/0.3656, allocations: 125.2 kB / 479.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.3659, allocations: 40.98 kB / 480 MB, free: 11.1 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.0005251/0.3665, allocations: 269.6 kB / 480.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.3666, allocations: 71.98 kB / 480.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3666, allocations: 0 / 480.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.3667, allocations: 22 kB / 480.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3669, allocations: 16.59 kB / 480.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.3672, allocations: 136.5 kB / 480.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.3675, allocations: 0.7111 MB / 481.2 MB, free: 26.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3675, allocations: 3.938 kB / 481.2 MB, free: 26.09 MB / 346.7 MB Notification: Performance of Templates: time 0.003452/0.3709, allocations: 1.443 MB / 482.6 MB, free: 25.91 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)