Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48") [: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.003753/0.003753, allocations: 175.8 kB / 7.447 MB, free: 2.008 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.435/1.435, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001697/0.001697, allocations: 112.4 kB / 217.7 MB, free: 8.16 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.1518/0.1518, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.253e-05/1.256e-05, allocations: 2.906 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08862, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.3483, allocations: 75.04 MB / 473.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.3485, allocations: 69.98 kB / 473.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009552/0.3581, allocations: 3.951 MB / 477.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.3581, allocations: 0 / 477.3 MB, free: 13.38 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.0003088/0.3585, allocations: 434.6 kB / 477.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3585, allocations: 7.625 kB / 477.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3585, allocations: 19.59 kB / 477.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3587, allocations: 207.1 kB / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3588, allocations: 0 / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3588, allocations: 7.875 kB / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.06e-05/0.3589, allocations: 13.3 kB / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.185e-05/0.3589, allocations: 45.86 kB / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.359, allocations: 0 / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.359, allocations: 0 / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.359, allocations: 0.75 kB / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.3593, allocations: 291.2 kB / 478.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3594, allocations: 38.28 kB / 478.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.3595, allocations: 14.25 kB / 478.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.3595, allocations: 3.781 kB / 478.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.3595, allocations: 54.78 kB / 478.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3595, allocations: 0 / 478.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002771/0.3598, allocations: 115.7 kB / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.3599, allocations: 55.34 kB / 478.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.36, allocations: 220.1 kB / 478.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.36, allocations: 29.48 kB / 478.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.448e-05/0.3601, allocations: 90.28 kB / 478.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.3601, allocations: 15.03 kB / 478.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-06/0.3601, allocations: 0 / 478.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.3602, allocations: 322.9 kB / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.3602, allocations: 28.06 kB / 479.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.3602, allocations: 16.94 kB / 479.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.3603, allocations: 29.12 kB / 479.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3603, allocations: 0 / 479.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001369/0.3604, allocations: 97.95 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.3605, allocations: 3.188 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.3605, allocations: 3.219 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.3605, allocations: 0 / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.3605, allocations: 8.906 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3605, allocations: 64 / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.3606, allocations: 11.19 kB / 479.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3606, allocations: 7.156 kB / 479.4 MB, free: 11.66 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.184e-05/0.3607, allocations: 112 kB / 479.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.3607, allocations: 11.03 kB / 479.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.3608, allocations: 89.2 kB / 479.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3609, allocations: 0 / 479.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3609, allocations: 0 / 479.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3609, allocations: 0 / 479.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3611, allocations: 353.3 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3611, allocations: 2.578 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.3612, allocations: 6.5 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3612, allocations: 3.938 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3612, allocations: 0 / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3612, allocations: 3.188 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3612, allocations: 0 / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001077/0.3613, allocations: 174.6 kB / 480.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3614, allocations: 97.52 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.3614, allocations: 3.25 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.3615, allocations: 3.219 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.3615, allocations: 6.844 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3615, allocations: 3.188 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001234/0.3617, allocations: 173.7 kB / 480.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.3619, allocations: 37.39 kB / 480.5 MB, free: 10.9 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.0005133/0.3624, allocations: 278.7 kB / 480.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.3626, allocations: 74.8 kB / 480.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3626, allocations: 4 kB / 480.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.3626, allocations: 19.94 kB / 480.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3628, allocations: 20.55 kB / 480.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.3632, allocations: 185.7 kB / 481 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.3635, allocations: 0.7334 MB / 481.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3635, allocations: 3.938 kB / 481.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of Templates: time 0.003553/0.367, allocations: 1.566 MB / 483.3 MB, free: 25.68 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)