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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 111.3 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009977/0.0009978, allocations: 49.25 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08876, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002072/0.09086, allocations: 1.211 MB / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.0917, allocations: 467.8 kB / 353.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.09174, allocations: 0 / 353.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.09177, allocations: 0 / 353.2 MB, free: 2.027 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.000399/0.09218, allocations: 75.73 kB / 353.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.09232, allocations: 75.73 kB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.09242, allocations: 43.84 kB / 353.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.09246, allocations: 4 kB / 353.4 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.0925, allocations: 15.97 kB / 353.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.94e-05/0.09253, allocations: 19.92 kB / 353.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.09255, allocations: 4 kB / 353.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.09275, allocations: 119.8 kB / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.09279, allocations: 31.86 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.09286, allocations: 51.67 kB / 353.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.09308, allocations: 183.4 kB / 353.8 MB, free: 1.414 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.09309, allocations: 0 / 353.8 MB, free: 1.414 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0931, allocations: 3.938 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.09311, allocations: 0 / 353.8 MB, free: 1.41 MB / 286.1 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.0004814/0.09359, allocations: 0.5569 MB / 354.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.09363, allocations: 12.03 kB / 354.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.09375, allocations: 24.73 kB / 354.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.09387, allocations: 180.2 kB / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.09389, allocations: 384 / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.09392, allocations: 4.375 kB / 354.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.09418, allocations: 279.8 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.09419, allocations: 192 / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.09421, allocations: 11.92 kB / 354.8 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.09422, allocations: 0 / 354.8 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.09436, allocations: 151.9 kB / 355 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.09453, allocations: 194.3 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.09486, allocations: 497.1 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.09517, allocations: 469.7 kB / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.09518, allocations: 0 / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.09559, allocations: 484.9 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.062e-06/0.0956, allocations: 4 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.000718/0.09632, allocations: 0.7114 MB / 357.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.09641, allocations: 164.4 kB / 357.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.09648, allocations: 101.9 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.0965, allocations: 25.7 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.09654, allocations: 85.12 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.0966, allocations: 86.81 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.09665, allocations: 41.7 kB / 357.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.09676, allocations: 330.8 kB / 358.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.09684, allocations: 80.34 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.09693, allocations: 114.2 kB / 358.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.09722, allocations: 417.4 kB / 358.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.09722, allocations: 0 / 358.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003085/0.09754, allocations: 344.7 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.09763, allocations: 119.3 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.09764, allocations: 4.094 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.09766, allocations: 0 / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.09767, allocations: 7.938 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.09767, allocations: 0 / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.09773, allocations: 19.75 kB / 359.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.09775, allocations: 8 kB / 359.2 MB, free: 11.59 MB / 302.1 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 (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],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.09798, allocations: 307.6 kB / 359.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.09804, allocations: 27.75 kB / 359.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.09805, allocations: 9.562 kB / 359.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.09806, allocations: 4 kB / 359.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.09807, allocations: 0 / 359.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.09808, allocations: 0 / 359.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.09823, allocations: 229.3 kB / 359.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.09824, allocations: 8 kB / 359.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-06/0.09825, allocations: 3.938 kB / 359.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.09825, allocations: 3.938 kB / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.09829, allocations: 19.98 kB / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.0983, allocations: 0 / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0983, allocations: 336 / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.0994, allocations: 1.22 MB / 361 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.09946, allocations: 104.9 kB / 361.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.09955, allocations: 67.88 kB / 361.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.09961, allocations: 12 kB / 361.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.09965, allocations: 11.98 kB / 361.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.09968, allocations: 16 kB / 361.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.16e-05/0.09972, allocations: 79.27 kB / 361.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09972, allocations: 4 kB / 361.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.1, allocations: 84 kB / 361.4 MB, free: 9.27 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004474/0.1005, allocations: 317.5 kB / 361.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.1019, allocations: 2.127 MB / 363.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1019, allocations: 0 / 363.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.1033, allocations: 2.186 MB / 366 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.1035, allocations: 22.97 kB / 366.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.104, allocations: 392.4 kB / 366.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1042, allocations: 0.7206 MB / 367.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.806e-06/0.1042, allocations: 0 / 367.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.1043, allocations: 11.44 kB / 367.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1043, allocations: 0 / 367.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of Templates: time 0.005388/0.1097, allocations: 3.003 MB / 370.2 MB, free: 428 kB / 302.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches