Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.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.Random.TestSpecial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") [: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.003676/0.003675, allocations: 185 kB / 7.457 MB, free: 2.234 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.375/1.375, allocations: 194.2 MB / 202.1 MB, free: 8.75 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.001801/0.001801, allocations: 122.8 kB / 247.1 MB, free: 6.332 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.1867/0.1867, allocations: 39.95 MB / 331.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.422e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09588, allocations: 54.87 MB / 447.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/0.398, allocations: 80.86 MB / 0.5161 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.3983, allocations: 74.36 kB / 0.5162 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.953/5.351, allocations: 1.658 GB / 2.174 GB, free: 148.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/5.351, allocations: 0 / 2.174 GB, free: 148.8 MB / 474.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.004948/5.356, allocations: 437.1 kB / 2.174 GB, free: 148.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/5.356, allocations: 11.88 kB / 2.174 GB, free: 148.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/5.356, allocations: 3.906 kB / 2.174 GB, free: 148.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.047e-05/5.356, allocations: 163.1 kB / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/5.356, allocations: 0 / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/5.356, allocations: 0 / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.95e-05/5.356, allocations: 0 / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.146e-05/5.356, allocations: 37.31 kB / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/5.356, allocations: 0 / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/5.356, allocations: 3.812 kB / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/5.356, allocations: 3.906 kB / 2.175 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.746e-05/5.356, allocations: 122.2 kB / 2.175 GB, free: 148 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.343e-05/5.356, allocations: 22.23 kB / 2.175 GB, free: 148 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/5.356, allocations: 4.859 kB / 2.175 GB, free: 148 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/5.356, allocations: 0 / 2.175 GB, free: 148 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/5.356, allocations: 56.27 kB / 2.175 GB, free: 147.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/5.356, allocations: 8.75 kB / 2.175 GB, free: 147.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001114/5.357, allocations: 37.48 kB / 2.175 GB, free: 147.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/5.357, allocations: 81.08 kB / 2.175 GB, free: 147.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.676e-05/5.357, allocations: 85 kB / 2.175 GB, free: 147.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/5.357, allocations: 25.7 kB / 2.175 GB, free: 147.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.033e-05/5.357, allocations: 80.14 kB / 2.175 GB, free: 147.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/5.357, allocations: 3.906 kB / 2.175 GB, free: 147.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-06/5.357, allocations: 0 / 2.175 GB, free: 147.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/5.357, allocations: 314.7 kB / 2.175 GB, free: 147.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-06/5.357, allocations: 4.812 kB / 2.176 GB, free: 147.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-06/5.357, allocations: 0 / 2.176 GB, free: 147.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.287e-05/5.357, allocations: 0 / 2.176 GB, free: 147.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/5.357, allocations: 0 / 2.176 GB, free: 147.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.372e-05/5.357, allocations: 37.39 kB / 2.176 GB, free: 147.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/5.357, allocations: 11.59 kB / 2.176 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/5.357, allocations: 0 / 2.176 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/5.357, allocations: 3.844 kB / 2.176 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/5.357, allocations: 3.938 kB / 2.176 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/5.357, allocations: 3.938 kB / 2.176 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/5.357, allocations: 0 / 2.176 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/5.357, allocations: 0 / 2.176 GB, free: 147.2 MB / 474.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 7.235e-05/5.357, allocations: 138.5 kB / 2.176 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/5.357, allocations: 0 / 2.176 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/5.357, allocations: 6.953 kB / 2.176 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/5.357, allocations: 0 / 2.176 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/5.357, allocations: 7.672 kB / 2.176 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/5.357, allocations: 3.984 kB / 2.176 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.072e-05/5.357, allocations: 130.1 kB / 2.176 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/5.357, allocations: 0 / 2.176 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/5.357, allocations: 0 / 2.176 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/5.357, allocations: 0 / 2.176 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/5.357, allocations: 0 / 2.176 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/5.357, allocations: 0 / 2.176 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/5.357, allocations: 0 / 2.176 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.157e-05/5.357, allocations: 64.69 kB / 2.176 GB, free: 146.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/5.357, allocations: 81.02 kB / 2.176 GB, free: 146.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/5.357, allocations: 3.969 kB / 2.176 GB, free: 146.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-06/5.357, allocations: 0 / 2.176 GB, free: 146.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/5.357, allocations: 3.938 kB / 2.176 GB, free: 146.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/5.357, allocations: 0 / 2.176 GB, free: 146.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.096e-05/5.357, allocations: 75.28 kB / 2.176 GB, free: 146.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002274/5.358, allocations: 3.938 kB / 2.176 GB, free: 146.7 MB / 474.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 8.783e-05/5.358, allocations: 98.66 kB / 2.176 GB, free: 146.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.296e-05/5.358, allocations: 29.64 kB / 2.176 GB, free: 146.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/5.358, allocations: 0 / 2.176 GB, free: 146.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/5.358, allocations: 29.67 kB / 2.176 GB, free: 146.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/5.358, allocations: 0 / 2.176 GB, free: 146.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000126/5.358, allocations: 48.67 kB / 2.176 GB, free: 146.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/5.358, allocations: 0.6915 MB / 2.177 GB, free: 161.7 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/5.358, allocations: 0 / 2.177 GB, free: 161.7 MB / 490.7 MB Notification: Performance of Templates: time 0.001469/5.36, allocations: 187.9 kB / 2.177 GB, free: 161.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1)