Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5") [: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.005244/0.005244, allocations: 178.9 kB / 7.451 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.246/1.246, 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.001816/0.001816, allocations: 111.8 kB / 217.7 MB, free: 8.164 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.1749/0.1749, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.995e-06, allocations: 1.25 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08949, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.312/0.4015, allocations: 73.7 MB / 471.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.4017, allocations: 67.64 kB / 472 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.00692/0.4087, allocations: 2.655 MB / 474.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.4087, allocations: 3.188 kB / 474.6 MB, free: 13.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003103/0.409, allocations: 410.8 kB / 475 MB, free: 12.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4091, allocations: 14.34 kB / 475 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.4091, allocations: 10.28 kB / 475.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.4093, allocations: 203.7 kB / 475.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4094, allocations: 0 / 475.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.4094, allocations: 3.219 kB / 475.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.316e-05/0.4095, allocations: 17.12 kB / 475.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.313e-05/0.4095, allocations: 39.88 kB / 475.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4095, allocations: 0 / 475.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.4096, allocations: 0 / 475.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4096, allocations: 3.75 kB / 475.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.4099, allocations: 261.4 kB / 475.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.41, allocations: 33.64 kB / 475.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.4101, allocations: 12.67 kB / 475.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.4101, allocations: 0 / 475.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.4101, allocations: 36.03 kB / 475.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4101, allocations: 4 kB / 475.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004159/0.4106, allocations: 112.7 kB / 475.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.4106, allocations: 51.41 kB / 475.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.4108, allocations: 190.6 kB / 476 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4108, allocations: 25.7 kB / 476 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.4108, allocations: 93.88 kB / 476.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.4109, allocations: 18.97 kB / 476.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.4109, allocations: 3.938 kB / 476.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.411, allocations: 320.4 kB / 476.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.4111, allocations: 13 kB / 476.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.4111, allocations: 10.31 kB / 476.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.4111, allocations: 13.06 kB / 476.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4111, allocations: 0 / 476.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001/0.4112, allocations: 69.97 kB / 476.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4113, allocations: 6.375 kB / 476.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4113, allocations: 4 kB / 476.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4113, allocations: 3.938 kB / 476.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.4114, allocations: 17.48 kB / 476.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.4114, allocations: 0 / 476.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.4115, allocations: 3.719 kB / 476.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4115, allocations: 3.75 kB / 476.6 MB, free: 11.57 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.636e-05/0.4115, allocations: 108.9 kB / 476.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.4116, allocations: 11.34 kB / 476.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.4117, allocations: 76.59 kB / 476.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4117, allocations: 4 kB / 476.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4118, allocations: 0 / 476.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4118, allocations: 0 / 476.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.4121, allocations: 323.4 kB / 477.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4121, allocations: 0 / 477.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.4121, allocations: 22.61 kB / 477.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4122, allocations: 3.688 kB / 477.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.4122, allocations: 3.984 kB / 477.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4122, allocations: 6.75 kB / 477.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4122, allocations: 3.984 kB / 477.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001129/0.4123, allocations: 156.4 kB / 477.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.4124, allocations: 96.45 kB / 477.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4124, allocations: 6.953 kB / 477.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.4125, allocations: 3.875 kB / 477.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.4125, allocations: 6.969 kB / 477.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.4126, allocations: 0 / 477.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.531e-05/0.4127, allocations: 154.4 kB / 477.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.4129, allocations: 15.62 kB / 477.6 MB, free: 10.8 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003624/0.4133, allocations: 199.5 kB / 477.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.4134, allocations: 55.39 kB / 477.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4134, allocations: 0 / 477.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.4134, allocations: 14.56 kB / 477.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.4136, allocations: 9.484 kB / 477.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.414, allocations: 167.1 kB / 478 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.4143, allocations: 0.7161 MB / 478.7 MB, free: 25.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4143, allocations: 4 kB / 478.7 MB, free: 25.82 MB / 346.7 MB Notification: Performance of Templates: time 0.003045/0.4173, allocations: 1.004 MB / 479.7 MB, free: 25.71 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1)