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.001048/0.001048, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000841/0.000841, allocations: 103.3 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002116/0.0002118, allocations: 4 kB / 357.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1913, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08646/0.2778, allocations: 77.12 MB / 486.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.2781, allocations: 60.72 kB / 486.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00793/0.286, allocations: 2.99 MB / 489.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2861, allocations: 0 / 489.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.2861, allocations: 4 kB / 489.6 MB, free: 10.48 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.0005343/0.2866, allocations: 0.5604 MB / 490.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2867, allocations: 12.03 kB / 490.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.2868, allocations: 15.81 kB / 490.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2869, allocations: 178.9 kB / 490.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.287, allocations: 0 / 490.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.287, allocations: 11.94 kB / 490.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.2873, allocations: 279.2 kB / 490.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2873, allocations: 0 / 490.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2874, allocations: 8 kB / 490.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2874, allocations: 0 / 490.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2875, allocations: 147.9 kB / 490.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.2877, allocations: 210.3 kB / 491 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.2881, allocations: 485.2 kB / 491.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.2881, allocations: 0 / 491.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.2885, allocations: 0.4888 MB / 491.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.303e-06/0.2886, allocations: 0 / 491.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009139/0.2895, allocations: 0.8855 MB / 492.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.2896, allocations: 160.5 kB / 493 MB, free: 6.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.2896, allocations: 96.94 kB / 493.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2897, allocations: 29.77 kB / 493.1 MB, free: 6.617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.2897, allocations: 85.12 kB / 493.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.2898, allocations: 86.75 kB / 493.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.2898, allocations: 4 kB / 493.3 MB, free: 6.441 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2899, allocations: 326.8 kB / 493.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.29, allocations: 80.34 kB / 493.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.2901, allocations: 114.2 kB / 493.8 MB, free: 5.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.2903, allocations: 200.3 kB / 494 MB, free: 5.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2903, allocations: 4.031 kB / 494 MB, free: 5.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003313/0.2906, allocations: 345.1 kB / 494.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.2907, allocations: 113.8 kB / 494.4 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2907, allocations: 3.953 kB / 494.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2907, allocations: 0 / 494.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-06/0.2908, allocations: 7.984 kB / 494.5 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2908, allocations: 0 / 494.5 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.2908, allocations: 27.69 kB / 494.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2909, allocations: 11.98 kB / 494.5 MB, free: 5.18 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.0002445/0.2911, allocations: 291.8 kB / 494.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.2912, allocations: 27.81 kB / 494.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.2912, allocations: 9.547 kB / 494.8 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2912, allocations: 7.953 kB / 494.8 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2912, allocations: 4 kB / 494.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2912, allocations: 0 / 494.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.2914, allocations: 241.3 kB / 495.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2914, allocations: 4 kB / 495.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.2914, allocations: 0 / 495.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2914, allocations: 0 / 495.1 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.2915, allocations: 19.98 kB / 495.1 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2915, allocations: 4 kB / 495.1 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2915, allocations: 3.953 kB / 495.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2926, allocations: 1.238 MB / 496.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.2927, allocations: 100.9 kB / 496.4 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.2928, allocations: 67.92 kB / 496.5 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.2929, allocations: 11.95 kB / 496.5 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.2929, allocations: 7.984 kB / 496.5 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.293, allocations: 27.98 kB / 496.5 MB, free: 2.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.491e-05/0.293, allocations: 91.3 kB / 496.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2931, allocations: 3.938 kB / 496.6 MB, free: 2.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.2934, allocations: 107.9 kB / 496.7 MB, free: 2.797 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.0005871/0.294, allocations: 314.3 kB / 497 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.2958, allocations: 2.119 MB / 499.2 MB, free: 388 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2958, allocations: 3.938 kB / 499.2 MB, free: 384 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.2976, allocations: 2.186 MB / 0.4896 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2978, allocations: 22.17 kB / 0.4896 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.2984, allocations: 403.5 kB / 0.49 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2988, allocations: 0.7247 MB / 0.4907 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.576e-05/0.2988, allocations: 3.984 kB / 0.4907 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.2988, allocations: 11.38 kB / 0.4907 GB, free: 12.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2988, allocations: 0 / 0.4907 GB, free: 12.94 MB / 378.7 MB Notification: Performance of Templates: time 0.006165/0.305, allocations: 3.284 MB / 0.4939 GB, free: 9.66 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/jenkins/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