Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60") [: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.001077/0.001077, allocations: 181.9 kB / 7.454 MB, free: 1.559 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.227/1.227, allocations: 170.6 MB / 178.4 MB, free: 3.969 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001939/0.001939, allocations: 111.9 kB / 217.7 MB, free: 12.71 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1921/0.1921, allocations: 37.98 MB / 294.8 MB, free: 76 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.376e-06, allocations: 0 / 349.5 MB, free: 29.17 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09701, allocations: 48.7 MB / 398.2 MB, free: 12.45 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/0.384, allocations: 75.31 MB / 473.5 MB, free: 8.43 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.3843, allocations: 71.53 kB / 473.6 MB, free: 8.418 MB / 306.8 MB Notification: Performance of FrontEnd: time 0.01633/0.4006, allocations: 6.059 MB / 479.6 MB, free: 4.836 MB / 306.8 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.4007, allocations: 4 kB / 479.7 MB, free: 4.832 MB / 306.8 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.000407/0.4011, allocations: 430.5 kB / 480.1 MB, free: 4.371 MB / 306.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4011, allocations: 12.03 kB / 480.1 MB, free: 4.359 MB / 306.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.4012, allocations: 11.89 kB / 480.1 MB, free: 4.348 MB / 306.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.4014, allocations: 201.5 kB / 480.3 MB, free: 4.121 MB / 306.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4014, allocations: 0 / 480.3 MB, free: 4.121 MB / 306.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.4014, allocations: 7.938 kB / 480.3 MB, free: 4.113 MB / 306.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.516e-05/0.4015, allocations: 11.31 kB / 480.3 MB, free: 4.105 MB / 306.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.4016, allocations: 62.47 kB / 480.4 MB, free: 4.035 MB / 306.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4016, allocations: 0 / 480.4 MB, free: 4.035 MB / 306.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4016, allocations: 4 kB / 480.4 MB, free: 4.031 MB / 306.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4017, allocations: 4 kB / 480.4 MB, free: 4.027 MB / 306.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.402, allocations: 258.7 kB / 480.6 MB, free: 3.754 MB / 306.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.4022, allocations: 33.28 kB / 480.7 MB, free: 3.719 MB / 306.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.4022, allocations: 16.25 kB / 480.7 MB, free: 3.703 MB / 306.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.4022, allocations: 3.938 kB / 480.7 MB, free: 3.699 MB / 306.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.4023, allocations: 62.66 kB / 480.7 MB, free: 3.633 MB / 306.8 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.4023, allocations: 0 / 480.7 MB, free: 3.633 MB / 306.8 MB Notification: Performance of matching and sorting (n=5): time 0.0003441/0.4026, allocations: 92.17 kB / 480.8 MB, free: 3.547 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.4027, allocations: 81.11 kB / 480.9 MB, free: 3.449 MB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.4028, allocations: 123.7 kB / 481 MB, free: 3.332 MB / 306.8 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4028, allocations: 25.7 kB / 481.1 MB, free: 3.301 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.4029, allocations: 91.62 kB / 481.2 MB, free: 3.211 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.4029, allocations: 14.56 kB / 481.2 MB, free: 3.199 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.4029, allocations: 4 kB / 481.2 MB, free: 3.195 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.4029, allocations: 322 kB / 481.5 MB, free: 2.875 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/0.403, allocations: 18.62 kB / 481.5 MB, free: 2.863 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.403, allocations: 28.84 kB / 481.5 MB, free: 2.836 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.4031, allocations: 22.8 kB / 481.6 MB, free: 2.82 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.4031, allocations: 0 / 481.6 MB, free: 2.82 MB / 306.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001317/0.4032, allocations: 86.97 kB / 481.6 MB, free: 2.742 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4032, allocations: 7.984 kB / 481.6 MB, free: 2.734 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4033, allocations: 0 / 481.6 MB, free: 2.734 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4033, allocations: 4.031 kB / 481.6 MB, free: 2.73 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.4033, allocations: 8 kB / 481.7 MB, free: 2.723 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4033, allocations: 4 kB / 481.7 MB, free: 2.719 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.4034, allocations: 3.906 kB / 481.7 MB, free: 2.715 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4034, allocations: 7.375 kB / 481.7 MB, free: 2.711 MB / 306.8 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.857e-05/0.4035, allocations: 101 kB / 481.8 MB, free: 2.605 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.4035, allocations: 11.89 kB / 481.8 MB, free: 2.594 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.4037, allocations: 96.36 kB / 481.9 MB, free: 2.504 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4037, allocations: 96 / 481.9 MB, free: 2.504 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4037, allocations: 3.938 kB / 481.9 MB, free: 2.5 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4037, allocations: 0 / 481.9 MB, free: 2.5 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.4039, allocations: 315.2 kB / 482.2 MB, free: 2.176 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4039, allocations: 0 / 482.2 MB, free: 2.176 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.404, allocations: 11.92 kB / 482.2 MB, free: 2.164 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.404, allocations: 4 kB / 482.2 MB, free: 2.16 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.404, allocations: 0 / 482.2 MB, free: 2.16 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.404, allocations: 4 kB / 482.2 MB, free: 2.156 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.404, allocations: 0 / 482.2 MB, free: 2.156 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001179/0.4041, allocations: 165.6 kB / 482.4 MB, free: 1.988 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.4042, allocations: 89 kB / 482.5 MB, free: 1.883 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.4042, allocations: 0 / 482.5 MB, free: 1.883 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.4043, allocations: 0 / 482.5 MB, free: 1.883 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.4043, allocations: 7.312 kB / 482.5 MB, free: 1.879 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4043, allocations: 7.984 kB / 482.5 MB, free: 1.871 MB / 306.8 MB Notification: Performance of sort global known variables: time 6.017e-05/0.4044, allocations: 101.3 kB / 482.6 MB, free: 1.781 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.0003114/0.4047, allocations: 47.11 kB / 482.6 MB, free: 1.738 MB / 306.8 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.00065/0.4054, allocations: 336.6 kB / 482.9 MB, free: 1.461 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.4055, allocations: 64.08 kB / 483 MB, free: 1.402 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4055, allocations: 7.938 kB / 483 MB, free: 1.395 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.4056, allocations: 30.92 kB / 483 MB, free: 1.371 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.4058, allocations: 19.89 kB / 483.1 MB, free: 1.352 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.4061, allocations: 97.61 kB / 483.2 MB, free: 1.242 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.4063, allocations: 0.7075 MB / 483.9 MB, free: 0.5078 MB / 306.8 MB Notification: Performance of SimCode: time 2.61e-07/0.4063, allocations: 0 / 483.9 MB, free: 0.5078 MB / 306.8 MB Notification: Performance of Templates: time 0.004424/0.4108, allocations: 1.705 MB / 485.6 MB, free: 14.83 MB / 322.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)