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.001118/0.001118, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001371/0.001371, allocations: 168.3 kB / 25.33 MB, free: 8.137 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.963/0.963, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.372e-06/1.372e-06, allocations: 0 / 251 MB, free: 7.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.563e-05, allocations: 5.266 kB / 251 MB, free: 7.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001501/0.001517, allocations: 1.265 MB / 252.3 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.002182, allocations: 467.5 kB / 252.8 MB, free: 5.871 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.002212, allocations: 0 / 252.8 MB, free: 5.871 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.002255, allocations: 3.938 kB / 252.8 MB, free: 5.867 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.002719, allocations: 75.72 kB / 252.8 MB, free: 5.793 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.002838, allocations: 71.61 kB / 252.9 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.002925, allocations: 47.84 kB / 253 MB, free: 5.676 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.002958, allocations: 0 / 253 MB, free: 5.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.003002, allocations: 27.95 kB / 253 MB, free: 5.648 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.327e-05/0.003035, allocations: 23.91 kB / 253 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.003047, allocations: 0 / 253 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.003263, allocations: 151.7 kB / 253.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.003307, allocations: 35.92 kB / 253.2 MB, free: 5.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.003345, allocations: 27.94 kB / 253.2 MB, free: 5.414 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.003568, allocations: 195.3 kB / 253.4 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.00357, allocations: 0 / 253.4 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003571, allocations: 4 kB / 253.4 MB, free: 5.219 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003575, allocations: 0 / 253.4 MB, free: 5.219 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.0004474/0.004023, allocations: 0.5537 MB / 254 MB, free: 4.613 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004061, allocations: 15.98 kB / 254 MB, free: 4.598 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.004193, allocations: 28.83 kB / 254 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.004302, allocations: 124.5 kB / 254.1 MB, free: 4.422 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.004316, allocations: 4.375 kB / 254.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.00433, allocations: 4.375 kB / 254.1 MB, free: 4.414 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.004547, allocations: 276 kB / 254.4 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.004556, allocations: 192 / 254.4 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004566, allocations: 384 / 254.4 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.004574, allocations: 4.375 kB / 254.4 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.99e-05/0.004674, allocations: 179.2 kB / 254.6 MB, free: 3.926 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.004792, allocations: 140.2 kB / 254.7 MB, free: 3.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.00493, allocations: 221.6 kB / 254.9 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.005034, allocations: 198.7 kB / 255.1 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/0.005039, allocations: 0 / 255.1 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.005336, allocations: 486.5 kB / 255.6 MB, free: 2.742 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 1.102e-06/0.005337, allocations: 0 / 255.6 MB, free: 2.742 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005905/0.005928, allocations: 0.7468 MB / 256.4 MB, free: 1.953 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.005995, allocations: 160.5 kB / 256.5 MB, free: 1.766 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.006085, allocations: 161.9 kB / 256.7 MB, free: 1.586 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.006096, allocations: 25.7 kB / 256.7 MB, free: 1.555 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.006134, allocations: 139.9 kB / 256.8 MB, free: 1.414 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.006188, allocations: 95.22 kB / 256.9 MB, free: 1.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.006232, allocations: 47.36 kB / 257 MB, free: 1.266 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.006361, allocations: 0.5001 MB / 257.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.006443, allocations: 135.7 kB / 257.6 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.006535, allocations: 179.2 kB / 257.8 MB, free: 424 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.006712, allocations: 326 kB / 258.1 MB, free: 64 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006714, allocations: 0 / 258.1 MB, free: 64 kB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000286/0.007, allocations: 428.2 kB / 258.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.007063, allocations: 103.3 kB / 258.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007068, allocations: 4.094 kB / 258.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.007086, allocations: 3.984 kB / 258.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-06/0.00709, allocations: 4 kB / 258.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.007098, allocations: 7.938 kB / 258.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.007132, allocations: 19.84 kB / 258.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.007144, allocations: 8 kB / 258.7 MB, free: 15.45 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.0001523/0.007297, allocations: 302.5 kB / 259 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.007339, allocations: 43.91 kB / 259 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.007356, allocations: 9.656 kB / 259 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007357, allocations: 7.875 kB / 259 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.007361, allocations: 3.984 kB / 259 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007365, allocations: 3.938 kB / 259 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.542e-05/0.00746, allocations: 164.4 kB / 259.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.007462, allocations: 0 / 259.2 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.007463, allocations: 4 kB / 259.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.007464, allocations: 0 / 259.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.007484, allocations: 19.98 kB / 259.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.007485, allocations: 0 / 259.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007487, allocations: 4 kB / 259.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.008025, allocations: 0.7655 MB / 260 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.008039, allocations: 20.17 kB / 260 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.008105, allocations: 59.94 kB / 260.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.79e-05/0.008133, allocations: 8 kB / 260.1 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.008175, allocations: 15.92 kB / 260.1 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.008199, allocations: 15.94 kB / 260.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.008252, allocations: 139.2 kB / 260.2 MB, free: 13.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008252, allocations: 0 / 260.2 MB, free: 13.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.008513, allocations: 87.88 kB / 260.3 MB, free: 13.68 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.0004353/0.008948, allocations: 323.3 kB / 260.6 MB, free: 13.4 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.009428, allocations: 0.657 MB / 261.3 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.00943, allocations: 0 / 261.3 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.009697, allocations: 458.2 kB / 261.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.009845, allocations: 35.89 kB / 261.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.01034, allocations: 404.9 kB / 262.2 MB, free: 11.72 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.0104, allocations: 80.27 kB / 262.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.915e-06/0.01041, allocations: 4 kB / 262.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.01043, allocations: 8.5 kB / 262.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01043, allocations: 0 / 262.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of Templates: time 0.005295/0.01572, allocations: 3.155 MB / 265.4 MB, free: 8.449 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.9549698471091688]