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.00095/0.00095, allocations: 76.81 kB / 22.28 MB, free: 2.203 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.00103/0.00103, allocations: 167.8 kB / 25.69 MB, free: 8.449 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.8469/0.8469, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.403e-06/1.403e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.761e-05, allocations: 6.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002232/0.00225, allocations: 1.257 MB / 252.8 MB, free: 5.992 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000817/0.003067, allocations: 467.3 kB / 253.2 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.003098, allocations: 4 kB / 253.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.003134, allocations: 0 / 253.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.003578, allocations: 83.64 kB / 253.3 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.00369, allocations: 71.56 kB / 253.4 MB, free: 5.379 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.003763, allocations: 47.89 kB / 253.4 MB, free: 5.332 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.031e-05/0.003793, allocations: 0 / 253.4 MB, free: 5.332 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.003835, allocations: 23.97 kB / 253.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.058e-05/0.003866, allocations: 23.91 kB / 253.5 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.003878, allocations: 3.984 kB / 253.5 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.004073, allocations: 151.7 kB / 253.6 MB, free: 5.133 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.004107, allocations: 35.94 kB / 253.7 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.004139, allocations: 31.86 kB / 253.7 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.004327, allocations: 195.3 kB / 253.9 MB, free: 4.875 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004329, allocations: 0 / 253.9 MB, free: 4.875 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004329, allocations: 0 / 253.9 MB, free: 4.875 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.525e-06/0.004332, allocations: 0 / 253.9 MB, free: 4.875 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.0003205/0.004652, allocations: 442.2 kB / 254.3 MB, free: 4.402 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.004681, allocations: 11.98 kB / 254.3 MB, free: 4.391 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.855e-05/0.00478, allocations: 20.92 kB / 254.4 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.004855, allocations: 117.7 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.004865, allocations: 4.375 kB / 254.5 MB, free: 4.227 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.004877, allocations: 12.38 kB / 254.5 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.005038, allocations: 250.2 kB / 254.7 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.005044, allocations: 4.188 kB / 254.7 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.005051, allocations: 4.312 kB / 254.8 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.005054, allocations: 4.375 kB / 254.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.844e-05/0.005153, allocations: 162.1 kB / 254.9 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.116e-05/0.005244, allocations: 84.58 kB / 255 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.005357, allocations: 196.6 kB / 255.2 MB, free: 3.438 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.005435, allocations: 172.9 kB / 255.4 MB, free: 3.25 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-06/0.005439, allocations: 4 kB / 255.4 MB, free: 3.246 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.005655, allocations: 458 kB / 255.8 MB, free: 2.738 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 9.21e-07/0.005655, allocations: 0 / 255.8 MB, free: 2.738 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.0003869/0.006042, allocations: 0.6715 MB / 256.5 MB, free: 2.023 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.006094, allocations: 156.5 kB / 256.6 MB, free: 1.84 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.006143, allocations: 106.7 kB / 256.7 MB, free: 1.723 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.006157, allocations: 29.7 kB / 256.8 MB, free: 1.688 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.006174, allocations: 81.14 kB / 256.8 MB, free: 1.605 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.006216, allocations: 95.19 kB / 256.9 MB, free: 1.508 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.006248, allocations: 37.66 kB / 257 MB, free: 1.465 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.006313, allocations: 334.8 kB / 257.3 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.006369, allocations: 134.6 kB / 257.4 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.006436, allocations: 157.6 kB / 257.6 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.006574, allocations: 314.3 kB / 257.9 MB, free: 484 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.006576, allocations: 0 / 257.9 MB, free: 484 kB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001906/0.006766, allocations: 395.2 kB / 258.3 MB, free: 56 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/0.006828, allocations: 107.3 kB / 258.4 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006832, allocations: 0 / 258.4 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.006842, allocations: 3.938 kB / 258.4 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-06/0.006846, allocations: 3.938 kB / 258.4 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.006849, allocations: 96 / 258.4 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.006879, allocations: 27.84 kB / 258.4 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.006892, allocations: 11.94 kB / 258.4 MB, free: 15.89 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.0001256/0.007017, allocations: 258.5 kB / 258.7 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.007051, allocations: 39.97 kB / 258.7 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.007064, allocations: 13.64 kB / 258.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.007065, allocations: 0 / 258.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.007067, allocations: 4 kB / 258.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.00707, allocations: 0 / 258.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.115e-05/0.007151, allocations: 109.7 kB / 258.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.007152, allocations: 0 / 258.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.007152, allocations: 0 / 258.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.007153, allocations: 0 / 258.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.007169, allocations: 19.98 kB / 258.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007169, allocations: 4 kB / 258.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00717, allocations: 0 / 258.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.007521, allocations: 0.6556 MB / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.007533, allocations: 19.84 kB / 259.5 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.007591, allocations: 59.94 kB / 259.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.787e-05/0.007619, allocations: 12 kB / 259.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.007643, allocations: 11.98 kB / 259.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.007656, allocations: 12 kB / 259.6 MB, free: 14.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.048e-05/0.007667, allocations: 12.84 kB / 259.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007667, allocations: 0 / 259.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.00784, allocations: 95.81 kB / 259.7 MB, free: 14.48 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.0004219/0.008262, allocations: 328.4 kB / 260.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.008584, allocations: 0.6115 MB / 260.7 MB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008587, allocations: 4 kB / 260.7 MB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.008766, allocations: 431.3 kB / 261.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.167e-05/0.008848, allocations: 30.58 kB / 261.1 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.009181, allocations: 414.2 kB / 261.5 MB, free: 12.6 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.506e-05/0.009216, allocations: 76.33 kB / 261.6 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.751e-06/0.009222, allocations: 0 / 261.6 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.009345, allocations: 123.3 kB / 261.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009345, allocations: 0 / 261.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of Templates: time 0.003979/0.01332, allocations: 3.364 MB / 265.1 MB, free: 9.02 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.469875680282712]