Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001216/0.001216, allocations: 177.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 223.6 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007237/0.0007236, allocations: 89.44 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 12 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08133/0.2749, allocations: 75.41 MB / 451.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.2752, allocations: 63.97 kB / 451.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007916/0.2831, allocations: 2.949 MB / 454.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2832, allocations: 0 / 454.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2832, allocations: 4 kB / 454.1 MB, free: 2.238 MB / 330.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.0005488/0.2837, allocations: 0.5684 MB / 454.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2838, allocations: 12.03 kB / 454.7 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2839, allocations: 24.69 kB / 454.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.284, allocations: 176.3 kB / 454.9 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2841, allocations: 4.375 kB / 454.9 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2841, allocations: 8.312 kB / 454.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.2844, allocations: 279.7 kB / 455.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2844, allocations: 192 / 455.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2845, allocations: 3.938 kB / 455.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2845, allocations: 11.94 kB / 455.2 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.2846, allocations: 147.7 kB / 455.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.2849, allocations: 214.2 kB / 455.6 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.2853, allocations: 495.4 kB / 456.1 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.2856, allocations: 469.8 kB / 456.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.2857, allocations: 4 kB / 456.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.2861, allocations: 476.6 kB / 457 MB, free: 15.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.172e-06/0.2861, allocations: 0 / 457 MB, free: 15.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007985/0.2869, allocations: 0.7231 MB / 457.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.287, allocations: 160.5 kB / 457.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.2871, allocations: 109.8 kB / 458 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2871, allocations: 29.7 kB / 458 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.2871, allocations: 81.14 kB / 458.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.2872, allocations: 86.67 kB / 458.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2872, allocations: 0 / 458.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2873, allocations: 330.8 kB / 458.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.2874, allocations: 80.34 kB / 458.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.2875, allocations: 110.4 kB / 458.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.2878, allocations: 417.4 kB / 459.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2878, allocations: 0 / 459.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003309/0.2882, allocations: 348.7 kB / 459.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/0.2883, allocations: 111.3 kB / 459.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2883, allocations: 0 / 459.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2883, allocations: 0 / 459.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-06/0.2883, allocations: 4 kB / 459.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2883, allocations: 0 / 459.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.2884, allocations: 19.75 kB / 459.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2884, allocations: 8 kB / 459.6 MB, free: 12.44 MB / 346.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.0002554/0.2886, allocations: 303.8 kB / 459.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.2887, allocations: 27.75 kB / 459.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.2887, allocations: 9.562 kB / 459.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.2887, allocations: 7.938 kB / 459.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2888, allocations: 0 / 459.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2888, allocations: 0 / 459.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.289, allocations: 249.3 kB / 460.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.289, allocations: 3.938 kB / 460.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.289, allocations: 0 / 460.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.289, allocations: 3.938 kB / 460.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.289, allocations: 27.97 kB / 460.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.289, allocations: 0 / 460.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.289, allocations: 0 / 460.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.2902, allocations: 1.236 MB / 461.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2902, allocations: 92.86 kB / 461.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.2904, allocations: 75.84 kB / 461.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.547e-05/0.2905, allocations: 15.94 kB / 461.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.2905, allocations: 15.92 kB / 461.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.2905, allocations: 31.98 kB / 461.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.2906, allocations: 79.31 kB / 461.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2906, allocations: 0 / 461.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003626/0.291, allocations: 107.9 kB / 461.8 MB, free: 10.05 MB / 346.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.0005249/0.2915, allocations: 313.6 kB / 462.1 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.2931, allocations: 2.123 MB / 464.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2931, allocations: 0 / 464.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.2946, allocations: 2.197 MB / 466.5 MB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.2948, allocations: 24 kB / 466.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.2954, allocations: 433.7 kB / 466.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2957, allocations: 0.7247 MB / 467.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.2957, allocations: 7.438 kB / 467.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2957, allocations: 0 / 467.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of Templates: time 0.004978/0.3007, allocations: 3.278 MB / 470.9 MB, free: 0.8672 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches