Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009417/0.0009418, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 245.4 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008053/0.0008054, allocations: 100 kB / 297.5 MB, free: 6.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002157/0.0002157, allocations: 4 kB / 358.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 51.28 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3248, allocations: 77.06 MB / 486.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.3251, allocations: 59.97 kB / 486.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.336, allocations: 2.976 MB / 489.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3361, allocations: 0 / 489.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3361, allocations: 0 / 489.5 MB, free: 11.39 MB / 362.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.000746/0.3368, allocations: 0.5567 MB / 490 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3369, allocations: 8.031 kB / 490 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3371, allocations: 16.84 kB / 490 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3373, allocations: 180.2 kB / 490.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3374, allocations: 12.31 kB / 490.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.3374, allocations: 4.375 kB / 490.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.3379, allocations: 275.8 kB / 490.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3379, allocations: 192 / 490.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.338, allocations: 7.938 kB / 490.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.338, allocations: 3.938 kB / 490.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.3383, allocations: 144 kB / 490.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3386, allocations: 222.2 kB / 490.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.3392, allocations: 493.1 kB / 491.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.3398, allocations: 466.4 kB / 491.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3398, allocations: 8 kB / 491.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/0.3405, allocations: 476.8 kB / 492.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.749e-06/0.3405, allocations: 0 / 492.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001239/0.3418, allocations: 0.7231 MB / 493 MB, free: 7.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.3419, allocations: 160.5 kB / 493.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.342, allocations: 109.9 kB / 493.3 MB, free: 7.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3421, allocations: 25.7 kB / 493.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3421, allocations: 89.12 kB / 493.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.3423, allocations: 90.81 kB / 493.5 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.3423, allocations: 4 kB / 493.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3424, allocations: 322.8 kB / 493.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3426, allocations: 84.34 kB / 493.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3428, allocations: 110.2 kB / 494 MB, free: 6.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.3433, allocations: 413.4 kB / 494.4 MB, free: 6.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3433, allocations: 0 / 494.4 MB, free: 6.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005424/0.3439, allocations: 348.8 kB / 494.7 MB, free: 5.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.344, allocations: 111.3 kB / 494.8 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.344, allocations: 4 kB / 494.8 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3441, allocations: 0 / 494.8 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.3441, allocations: 0 / 494.8 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3441, allocations: 3.984 kB / 494.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3442, allocations: 23.75 kB / 494.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3443, allocations: 11.98 kB / 494.9 MB, free: 5.594 MB / 362.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 () * Number of clocked 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.0003839/0.3447, allocations: 291.7 kB / 495.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.3448, allocations: 31.75 kB / 495.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.3448, allocations: 5.562 kB / 495.2 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3448, allocations: 3.938 kB / 495.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3448, allocations: 3.938 kB / 495.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3448, allocations: 7.984 kB / 495.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.3452, allocations: 245.4 kB / 495.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3452, allocations: 0 / 495.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.3452, allocations: 0 / 495.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3452, allocations: 11.88 kB / 495.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.3452, allocations: 15.98 kB / 495.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3453, allocations: 0 / 495.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3453, allocations: 0 / 495.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.3472, allocations: 1.236 MB / 496.7 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.3473, allocations: 100.8 kB / 496.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.3475, allocations: 71.86 kB / 496.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.3476, allocations: 8 kB / 496.9 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.3477, allocations: 15.92 kB / 496.9 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.3478, allocations: 27.98 kB / 496.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.3478, allocations: 83.27 kB / 497 MB, free: 3.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3478, allocations: 0 / 497 MB, free: 3.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006162/0.3485, allocations: 111.9 kB / 497.1 MB, free: 3.219 MB / 362.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) * Number of clocked states: 0 () * 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.0008747/0.3494, allocations: 305.3 kB / 497.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.3519, allocations: 2.123 MB / 499.5 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.352, allocations: 0 / 499.5 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.3542, allocations: 2.186 MB / 0.49 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3545, allocations: 26.34 kB / 0.49 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009028/0.3555, allocations: 415.5 kB / 0.4904 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3559, allocations: 0.7247 MB / 0.4911 GB, free: 13.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.282e-05/0.3559, allocations: 3.984 kB / 0.4911 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.3559, allocations: 7.438 kB / 0.4911 GB, free: 13.36 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3559, allocations: 0 / 0.4911 GB, free: 13.36 MB / 378.7 MB Notification: Performance of Templates: time 0.008686/0.3646, allocations: 3.261 MB / 0.4943 GB, free: 10.1 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches