Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") [: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.002737/0.002737, allocations: 176.7 kB / 7.452 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.108/1.108, allocations: 170.6 MB / 178.4 MB, free: 15.77 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.00159/0.00159, allocations: 108.6 kB / 217.7 MB, free: 8.555 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.2017/0.2017, allocations: 37.97 MB / 294.8 MB, free: 9.656 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.038e-05, allocations: 2.844 kB / 349.5 MB, free: 37.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.09836, allocations: 48.71 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.4382, allocations: 74.9 MB / 473.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4385, allocations: 66.31 kB / 473.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01223/0.4508, allocations: 5.021 MB / 478.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.4509, allocations: 6.625 kB / 478.2 MB, free: 13.43 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.0008015/0.4517, allocations: 0.6446 MB / 478.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.4517, allocations: 9.594 kB / 478.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.4519, allocations: 42.66 kB / 478.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.4528, allocations: 440.1 kB / 479.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.4529, allocations: 5.641 kB / 479.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4529, allocations: 3.875 kB / 479.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.453, allocations: 21.27 kB / 479.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4531, allocations: 63.02 kB / 479.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4532, allocations: 0 / 479.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.4532, allocations: 7.781 kB / 479.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4532, allocations: 0 / 479.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.4538, allocations: 355.8 kB / 479.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4539, allocations: 61.28 kB / 479.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.4539, allocations: 24.16 kB / 479.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.454, allocations: 4 kB / 479.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.4541, allocations: 78.95 kB / 479.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.4541, allocations: 0 / 479.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003784/0.4545, allocations: 121.8 kB / 480.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4546, allocations: 84.98 kB / 480.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.4558, allocations: 0.8622 MB / 481 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4558, allocations: 25.7 kB / 481 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.4559, allocations: 133.6 kB / 481.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.456, allocations: 17.97 kB / 481.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.456, allocations: 0 / 481.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.4561, allocations: 362.5 kB / 481.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.4561, allocations: 32.11 kB / 481.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.4562, allocations: 49.73 kB / 481.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.766e-05/0.4563, allocations: 37.31 kB / 481.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4563, allocations: 3.938 kB / 481.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002646/0.4566, allocations: 168.7 kB / 481.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4566, allocations: 3.906 kB / 481.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4566, allocations: 0 / 481.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4566, allocations: 0 / 481.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.4567, allocations: 11.69 kB / 481.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4567, allocations: 7.047 kB / 481.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4569, allocations: 11.69 kB / 481.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4569, allocations: 11.97 kB / 481.9 MB, free: 11.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 6.271e-05/0.4569, allocations: 108.8 kB / 482 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.457, allocations: 49.97 kB / 482 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.4573, allocations: 142.7 kB / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4573, allocations: 3.875 kB / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4573, allocations: 0 / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4573, allocations: 3.562 kB / 482.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4576, allocations: 335.8 kB / 482.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4576, allocations: 0 / 482.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.4576, allocations: 11.91 kB / 482.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4576, allocations: 0 / 482.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4577, allocations: 3.516 kB / 482.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4577, allocations: 7.828 kB / 482.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4577, allocations: 0 / 482.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002136/0.4579, allocations: 162.5 kB / 482.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.4581, allocations: 188.3 kB / 482.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.4582, allocations: 7.5 kB / 482.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.4583, allocations: 7.188 kB / 482.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.4584, allocations: 7.812 kB / 482.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4584, allocations: 7.266 kB / 482.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0007325/0.4591, allocations: 0.6686 MB / 483.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.4595, allocations: 99.62 kB / 483.7 MB, free: 10.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007831/0.4603, allocations: 342.2 kB / 484 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.4605, allocations: 129.3 kB / 484.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4605, allocations: 0 / 484.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.4606, allocations: 32.47 kB / 484.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.4609, allocations: 40.81 kB / 484.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.462, allocations: 0.7054 MB / 484.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.4625, allocations: 0.8707 MB / 485.8 MB, free: 25.55 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4625, allocations: 0 / 485.8 MB, free: 25.55 MB / 346.7 MB Notification: Performance of Templates: time 0.007801/0.4703, allocations: 3.539 MB / 489.3 MB, free: 25.16 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)