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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009411/0.0009411, allocations: 159.9 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.857/0.857, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,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=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.931e-05, allocations: 10.25 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001719/0.001738, allocations: 1.257 MB / 252.4 MB, free: 6.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006717/0.00241, allocations: 459.5 kB / 252.8 MB, free: 6.066 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.002446, allocations: 0 / 252.8 MB, free: 6.066 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.283e-05/0.002488, allocations: 15.86 kB / 252.8 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.00297, allocations: 79.7 kB / 252.9 MB, free: 5.973 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003112, allocations: 63.64 kB / 253 MB, free: 5.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.003213, allocations: 47.83 kB / 253 MB, free: 5.863 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.003253, allocations: 7.984 kB / 253 MB, free: 5.855 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.003298, allocations: 19.98 kB / 253 MB, free: 5.836 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.003339, allocations: 15.97 kB / 253.1 MB, free: 5.82 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.003353, allocations: 4 kB / 253.1 MB, free: 5.816 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.003583, allocations: 159.5 kB / 253.2 MB, free: 5.66 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.003626, allocations: 31.92 kB / 253.3 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.003664, allocations: 31.92 kB / 253.3 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.003891, allocations: 191.3 kB / 253.5 MB, free: 5.41 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003893, allocations: 0 / 253.5 MB, free: 5.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003894, allocations: 0 / 253.5 MB, free: 5.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.003898, allocations: 0 / 253.5 MB, free: 5.41 MB / 234.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.0004726/0.00437, allocations: 0.5576 MB / 254 MB, free: 4.801 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.004407, allocations: 19.92 kB / 254 MB, free: 4.781 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.004532, allocations: 28.84 kB / 254.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.00464, allocations: 124.4 kB / 254.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.004655, allocations: 4.375 kB / 254.2 MB, free: 4.602 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.004666, allocations: 4.375 kB / 254.2 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.004882, allocations: 276 kB / 254.5 MB, free: 4.301 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.00489, allocations: 192 / 254.5 MB, free: 4.301 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.004902, allocations: 4.375 kB / 254.5 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.004911, allocations: 384 / 254.5 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.005009, allocations: 179.2 kB / 254.7 MB, free: 4.109 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.005132, allocations: 148.1 kB / 254.8 MB, free: 3.926 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.005264, allocations: 225.5 kB / 255 MB, free: 3.668 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.005379, allocations: 194.7 kB / 255.2 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.005385, allocations: 0 / 255.2 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.005717, allocations: 478.6 kB / 255.7 MB, free: 2.926 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 1.533e-06/0.005719, allocations: 0 / 255.7 MB, free: 2.926 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007138/0.006433, allocations: 0.7429 MB / 256.4 MB, free: 2.141 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.0065, allocations: 160.5 kB / 256.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.006641, allocations: 165.9 kB / 256.7 MB, free: 1.77 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.006652, allocations: 29.7 kB / 256.8 MB, free: 1.734 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.006685, allocations: 131.9 kB / 256.9 MB, free: 1.602 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.006734, allocations: 91.28 kB / 257 MB, free: 1.512 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.006778, allocations: 51.36 kB / 257 MB, free: 1.453 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.006888, allocations: 0.504 MB / 257.5 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.006963, allocations: 139.8 kB / 257.7 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.007055, allocations: 171.2 kB / 257.8 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.007226, allocations: 330 kB / 258.2 MB, free: 252 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007228, allocations: 4 kB / 258.2 MB, free: 248 kB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004047/0.007633, allocations: 420.2 kB / 258.6 MB, free: 15.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.007688, allocations: 107.3 kB / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007693, allocations: 4 kB / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007706, allocations: 4 kB / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.007707, allocations: 0 / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.007713, allocations: 3.938 kB / 258.7 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.007747, allocations: 23.84 kB / 258.7 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.00776, allocations: 12.09 kB / 258.7 MB, free: 15.64 MB / 250.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 (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.000156/0.007916, allocations: 302.5 kB / 259 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.007961, allocations: 39.91 kB / 259.1 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.305e-05/0.007974, allocations: 13.97 kB / 259.1 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007976, allocations: 0 / 259.1 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.00798, allocations: 7.938 kB / 259.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.007988, allocations: 11.86 kB / 259.1 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.116e-05/0.00808, allocations: 160.4 kB / 259.3 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008081, allocations: 4 kB / 259.3 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.008082, allocations: 0 / 259.3 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.008083, allocations: 0 / 259.3 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.008102, allocations: 19.98 kB / 259.3 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.008103, allocations: 0 / 259.3 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008105, allocations: 0 / 259.3 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.008666, allocations: 0.7694 MB / 260.1 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.008682, allocations: 23.8 kB / 260.1 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.008749, allocations: 59.94 kB / 260.1 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.008778, allocations: 8 kB / 260.1 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.008804, allocations: 15.92 kB / 260.2 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.008823, allocations: 23.92 kB / 260.2 MB, free: 14.08 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.008857, allocations: 123.2 kB / 260.3 MB, free: 13.96 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008857, allocations: 0 / 260.3 MB, free: 13.96 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.009098, allocations: 95.86 kB / 260.4 MB, free: 13.86 MB / 250.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 (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.0004186/0.009517, allocations: 317.1 kB / 260.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004151/0.009932, allocations: 0.657 MB / 261.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.009934, allocations: 3.938 kB / 261.4 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.01017, allocations: 462 kB / 261.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.01031, allocations: 28 kB / 261.8 MB, free: 12.35 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.011, allocations: 413.1 kB / 262.2 MB, free: 11.9 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.01104, allocations: 80.27 kB / 262.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.302e-06/0.01105, allocations: 0 / 262.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.01106, allocations: 8.5 kB / 262.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01106, allocations: 0 / 262.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of Templates: time 0.004435/0.01549, allocations: 3.156 MB / 265.5 MB, free: 8.637 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.61058498499915]