Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") [: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.2+maint.om/package.mo): time 0.002807/0.002807, allocations: 181.5 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.402/1.402, allocations: 194.2 MB / 202.1 MB, free: 8.766 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002071/0.002071, allocations: 113.9 kB / 247.1 MB, free: 6.277 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1919/0.1919, allocations: 39.95 MB / 331.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.113e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 54.87 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/0.4769, allocations: 79.85 MB / 0.5151 GB, free: 9.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.4772, allocations: 63.95 kB / 0.5152 GB, free: 9.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01811/0.4954, allocations: 5.814 MB / 0.5209 GB, free: 9.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.4954, allocations: 1 kB / 0.5209 GB, free: 9.121 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003094/0.4957, allocations: 363.5 kB / 0.5212 GB, free: 8.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4958, allocations: 9.969 kB / 0.5212 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.4958, allocations: 3.906 kB / 0.5212 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.496, allocations: 167 kB / 0.5214 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.496, allocations: 4.719 kB / 0.5214 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.496, allocations: 1.156 kB / 0.5214 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.114e-05/0.4961, allocations: 1.031 kB / 0.5214 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.735e-05/0.4961, allocations: 27.95 kB / 0.5214 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4961, allocations: 0 / 0.5214 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.4962, allocations: 0 / 0.5214 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4962, allocations: 0.6562 kB / 0.5214 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.4963, allocations: 127.2 kB / 0.5215 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.4963, allocations: 32.91 kB / 0.5216 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.4964, allocations: 8.797 kB / 0.5216 GB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.4964, allocations: 1.219 kB / 0.5216 GB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.4964, allocations: 57.33 kB / 0.5216 GB, free: 8.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4964, allocations: 0 / 0.5216 GB, free: 8.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.4966, allocations: 32.83 kB / 0.5217 GB, free: 8.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4966, allocations: 78.27 kB / 0.5217 GB, free: 8.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.734e-05/0.4967, allocations: 89.03 kB / 0.5218 GB, free: 7.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.4967, allocations: 26.86 kB / 0.5219 GB, free: 7.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.4967, allocations: 80.14 kB / 0.5219 GB, free: 7.871 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.4967, allocations: 1 kB / 0.5219 GB, free: 7.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.4967, allocations: 0 / 0.5219 GB, free: 7.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.4968, allocations: 323.6 kB / 0.5222 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-06/0.4968, allocations: 0 / 0.5222 GB, free: 7.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.4968, allocations: 0.9688 kB / 0.5222 GB, free: 7.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.4969, allocations: 5.125 kB / 0.5222 GB, free: 7.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4969, allocations: 0.9688 kB / 0.5222 GB, free: 7.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.953e-05/0.4969, allocations: 33.83 kB / 0.5223 GB, free: 7.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4969, allocations: 4.562 kB / 0.5223 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.497, allocations: 1.188 kB / 0.5223 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.497, allocations: 0 / 0.5223 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.497, allocations: 0 / 0.5223 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.497, allocations: 1.125 kB / 0.5223 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.497, allocations: 0 / 0.5223 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.497, allocations: 1.469 kB / 0.5223 GB, free: 7.512 MB / 346.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 6.277e-05/0.4971, allocations: 139.8 kB / 0.5224 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.4971, allocations: 0.9688 kB / 0.5224 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.4971, allocations: 6.953 kB / 0.5224 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4971, allocations: 1.344 kB / 0.5224 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4971, allocations: 0 / 0.5224 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4971, allocations: 0 / 0.5224 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.297e-05/0.4972, allocations: 123.6 kB / 0.5225 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4972, allocations: 5 kB / 0.5225 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.4972, allocations: 0 / 0.5225 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4972, allocations: 5.078 kB / 0.5226 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.4972, allocations: 4 kB / 0.5226 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4972, allocations: 5.125 kB / 0.5226 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4973, allocations: 0 / 0.5226 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.406e-05/0.4973, allocations: 60.64 kB / 0.5226 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.4974, allocations: 90.12 kB / 0.5227 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.4974, allocations: 3.984 kB / 0.5227 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.4974, allocations: 1 kB / 0.5227 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.4974, allocations: 5.312 kB / 0.5227 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.4974, allocations: 0 / 0.5227 GB, free: 7.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.094e-05/0.4974, allocations: 76.28 kB / 0.5228 GB, free: 6.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.4977, allocations: 3.219 kB / 0.5228 GB, free: 6.93 MB / 346.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 9.018e-05/0.4978, allocations: 90.41 kB / 0.5229 GB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.4978, allocations: 33.05 kB / 0.5229 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4978, allocations: 3.656 kB / 0.5229 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.4979, allocations: 28.02 kB / 0.5229 GB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.498, allocations: 5.188 kB / 0.5229 GB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001366/0.4981, allocations: 47.5 kB / 0.523 GB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.4983, allocations: 0.6793 MB / 0.5237 GB, free: 6.004 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4983, allocations: 0 / 0.5237 GB, free: 6.004 MB / 346.7 MB Notification: Performance of Templates: time 0.001837/0.5001, allocations: 178.5 kB / 0.5238 GB, free: 5.926 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1)