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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001031/0.001031, allocations: 176.2 kB / 7.652 MB, free: 1.426 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.6/1.6, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001615/0.001615, allocations: 119.7 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1879/0.1879, allocations: 39.96 MB / 332.2 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.523e-05, allocations: 4 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2739, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.3898, allocations: 80.93 MB / 0.5167 GB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.3901, allocations: 63.97 kB / 0.5168 GB, free: 12.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9759/1.366, allocations: 48.43 MB / 0.5641 GB, free: 60.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.366, allocations: 0 / 0.5641 GB, free: 60.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/1.366, allocations: 0 / 0.5641 GB, free: 60.22 MB / 378.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.004387/1.371, allocations: 446.3 kB / 0.5645 GB, free: 59.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.371, allocations: 8.031 kB / 0.5645 GB, free: 59.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/1.371, allocations: 3.953 kB / 0.5645 GB, free: 59.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.986e-05/1.371, allocations: 159.1 kB / 0.5647 GB, free: 59.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.371, allocations: 0 / 0.5647 GB, free: 59.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/1.371, allocations: 6.312 kB / 0.5647 GB, free: 59.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.428e-05/1.371, allocations: 0 / 0.5647 GB, free: 59.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.266e-05/1.371, allocations: 25.7 kB / 0.5647 GB, free: 59.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/1.371, allocations: 0 / 0.5647 GB, free: 59.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/1.371, allocations: 4 kB / 0.5647 GB, free: 59.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.371, allocations: 12.88 kB / 0.5647 GB, free: 59.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.318e-05/1.371, allocations: 122.2 kB / 0.5648 GB, free: 59.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.246e-05/1.371, allocations: 25 kB / 0.5649 GB, free: 59.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.1e-05/1.371, allocations: 4.859 kB / 0.5649 GB, free: 59.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/1.371, allocations: 4.094 kB / 0.5649 GB, free: 59.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.371, allocations: 64.2 kB / 0.5649 GB, free: 59.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/1.371, allocations: 0 / 0.5649 GB, free: 59.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001705/1.371, allocations: 33.69 kB / 0.565 GB, free: 59.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/1.371, allocations: 81.11 kB / 0.565 GB, free: 59.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.032e-05/1.371, allocations: 85 kB / 0.5651 GB, free: 58.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-06/1.371, allocations: 29.64 kB / 0.5652 GB, free: 58.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/1.371, allocations: 80.14 kB / 0.5652 GB, free: 58.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/1.371, allocations: 4 kB / 0.5652 GB, free: 58.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/1.371, allocations: 0 / 0.5652 GB, free: 58.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/1.371, allocations: 318.8 kB / 0.5655 GB, free: 58.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/1.371, allocations: 0 / 0.5655 GB, free: 58.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-06/1.371, allocations: 7.938 kB / 0.5655 GB, free: 58.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/1.372, allocations: 0 / 0.5655 GB, free: 58.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.372, allocations: 0 / 0.5655 GB, free: 58.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.803e-05/1.372, allocations: 37.69 kB / 0.5656 GB, free: 58.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/1.372, allocations: 29.7 kB / 0.5656 GB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.372, allocations: 0 / 0.5656 GB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.372, allocations: 0 / 0.5656 GB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/1.372, allocations: 4.094 kB / 0.5656 GB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/1.372, allocations: 4 kB / 0.5656 GB, free: 58.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.495e-05/1.372, allocations: 0 / 0.5656 GB, free: 58.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/1.372, allocations: 0 / 0.5656 GB, free: 58.45 MB / 378.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 5.77e-05/1.372, allocations: 132.6 kB / 0.5657 GB, free: 58.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/1.372, allocations: 4 kB / 0.5657 GB, free: 58.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/1.372, allocations: 11.73 kB / 0.5658 GB, free: 58.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/1.372, allocations: 0 / 0.5658 GB, free: 58.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.372, allocations: 0 / 0.5658 GB, free: 58.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/1.372, allocations: 4 kB / 0.5658 GB, free: 58.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.976e-05/1.372, allocations: 125.9 kB / 0.5659 GB, free: 58.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.372, allocations: 7.953 kB / 0.5659 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/1.372, allocations: 0 / 0.5659 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-06/1.372, allocations: 0 / 0.5659 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/1.372, allocations: 0 / 0.5659 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/1.372, allocations: 3.938 kB / 0.5659 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.372, allocations: 3.703 kB / 0.5659 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.813e-05/1.372, allocations: 69.12 kB / 0.566 GB, free: 58.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/1.372, allocations: 85 kB / 0.566 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/1.372, allocations: 0 / 0.566 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/1.372, allocations: 0 / 0.566 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/1.372, allocations: 3.984 kB / 0.566 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/1.372, allocations: 4 kB / 0.5661 GB, free: 57.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.799e-05/1.372, allocations: 75.28 kB / 0.5661 GB, free: 57.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/1.372, allocations: 0 / 0.5661 GB, free: 57.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005567/1.378, allocations: 1.304 MB / 0.5674 GB, free: 56.55 MB / 378.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 0.009386/1.387, allocations: 1.211 MB / 0.5686 GB, free: 55.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/1.387, allocations: 59.41 kB / 0.5686 GB, free: 55.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.387, allocations: 0 / 0.5686 GB, free: 55.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/1.387, allocations: 51.41 kB / 0.5687 GB, free: 55.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/1.387, allocations: 4 kB / 0.5687 GB, free: 55.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001454/1.388, allocations: 49.09 kB / 0.5687 GB, free: 55.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.42e-05/1.388, allocations: 0.669 MB / 0.5694 GB, free: 54.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.576e-06/1.388, allocations: 0 / 0.5694 GB, free: 54.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-06/1.388, allocations: 11.44 kB / 0.5694 GB, free: 54.42 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/1.388, allocations: 0 / 0.5694 GB, free: 54.42 MB / 378.7 MB Notification: Performance of Templates: time 0.09278/1.48, allocations: 68.71 MB / 0.6365 GB, free: 1.594 MB / 394.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)