Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") [: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.003009/0.003009, allocations: 171.8 kB / 7.446 MB, free: 2.512 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.109/1.109, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.00201/0.00201, allocations: 115.8 kB / 217.7 MB, free: 8.152 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.1718/0.1718, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.025e-05, allocations: 2.375 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4808, allocations: 74.9 MB / 473.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4811, allocations: 66.72 kB / 473.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01231/0.4934, allocations: 5.065 MB / 478.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.4935, allocations: 7.844 kB / 478.3 MB, free: 13.3 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.0005875/0.4941, allocations: 0.6518 MB / 478.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4941, allocations: 7.75 kB / 478.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.4943, allocations: 42.84 kB / 479 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.4949, allocations: 450 kB / 479.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.4949, allocations: 3.938 kB / 479.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4949, allocations: 7.75 kB / 479.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.528e-05/0.495, allocations: 18.3 kB / 479.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.414e-05/0.4951, allocations: 62.92 kB / 479.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4951, allocations: 0 / 479.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4951, allocations: 7.938 kB / 479.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4951, allocations: 3.906 kB / 479.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.4955, allocations: 359.2 kB / 479.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4956, allocations: 55.19 kB / 479.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.4956, allocations: 27.62 kB / 479.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.4957, allocations: 7.984 kB / 479.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.12e-05/0.4958, allocations: 78.72 kB / 480 MB, free: 12.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4958, allocations: 0 / 480 MB, free: 12.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002541/0.496, allocations: 123.2 kB / 480.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4961, allocations: 81.05 kB / 480.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.497, allocations: 0.8841 MB / 481.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.497, allocations: 29.58 kB / 481.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.4971, allocations: 140.2 kB / 481.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4971, allocations: 13 kB / 481.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.4971, allocations: 0 / 481.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.4972, allocations: 371.4 kB / 481.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.4973, allocations: 28.59 kB / 481.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.4974, allocations: 50.09 kB / 481.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.735e-05/0.4974, allocations: 38.94 kB / 481.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4974, allocations: 0 / 481.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002224/0.4977, allocations: 165.3 kB / 481.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.4977, allocations: 7.719 kB / 481.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4977, allocations: 3.047 kB / 481.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4977, allocations: 0 / 481.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.4978, allocations: 15.59 kB / 481.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4978, allocations: 0 / 481.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.4979, allocations: 14.02 kB / 482 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.4979, allocations: 15.7 kB / 482 MB, free: 11.29 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.187e-05/0.498, allocations: 108.1 kB / 482.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.4981, allocations: 49.5 kB / 482.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.4983, allocations: 143.6 kB / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4983, allocations: 0 / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4983, allocations: 0 / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4983, allocations: 96 / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.4986, allocations: 347.8 kB / 482.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4986, allocations: 128 / 482.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.4986, allocations: 11.91 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4987, allocations: 3.688 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4987, allocations: 3 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4987, allocations: 3.938 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4987, allocations: 0 / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000182/0.4989, allocations: 170 kB / 482.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.4991, allocations: 182.9 kB / 483 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.4992, allocations: 3.875 kB / 483 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.4992, allocations: 13.02 kB / 483 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.4993, allocations: 6.656 kB / 483 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.4993, allocations: 3.875 kB / 483 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006205/0.4999, allocations: 0.6947 MB / 483.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.5003, allocations: 88.34 kB / 483.8 MB, free: 10.59 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.0006534/0.5009, allocations: 354 kB / 484.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.5011, allocations: 124.3 kB / 484.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5011, allocations: 0 / 484.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.5012, allocations: 32.05 kB / 484.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.5015, allocations: 39.67 kB / 484.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.5024, allocations: 0.7322 MB / 485 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.5029, allocations: 0.8724 MB / 485.9 MB, free: 25.41 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5029, allocations: 0 / 485.9 MB, free: 25.41 MB / 346.7 MB Notification: Performance of Templates: time 0.007014/0.5099, allocations: 3.596 MB / 489.5 MB, free: 25.02 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)