Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") [: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.003498/0.003498, allocations: 174.9 kB / 7.448 MB, free: 2.496 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.32/1.32, 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.001749/0.001749, allocations: 103.9 kB / 217.7 MB, free: 8.223 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.1489/0.1489, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.004e-05, allocations: 2.938 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.08918, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/0.3544, allocations: 74.87 MB / 473.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3547, allocations: 70.42 kB / 473.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009224/0.3639, allocations: 3.468 MB / 476.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3639, allocations: 3.188 kB / 476.6 MB, free: 13.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003137/0.3643, allocations: 400.5 kB / 477 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3643, allocations: 7.594 kB / 477 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.3644, allocations: 11.31 kB / 477 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.3646, allocations: 199.2 kB / 477.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3646, allocations: 0 / 477.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3646, allocations: 7.625 kB / 477.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.727e-05/0.3647, allocations: 13.98 kB / 477.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.456e-05/0.3648, allocations: 42.22 kB / 477.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.3648, allocations: 0 / 477.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3648, allocations: 0 / 477.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3648, allocations: 3.875 kB / 477.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.365, allocations: 160.8 kB / 477.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.365, allocations: 29.45 kB / 477.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.365, allocations: 14.75 kB / 477.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3651, allocations: 0 / 477.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/0.3651, allocations: 51.61 kB / 477.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.3651, allocations: 3.875 kB / 477.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.3653, allocations: 54.97 kB / 477.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.581e-05/0.3653, allocations: 57.84 kB / 477.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3654, allocations: 155.6 kB / 477.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3655, allocations: 29.2 kB / 477.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/0.3655, allocations: 85.98 kB / 477.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3655, allocations: 12.7 kB / 477.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.3655, allocations: 0 / 477.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.518e-05/0.3656, allocations: 320.2 kB / 478.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.3656, allocations: 13.75 kB / 478.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.3657, allocations: 17.16 kB / 478.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.3657, allocations: 28.73 kB / 478.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3657, allocations: 0 / 478.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001179/0.3658, allocations: 79.23 kB / 478.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.3658, allocations: 7.781 kB / 478.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3659, allocations: 0 / 478.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3659, allocations: 3.844 kB / 478.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.3659, allocations: 6.812 kB / 478.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.3659, allocations: 0 / 478.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.366, allocations: 11.72 kB / 478.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.366, allocations: 7.438 kB / 478.4 MB, free: 11.91 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 (5): * Single equations (assignments): 4 * 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 4.504e-05/0.3661, allocations: 104.9 kB / 478.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.3661, allocations: 11.86 kB / 478.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3662, allocations: 74.11 kB / 478.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3662, allocations: 3.906 kB / 478.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3662, allocations: 0 / 478.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3662, allocations: 3.938 kB / 478.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.343e-05/0.3663, allocations: 155 kB / 478.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3663, allocations: 3.938 kB / 478.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.3663, allocations: 7.375 kB / 478.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3664, allocations: 3.844 kB / 478.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3664, allocations: 3.312 kB / 478.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3664, allocations: 0 / 478.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3664, allocations: 3.906 kB / 478.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.014e-05/0.3665, allocations: 81.34 kB / 478.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.3665, allocations: 84.86 kB / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3665, allocations: 3.844 kB / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.3666, allocations: 4 kB / 479 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.3666, allocations: 6.047 kB / 479 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3667, allocations: 3.562 kB / 479 MB, free: 11.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.635e-05/0.3667, allocations: 128.4 kB / 479.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.3669, allocations: 23.25 kB / 479.1 MB, free: 11.32 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 (4): * Single equations (assignments): 3 * 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.0004278/0.3674, allocations: 244.5 kB / 479.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.3675, allocations: 64.52 kB / 479.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3675, allocations: 0 / 479.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.3675, allocations: 14.91 kB / 479.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.3677, allocations: 12.66 kB / 479.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.368, allocations: 121.6 kB / 479.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.3682, allocations: 0.7126 MB / 480.3 MB, free: 26.34 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3683, allocations: 0 / 480.3 MB, free: 26.34 MB / 346.7 MB Notification: Performance of Templates: time 0.003254/0.3715, allocations: 1.237 MB / 481.5 MB, free: 26.18 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)