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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00251/0.002509, allocations: 184.4 kB / 8.152 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001261/0.001262, allocations: 92.25 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.855e-06, allocations: 0 / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2504, allocations: 47.55 MB / 361.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3703, allocations: 74.56 MB / 436.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.3707, allocations: 63.97 kB / 436.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01239/0.3831, allocations: 2.638 MB / 439.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3831, allocations: 4 kB / 439.1 MB, free: 8.848 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.0006795/0.3838, allocations: 0.5555 MB / 439.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3839, allocations: 10.91 kB / 439.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.3841, allocations: 19.81 kB / 439.7 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3843, allocations: 178.8 kB / 439.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3843, allocations: 7.922 kB / 439.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.3844, allocations: 8 kB / 439.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002339/0.3846, allocations: 137 kB / 440 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.3851, allocations: 275.5 kB / 440.3 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3851, allocations: 4 kB / 440.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3851, allocations: 0 / 440.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3852, allocations: 5.656 kB / 440.3 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.3854, allocations: 178.6 kB / 440.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.386, allocations: 493 kB / 440.9 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.3865, allocations: 469.7 kB / 441.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.3865, allocations: 1 kB / 441.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006343/0.3871, allocations: 475.3 kB / 441.9 MB, free: 5.879 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.734e-06/0.3872, allocations: 4 kB / 441.9 MB, free: 5.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001062/0.3882, allocations: 0.5443 MB / 442.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3884, allocations: 160.5 kB / 442.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.3885, allocations: 95.77 kB / 442.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3885, allocations: 25.7 kB / 442.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.3886, allocations: 151.3 kB / 442.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.3887, allocations: 86.77 kB / 442.9 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.3887, allocations: 4 kB / 442.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3888, allocations: 335.7 kB / 443.2 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.389, allocations: 86.12 kB / 443.3 MB, free: 4.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3891, allocations: 102.4 kB / 443.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3894, allocations: 107.9 kB / 443.5 MB, free: 4.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3894, allocations: 3.938 kB / 443.5 MB, free: 4.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005951/0.39, allocations: 418.1 kB / 443.9 MB, free: 3.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.39, allocations: 4.75 kB / 443.9 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3901, allocations: 3.281 kB / 444 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3901, allocations: 12.14 kB / 444 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.804e-06/0.3901, allocations: 0 / 444 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3901, allocations: 3.938 kB / 444 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.3902, allocations: 15.75 kB / 444 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3902, allocations: 4 kB / 444 MB, free: 3.688 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.0003149/0.3905, allocations: 187.6 kB / 444.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.3906, allocations: 23.81 kB / 444.2 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.3907, allocations: 9.438 kB / 444.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3907, allocations: 0 / 444.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3907, allocations: 0 / 444.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3907, allocations: 3.906 kB / 444.2 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.391, allocations: 209.9 kB / 444.4 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.391, allocations: 0 / 444.4 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-06/0.391, allocations: 4 kB / 444.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.391, allocations: 0 / 444.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.3911, allocations: 26.73 kB / 444.4 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3911, allocations: 3.984 kB / 444.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3911, allocations: 0 / 444.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00132/0.3925, allocations: 0.7465 MB / 445.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.3926, allocations: 97.92 kB / 445.3 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.3928, allocations: 87.84 kB / 445.4 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3929, allocations: 8 kB / 445.4 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.393, allocations: 11.98 kB / 445.4 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.3931, allocations: 27.98 kB / 445.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.579e-05/0.3932, allocations: 79.28 kB / 445.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004951/0.3937, allocations: 87.92 kB / 445.6 MB, free: 1.996 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.0008895/0.3946, allocations: 301.9 kB / 445.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007846/0.3954, allocations: 0.5029 MB / 446.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3954, allocations: 0 / 446.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002585/0.398, allocations: 2.147 MB / 448.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.3983, allocations: 19.19 kB / 448.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.399, allocations: 329.3 kB / 448.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.3994, allocations: 0.736 MB / 449.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3994, allocations: 5.719 kB / 449.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Templates: time 0.007403/0.4068, allocations: 2.897 MB / 452.5 MB, free: 11.03 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