Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009211/0.0009213, allocations: 86.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.499e-05/1.493e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08203, allocations: 47.59 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.3541, allocations: 74.86 MB / 437.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.3543, allocations: 64.28 kB / 438 MB, free: 4.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008054/0.3624, allocations: 2.949 MB / 440.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3624, allocations: 0 / 440.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3624, allocations: 0 / 440.9 MB, free: 2.242 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005551/0.363, allocations: 0.5524 MB / 441.5 MB, free: 1.652 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.3631, allocations: 8.031 kB / 441.5 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.3632, allocations: 26.92 kB / 441.5 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3634, allocations: 174.9 kB / 441.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3634, allocations: 4 kB / 441.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3635, allocations: 7.953 kB / 441.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001662/0.3636, allocations: 146.6 kB / 441.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.3639, allocations: 269.2 kB / 442.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.364, allocations: 0 / 442.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.364, allocations: 7.984 kB / 442.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.364, allocations: 0 / 442.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.3642, allocations: 182 kB / 442.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.3646, allocations: 488.1 kB / 442.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.3649, allocations: 467.9 kB / 443.2 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3649, allocations: 0 / 443.2 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.3653, allocations: 475.8 kB / 443.7 MB, free: 44 kB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.052e-06/0.3653, allocations: 4 kB / 443.7 MB, free: 40 kB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006525/0.366, allocations: 405.1 kB / 444.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.3661, allocations: 163.9 kB / 444.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.3662, allocations: 96.88 kB / 444.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3662, allocations: 25.7 kB / 444.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.3663, allocations: 84.92 kB / 444.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.3663, allocations: 87.55 kB / 444.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.3663, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3665, allocations: 337.1 kB / 444.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.3665, allocations: 79.36 kB / 445 MB, free: 14.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.3666, allocations: 104.8 kB / 445.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3668, allocations: 101.1 kB / 445.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3668, allocations: 0 / 445.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002873/0.3671, allocations: 254.5 kB / 445.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.3672, allocations: 109.1 kB / 445.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3672, allocations: 5.938 kB / 445.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3672, allocations: 3.953 kB / 445.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.3672, allocations: 4.094 kB / 445.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3672, allocations: 0 / 445.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.3673, allocations: 19.84 kB / 445.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3673, allocations: 8 kB / 445.6 MB, free: 14.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002282/0.3675, allocations: 276.3 kB / 445.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3676, allocations: 23.81 kB / 445.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.3676, allocations: 5.969 kB / 445.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3676, allocations: 0 / 445.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3676, allocations: 7.953 kB / 445.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3676, allocations: 0 / 445.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3678, allocations: 205.3 kB / 446.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3678, allocations: 4 kB / 446.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3678, allocations: 0 / 446.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3678, allocations: 4 kB / 446.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.3679, allocations: 22.84 kB / 446.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.3679, allocations: 8 kB / 446.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3679, allocations: 3.938 kB / 446.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.3686, allocations: 0.5864 MB / 446.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.3686, allocations: 104.8 kB / 446.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.3688, allocations: 71.95 kB / 446.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.3688, allocations: 8 kB / 446.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3689, allocations: 15.88 kB / 446.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.3689, allocations: 27.36 kB / 446.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.694e-05/0.369, allocations: 83.27 kB / 447 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.369, allocations: 0 / 447 MB, free: 12.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.3694, allocations: 107.7 kB / 447.1 MB, free: 12.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0005607/0.3699, allocations: 313.6 kB / 447.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3712, allocations: 2.087 MB / 449.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3712, allocations: 0 / 449.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3724, allocations: 2.171 MB / 451.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.3726, allocations: 11.94 kB / 451.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.373, allocations: 307 kB / 452 MB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3733, allocations: 0.7283 MB / 452.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.056e-05/0.3733, allocations: 0 / 452.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.3733, allocations: 7.438 kB / 452.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3733, allocations: 0 / 452.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of Templates: time 0.005806/0.3791, allocations: 3.284 MB / 456 MB, free: 6.137 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches