Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 175.5 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.3 MB / 241.4 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007615/0.0007615, allocations: 94.8 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 15.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2036, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0845/0.2881, allocations: 76.34 MB / 479.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.2883, allocations: 59.97 kB / 479.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00797/0.2963, allocations: 2.975 MB / 482.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2964, allocations: 0 / 482.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2964, allocations: 0 / 482.1 MB, free: 0.9453 MB / 346.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.0005029/0.2969, allocations: 0.5606 MB / 482.7 MB, free: 328 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2969, allocations: 15.97 kB / 482.7 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2971, allocations: 20.83 kB / 482.7 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.2972, allocations: 180.2 kB / 482.9 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2972, allocations: 4.375 kB / 482.9 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.2972, allocations: 4.375 kB / 482.9 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.2976, allocations: 275.8 kB / 483.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2976, allocations: 192 / 483.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.2976, allocations: 7.938 kB / 483.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2976, allocations: 4 kB / 483.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.2978, allocations: 147.9 kB / 483.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.298, allocations: 210.3 kB / 483.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.2983, allocations: 497.1 kB / 484 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.2987, allocations: 477.7 kB / 484.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2987, allocations: 4 kB / 484.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.2991, allocations: 472.8 kB / 485 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.663e-06/0.2991, allocations: 0 / 485 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008107/0.2999, allocations: 0.727 MB / 485.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.3, allocations: 156.5 kB / 485.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.3001, allocations: 105.8 kB / 485.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3001, allocations: 29.77 kB / 486 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.3002, allocations: 81.14 kB / 486 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.3003, allocations: 90.61 kB / 486.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.3003, allocations: 4 kB / 486.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3004, allocations: 330.8 kB / 486.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.3005, allocations: 76.36 kB / 486.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.094e-05/0.3006, allocations: 114.2 kB / 486.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3009, allocations: 421.3 kB / 487.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3009, allocations: 0 / 487.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003307/0.3012, allocations: 340.8 kB / 487.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.3013, allocations: 115.2 kB / 487.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3013, allocations: 4 kB / 487.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3014, allocations: 0 / 487.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.3014, allocations: 0 / 487.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3014, allocations: 0 / 487.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.3015, allocations: 23.75 kB / 487.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.3015, allocations: 8 kB / 487.5 MB, free: 11.15 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.0002455/0.3017, allocations: 299.8 kB / 487.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.3018, allocations: 31.75 kB / 487.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.177e-05/0.3018, allocations: 9.562 kB / 487.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3018, allocations: 0 / 487.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3018, allocations: 0 / 487.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3018, allocations: 0 / 487.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.302, allocations: 249.3 kB / 488.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.302, allocations: 0 / 488.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.302, allocations: 0 / 488.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.302, allocations: 7.938 kB / 488.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.3021, allocations: 27.95 kB / 488.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3021, allocations: 0 / 488.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3021, allocations: 4 kB / 488.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3033, allocations: 1.232 MB / 489.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.3033, allocations: 93.19 kB / 489.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3034, allocations: 75.84 kB / 489.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.3035, allocations: 8 kB / 489.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3035, allocations: 11.98 kB / 489.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.3036, allocations: 27.98 kB / 489.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.3036, allocations: 91.3 kB / 489.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3036, allocations: 0 / 489.7 MB, free: 8.879 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.304, allocations: 111.9 kB / 489.8 MB, free: 8.77 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.0005426/0.3045, allocations: 310.6 kB / 490.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.3061, allocations: 2.123 MB / 492.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3061, allocations: 0 / 492.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.3077, allocations: 2.178 MB / 494.4 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.3079, allocations: 34.7 kB / 494.4 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.3085, allocations: 409.9 kB / 494.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3088, allocations: 0.7247 MB / 495.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.789e-06/0.3088, allocations: 0 / 495.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.3088, allocations: 11.38 kB / 495.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3088, allocations: 0 / 495.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of Templates: time 0.005971/0.3148, allocations: 3.265 MB / 498.8 MB, free: 15.65 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches