Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.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.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear") [: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.003899/0.003899, allocations: 182.6 kB / 7.458 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.4/1.4, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.00181/0.00181, allocations: 125.5 kB / 247.1 MB, free: 6.355 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.1783/0.1783, allocations: 39.95 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.963e-06/7.103e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09407/0.09409, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.3981, allocations: 82.62 MB / 0.5178 GB, free: 9.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.3983, allocations: 65.03 kB / 0.5179 GB, free: 9.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03714/0.4355, allocations: 12.49 MB / 0.5301 GB, free: 5.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4355, allocations: 3.938 kB / 0.5301 GB, free: 5.441 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006373/0.4362, allocations: 457.9 kB / 0.5305 GB, free: 4.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4362, allocations: 8.031 kB / 0.5305 GB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.4363, allocations: 75.28 kB / 0.5306 GB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.067e-05/0.4363, allocations: 242.2 kB / 0.5308 GB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.4364, allocations: 150.6 kB / 0.531 GB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.4364, allocations: 150.6 kB / 0.5311 GB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.433e-05/0.4364, allocations: 162.5 kB / 0.5313 GB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.585e-05/0.4365, allocations: 101 kB / 0.5314 GB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4365, allocations: 82.91 kB / 0.5315 GB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.4365, allocations: 150.6 kB / 0.5316 GB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.4366, allocations: 150.6 kB / 0.5317 GB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.4367, allocations: 426.4 kB / 0.5321 GB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.4368, allocations: 173.1 kB / 0.5323 GB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.4368, allocations: 83.95 kB / 0.5324 GB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.4368, allocations: 79.27 kB / 0.5325 GB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.4369, allocations: 131.5 kB / 0.5326 GB, free: 2.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4369, allocations: 4 kB / 0.5326 GB, free: 2.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.99e-05/0.437, allocations: 29.7 kB / 0.5326 GB, free: 2.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.437, allocations: 77.11 kB / 0.5327 GB, free: 2.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.451e-05/0.437, allocations: 85 kB / 0.5328 GB, free: 2.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.437, allocations: 25.7 kB / 0.5328 GB, free: 2.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.567e-05/0.4371, allocations: 80.14 kB / 0.5329 GB, free: 2.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.4371, allocations: 0 / 0.5329 GB, free: 2.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-07/0.4371, allocations: 0 / 0.5329 GB, free: 2.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.4371, allocations: 318.8 kB / 0.5332 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-06/0.4371, allocations: 7.938 kB / 0.5332 GB, free: 2.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.4372, allocations: 0 / 0.5332 GB, free: 2.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.4372, allocations: 75.28 kB / 0.5333 GB, free: 1.977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.4372, allocations: 78.84 kB / 0.5333 GB, free: 1.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.3e-05/0.4373, allocations: 33.69 kB / 0.5334 GB, free: 1.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4373, allocations: 7.906 kB / 0.5334 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4373, allocations: 75.28 kB / 0.5335 GB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.4373, allocations: 166.6 kB / 0.5336 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-06/0.4374, allocations: 75.28 kB / 0.5337 GB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/0.4374, allocations: 150.6 kB / 0.5338 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.4375, allocations: 79.22 kB / 0.5339 GB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.4375, allocations: 79.28 kB / 0.534 GB, free: 1.238 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 prepare postOptimizeDAE: time 7.542e-05/0.4376, allocations: 255.5 kB / 0.5342 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.4376, allocations: 113 kB / 0.5343 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.4376, allocations: 111.2 kB / 0.5344 GB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.4377, allocations: 180.2 kB / 0.5346 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/0.4377, allocations: 180.2 kB / 0.5348 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.4377, allocations: 181.5 kB / 0.535 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4379, allocations: 385.8 kB / 0.5353 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-05/0.438, allocations: 101 kB / 0.5354 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.438, allocations: 104.9 kB / 0.5355 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-05/0.4381, allocations: 183.1 kB / 0.5357 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.4382, allocations: 180.2 kB / 0.5359 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.635e-05/0.4383, allocations: 180.2 kB / 0.536 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.535e-05/0.4384, allocations: 180.3 kB / 0.5362 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001651/0.4385, allocations: 306.8 kB / 0.5365 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.4386, allocations: 190.1 kB / 0.5367 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.4387, allocations: 180.3 kB / 0.5369 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.4388, allocations: 108.9 kB / 0.537 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.4389, allocations: 179.1 kB / 0.5371 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.4389, allocations: 109 kB / 0.5372 GB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.613e-05/0.439, allocations: 75.28 kB / 0.5373 GB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.4398, allocations: 162.7 kB / 0.5375 GB, free: 13.48 MB / 362.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 (0): * Single equations (assignments): 0 * 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.001131/0.4409, allocations: 460.3 kB / 0.5379 GB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.242e-05/0.441, allocations: 0 / 0.5379 GB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.441, allocations: 0 / 0.5379 GB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.441, allocations: 0 / 0.5379 GB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.4413, allocations: 0.5262 MB / 0.5384 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001192/0.4415, allocations: 119.2 kB / 0.5385 GB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.4417, allocations: 0.6841 MB / 0.5392 GB, free: 11.67 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4417, allocations: 0 / 0.5392 GB, free: 11.67 MB / 362.7 MB Notification: Performance of Templates: time 0.007117/0.4488, allocations: 2.939 MB / 0.5421 GB, free: 8.746 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.pipe 2>&1)