Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.00182/0.001821, allocations: 107.2 kB / 18.34 MB, free: 4.699 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.001881/0.001881, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 44.16 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09096/0.09237, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002767/0.09517, allocations: 1.237 MB / 329.9 MB, free: 2.516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.09625, allocations: 466.3 kB / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.09631, allocations: 0 / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.09639, allocations: 3.938 kB / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.09693, allocations: 75.73 kB / 330.5 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.09715, allocations: 51.83 kB / 330.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.09729, allocations: 51.89 kB / 330.6 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.09735, allocations: 7.984 kB / 330.6 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.0974, allocations: 19.92 kB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.09745, allocations: 19.92 kB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.09747, allocations: 0 / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.09775, allocations: 123.8 kB / 330.7 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.09782, allocations: 39.84 kB / 330.8 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.076e-05/0.09789, allocations: 47.69 kB / 330.8 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.0982, allocations: 179.4 kB / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.09821, allocations: 0 / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09822, allocations: 0 / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.09823, allocations: 4 kB / 331 MB, free: 1.445 MB / 270.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.0005776/0.09882, allocations: 0.5684 MB / 331.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.09886, allocations: 8.031 kB / 331.6 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.09902, allocations: 20.75 kB / 331.6 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.09917, allocations: 172.3 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.09919, allocations: 4.375 kB / 331.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.09922, allocations: 8.359 kB / 331.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.09952, allocations: 279.7 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.09954, allocations: 4.188 kB / 332.1 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.09956, allocations: 3.938 kB / 332.1 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.09957, allocations: 3.984 kB / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.09972, allocations: 140 kB / 332.2 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.09994, allocations: 202.4 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1004, allocations: 497.1 kB / 332.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.1007, allocations: 473.6 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.1007, allocations: 0 / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004749/0.1012, allocations: 480.6 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.533e-06/0.1012, allocations: 0 / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007907/0.102, allocations: 0.7232 MB / 334.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.1021, allocations: 164.4 kB / 334.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.1022, allocations: 101.8 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1023, allocations: 29.7 kB / 334.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.1023, allocations: 81.14 kB / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.1024, allocations: 82.81 kB / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.1024, allocations: 41.69 kB / 335 MB, free: 13.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1025, allocations: 326.8 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.1026, allocations: 84.41 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.1027, allocations: 110.4 kB / 335.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.1031, allocations: 417.3 kB / 336 MB, free: 12.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1031, allocations: 0 / 336 MB, free: 12.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003498/0.1034, allocations: 348.8 kB / 336.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.168e-05/0.1035, allocations: 111.3 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1035, allocations: 4 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1036, allocations: 0 / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.1036, allocations: 4.094 kB / 336.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1036, allocations: 0 / 336.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.1036, allocations: 27.69 kB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1037, allocations: 8 kB / 336.4 MB, free: 11.62 MB / 286.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.0002593/0.1039, allocations: 299.7 kB / 336.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.104, allocations: 35.75 kB / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.104, allocations: 5.562 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.104, allocations: 3.938 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.104, allocations: 0 / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.104, allocations: 3.938 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1042, allocations: 233.3 kB / 337 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1042, allocations: 0 / 337 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.1043, allocations: 0 / 337 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1043, allocations: 11.94 kB / 337 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1043, allocations: 15.98 kB / 337 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1043, allocations: 4 kB / 337 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1043, allocations: 0 / 337 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1054, allocations: 1.228 MB / 338.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.1054, allocations: 96.86 kB / 338.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/0.1055, allocations: 71.88 kB / 338.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.1056, allocations: 12.03 kB / 338.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.1056, allocations: 11.98 kB / 338.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.1057, allocations: 15.98 kB / 338.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.004e-05/0.1057, allocations: 83.28 kB / 338.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1057, allocations: 0 / 338.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1061, allocations: 87.86 kB / 338.6 MB, free: 9.297 MB / 286.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.0005099/0.1066, allocations: 315.8 kB / 339 MB, free: 8.992 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.1082, allocations: 2.131 MB / 341.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1082, allocations: 7.938 kB / 341.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.1096, allocations: 2.178 MB / 343.3 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1098, allocations: 24 kB / 343.3 MB, free: 4.602 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.1104, allocations: 384.6 kB / 343.7 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1106, allocations: 0.7245 MB / 344.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.758e-06/0.1107, allocations: 0 / 344.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.1107, allocations: 7.438 kB / 344.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1107, allocations: 0 / 344.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of Templates: time 0.00579/0.1165, allocations: 3.007 MB / 347.4 MB, free: 424 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches