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.00104/0.00104, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001175/0.001175, allocations: 166.1 kB / 25.6 MB, free: 8.598 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.9764/0.9764, allocations: 158.6 MB / 187.5 MB, free: 2.812 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 2.525e-06/2.525e-06, allocations: 4 kB / 251.5 MB, free: 7.117 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.269e-05, allocations: 2.312 kB / 251.5 MB, free: 7.113 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001671/0.001694, allocations: 1.257 MB / 252.7 MB, free: 5.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006263/0.00232, allocations: 455.5 kB / 253.2 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.00235, allocations: 0 / 253.2 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.002384, allocations: 7.938 kB / 253.2 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.002783, allocations: 79.64 kB / 253.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.002889, allocations: 67.62 kB / 253.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.002965, allocations: 43.89 kB / 253.4 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.095e-05/0.002996, allocations: 0 / 253.4 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.003041, allocations: 31.95 kB / 253.4 MB, free: 5.172 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.00307, allocations: 19.92 kB / 253.4 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.003083, allocations: 4 kB / 253.4 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.003283, allocations: 155.6 kB / 253.6 MB, free: 4.996 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.003322, allocations: 35.92 kB / 253.6 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.003354, allocations: 31.88 kB / 253.6 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.003549, allocations: 191.3 kB / 253.8 MB, free: 4.742 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00355, allocations: 0 / 253.8 MB, free: 4.742 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003552, allocations: 3.938 kB / 253.8 MB, free: 4.738 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003555, allocations: 0 / 253.8 MB, free: 4.738 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.0003838/0.003939, allocations: 0.5537 MB / 254.4 MB, free: 4.133 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.003973, allocations: 19.98 kB / 254.4 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.004072, allocations: 24.83 kB / 254.4 MB, free: 4.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/0.004148, allocations: 124.5 kB / 254.6 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.004161, allocations: 4.375 kB / 254.6 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.00417, allocations: 8.375 kB / 254.6 MB, free: 3.93 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.004351, allocations: 255.9 kB / 254.8 MB, free: 3.652 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.004356, allocations: 192 / 254.8 MB, free: 3.652 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.004364, allocations: 8.312 kB / 254.8 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004368, allocations: 384 / 254.8 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.004448, allocations: 163.2 kB / 255 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.762e-05/0.004546, allocations: 132.7 kB / 255.1 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.004668, allocations: 213.5 kB / 255.3 MB, free: 3.066 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.00475, allocations: 178.6 kB / 255.5 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-06/0.004755, allocations: 0 / 255.5 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.005008, allocations: 458.6 kB / 255.9 MB, free: 2.359 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 6.81e-07/0.005009, allocations: 0 / 255.9 MB, free: 2.359 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004871/0.005496, allocations: 0.7233 MB / 256.7 MB, free: 1.594 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.005564, allocations: 156.5 kB / 256.8 MB, free: 1.406 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.005957, allocations: 162.2 kB / 257 MB, free: 1.23 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.005968, allocations: 29.77 kB / 257 MB, free: 1.195 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.006005, allocations: 135.9 kB / 257.1 MB, free: 1.059 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.006059, allocations: 95.19 kB / 257.2 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.006102, allocations: 55.31 kB / 257.3 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.006226, allocations: 0.5039 MB / 257.8 MB, free: 396 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.006288, allocations: 123.8 kB / 257.9 MB, free: 260 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.006365, allocations: 167.2 kB / 258.1 MB, free: 72 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.006529, allocations: 318 kB / 258.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006531, allocations: 0 / 258.4 MB, free: 15.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002365/0.006768, allocations: 404.2 kB / 258.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.006827, allocations: 111.3 kB / 258.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.006832, allocations: 4.094 kB / 258.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.00684, allocations: 3.938 kB / 258.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-06/0.006842, allocations: 4 kB / 258.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.006844, allocations: 0 / 258.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.006876, allocations: 23.78 kB / 258.9 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.006888, allocations: 8 kB / 258.9 MB, free: 15.14 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.0001485/0.007036, allocations: 306.4 kB / 259.2 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.007078, allocations: 47.84 kB / 259.3 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.007094, allocations: 5.656 kB / 259.3 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007096, allocations: 0 / 259.3 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.007098, allocations: 0 / 259.3 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007101, allocations: 4 kB / 259.3 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.24e-05/0.007194, allocations: 153 kB / 259.4 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007194, allocations: 0 / 259.4 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.007196, allocations: 4 kB / 259.4 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.007198, allocations: 4 kB / 259.4 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.007216, allocations: 15.98 kB / 259.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.007217, allocations: 4 kB / 259.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.007218, allocations: 0 / 259.5 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.007725, allocations: 0.7459 MB / 260.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.007739, allocations: 23.8 kB / 260.2 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.007801, allocations: 63.94 kB / 260.3 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/0.007831, allocations: 11.94 kB / 260.3 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.007856, allocations: 11.98 kB / 260.3 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.007872, allocations: 20.02 kB / 260.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.007909, allocations: 127.2 kB / 260.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007909, allocations: 0 / 260.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.008133, allocations: 91.81 kB / 260.6 MB, free: 13.41 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.0004553/0.008588, allocations: 323.7 kB / 260.9 MB, free: 13.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.008959, allocations: 0.6257 MB / 261.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.00896, allocations: 0 / 261.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.009182, allocations: 446.1 kB / 261.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.009321, allocations: 28 kB / 262 MB, free: 11.94 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.009697, allocations: 400.9 kB / 262.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.009735, allocations: 76.33 kB / 262.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.135e-06/0.009744, allocations: 0 / 262.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.009885, allocations: 150.2 kB / 262.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009886, allocations: 0 / 262.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of Templates: time 0.00471/0.0146, allocations: 3.401 MB / 266 MB, free: 7.867 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.6933610760606825]