Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") [: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.002754/0.002754, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.16/1.16, 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.001626/0.001626, allocations: 104.5 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.169/0.169, allocations: 37.98 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.038e-05, allocations: 2.812 kB / 349.5 MB, free: 37.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09801, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3067/0.4048, allocations: 74.98 MB / 473.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.405, allocations: 72.72 kB / 473.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009735/0.4148, allocations: 3.457 MB / 476.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4148, allocations: 0 / 476.7 MB, free: 13.52 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.0003653/0.4152, allocations: 414.3 kB / 477.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4152, allocations: 11.62 kB / 477.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.4153, allocations: 7.844 kB / 477.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.4155, allocations: 194.2 kB / 477.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.4155, allocations: 0 / 477.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.4156, allocations: 7.75 kB / 477.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.719e-05/0.4156, allocations: 13.86 kB / 477.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.4157, allocations: 51.09 kB / 477.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4158, allocations: 3.938 kB / 477.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4158, allocations: 0 / 477.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4158, allocations: 3.938 kB / 477.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.4161, allocations: 266.6 kB / 477.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4163, allocations: 31.69 kB / 477.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.4163, allocations: 15.09 kB / 477.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.4164, allocations: 3.781 kB / 477.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.182e-05/0.4164, allocations: 52.27 kB / 477.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4165, allocations: 4 kB / 477.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003332/0.4168, allocations: 93.73 kB / 477.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.4168, allocations: 51.41 kB / 477.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4169, allocations: 134.3 kB / 478.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.417, allocations: 29.14 kB / 478.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.417, allocations: 90.89 kB / 478.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.417, allocations: 18.19 kB / 478.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.417, allocations: 0 / 478.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.4171, allocations: 325.6 kB / 478.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.4171, allocations: 21.39 kB / 478.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.4172, allocations: 18.22 kB / 478.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.4172, allocations: 28.41 kB / 478.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4172, allocations: 0 / 478.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001324/0.4174, allocations: 87.73 kB / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.4174, allocations: 7.688 kB / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4174, allocations: 0 / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4174, allocations: 0 / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.4175, allocations: 10.52 kB / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.4175, allocations: 8 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.4175, allocations: 7.781 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4176, allocations: 3.438 kB / 478.7 MB, free: 11.84 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.658e-05/0.4176, allocations: 111.9 kB / 478.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.4176, allocations: 15.56 kB / 478.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.4178, allocations: 80.59 kB / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4178, allocations: 0 / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4178, allocations: 6.391 kB / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4178, allocations: 0 / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.4182, allocations: 316.9 kB / 479.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4182, allocations: 0 / 479.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.4182, allocations: 6.375 kB / 479.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4182, allocations: 3.719 kB / 479.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4182, allocations: 0 / 479.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4182, allocations: 0 / 479.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4182, allocations: 0 / 479.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001159/0.4184, allocations: 167.4 kB / 479.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.4184, allocations: 92.8 kB / 479.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.4184, allocations: 5.875 kB / 479.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.4185, allocations: 3.844 kB / 479.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.4186, allocations: 2.109 kB / 479.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4186, allocations: 3.719 kB / 479.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.557e-05/0.4186, allocations: 111.1 kB / 479.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.4189, allocations: 30.19 kB / 479.6 MB, free: 11.08 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.0005218/0.4194, allocations: 274.4 kB / 479.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.4196, allocations: 74.62 kB / 480 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4196, allocations: 4 kB / 480 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.4196, allocations: 18.84 kB / 480 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4199, allocations: 10.67 kB / 480 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.4202, allocations: 113 kB / 480.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.4206, allocations: 0.709 MB / 480.8 MB, free: 26.08 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4206, allocations: 7.125 kB / 480.8 MB, free: 26.07 MB / 346.7 MB Notification: Performance of Templates: time 0.003681/0.4243, allocations: 1.405 MB / 482.2 MB, free: 25.89 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)