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.001208/0.001208, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.00132/0.00132, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.329/1.329, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001219/0.001219, allocations: 51.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09557, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002592/0.09822, allocations: 1.233 MB / 329.9 MB, free: 2.516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.09916, allocations: 470.3 kB / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.09921, allocations: 0 / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.09926, allocations: 0 / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.09974, allocations: 71.73 kB / 330.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.09989, allocations: 63.75 kB / 330.5 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1, allocations: 47.91 kB / 330.6 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.1001, allocations: 7.984 kB / 330.6 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.1001, allocations: 15.92 kB / 330.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.1001, allocations: 19.92 kB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1002, allocations: 0 / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1004, allocations: 127.8 kB / 330.8 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.1004, allocations: 35.84 kB / 330.8 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.1005, allocations: 51.62 kB / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1008, allocations: 175.5 kB / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1008, allocations: 0 / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1008, allocations: 0 / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1008, 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.0005959/0.1014, allocations: 0.5645 MB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1014, allocations: 8.031 kB / 331.6 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1016, allocations: 20.75 kB / 331.6 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1017, allocations: 176.2 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1018, allocations: 8.375 kB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1018, allocations: 8.359 kB / 331.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.1021, allocations: 275.8 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1021, allocations: 4.188 kB / 332.1 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1022, allocations: 7.922 kB / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1022, allocations: 0 / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1023, allocations: 143.9 kB / 332.2 MB, free: 132 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.1025, allocations: 202.3 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1029, allocations: 493.2 kB / 332.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.1033, allocations: 473.7 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.006e-06/0.1033, allocations: 3.938 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.1037, allocations: 484.6 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.182e-06/0.1037, allocations: 0 / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007998/0.1046, allocations: 0.7193 MB / 334.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.1046, allocations: 156.5 kB / 334.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.1047, allocations: 101.8 kB / 334.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1047, allocations: 29.7 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/0.1048, allocations: 81.14 kB / 334.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.1048, allocations: 82.81 kB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1049, allocations: 41.69 kB / 335 MB, free: 13.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.105, allocations: 326.8 kB / 335.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.1051, allocations: 88.41 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.1052, allocations: 110.4 kB / 335.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.1055, allocations: 417.4 kB / 336 MB, free: 12.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1055, allocations: 0 / 336 MB, free: 12.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003971/0.1059, allocations: 348.7 kB / 336.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.106, allocations: 111.3 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1061, allocations: 0 / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1061, allocations: 0 / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.1061, allocations: 4.094 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1061, allocations: 0 / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.1062, allocations: 31.69 kB / 336.4 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.1062, allocations: 12 kB / 336.5 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.0002498/0.1064, allocations: 299.7 kB / 336.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.1065, allocations: 31.75 kB / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.14e-05/0.1065, allocations: 5.562 kB / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1065, allocations: 0 / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1065, allocations: 0 / 336.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1065, allocations: 7.938 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1067, allocations: 233.3 kB / 337 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1067, allocations: 0 / 337 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.1067, allocations: 336 / 337 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.1067, allocations: 11.94 kB / 337 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1068, allocations: 15.98 kB / 337 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1068, allocations: 4 kB / 337 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1068, allocations: 3.938 kB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.108, allocations: 1.228 MB / 338.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.108, allocations: 92.86 kB / 338.4 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.1081, allocations: 71.88 kB / 338.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.1082, allocations: 12.03 kB / 338.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1082, allocations: 11.98 kB / 338.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.1083, allocations: 23.97 kB / 338.5 MB, free: 9.457 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.1083, allocations: 79.28 kB / 338.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1083, allocations: 0 / 338.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.1087, allocations: 91.98 kB / 338.7 MB, free: 9.289 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.0004883/0.1091, allocations: 299.7 kB / 338.9 MB, free: 9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.1107, allocations: 2.135 MB / 341.1 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1107, allocations: 7.938 kB / 341.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.1122, allocations: 2.182 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.0002005/0.1124, allocations: 23.94 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.0005824/0.113, allocations: 388.5 kB / 343.7 MB, free: 4.188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1133, allocations: 0.7245 MB / 344.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.997e-06/0.1133, allocations: 0 / 344.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.1133, allocations: 7.438 kB / 344.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1133, allocations: 3.938 kB / 344.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of Templates: time 0.005602/0.1189, allocations: 3.007 MB / 347.4 MB, free: 416 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 cvode -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