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.001176/0.001176, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001339/0.001339, allocations: 165.5 kB / 25.32 MB, free: 9.465 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.9022/0.9022, allocations: 158.6 MB / 187.2 MB, free: 2.527 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.964e-06/1.964e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.325e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001815/0.001839, allocations: 1.264 MB / 252.3 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.002677, allocations: 467 kB / 252.8 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.002719, allocations: 3.938 kB / 252.8 MB, free: 1.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.002774, allocations: 3.938 kB / 252.8 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.003351, allocations: 75.72 kB / 252.8 MB, free: 1.777 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.003535, allocations: 71.61 kB / 252.9 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.003634, allocations: 51.84 kB / 253 MB, free: 1.656 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.003676, allocations: 0 / 253 MB, free: 1.656 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.003727, allocations: 23.97 kB / 253 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.003766, allocations: 19.97 kB / 253 MB, free: 1.613 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.00378, allocations: 3.938 kB / 253 MB, free: 1.609 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.004063, allocations: 159.6 kB / 253.2 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.004107, allocations: 31.94 kB / 253.2 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.004147, allocations: 27.92 kB / 253.2 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.004375, allocations: 187.3 kB / 253.4 MB, free: 1.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004377, allocations: 4 kB / 253.4 MB, free: 1.207 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004378, allocations: 0 / 253.4 MB, free: 1.207 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.004384, allocations: 4 kB / 253.4 MB, free: 1.203 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.0005916/0.004975, allocations: 0.5537 MB / 254 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.005025, allocations: 11.98 kB / 254 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.005175, allocations: 24.84 kB / 254 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.005302, allocations: 136.4 kB / 254.1 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.00532, allocations: 4.375 kB / 254.1 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.005334, allocations: 4.375 kB / 254.1 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.005582, allocations: 276 kB / 254.4 MB, free: 100 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005589, allocations: 192 / 254.4 MB, free: 100 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.005601, allocations: 4.375 kB / 254.4 MB, free: 96 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.005608, allocations: 4.375 kB / 254.4 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.005721, allocations: 175.2 kB / 254.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.00585, allocations: 144.1 kB / 254.7 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.00601, allocations: 225.6 kB / 255 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.006115, allocations: 182.8 kB / 255.1 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.006123, allocations: 8 kB / 255.1 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.006411, allocations: 486.5 kB / 255.6 MB, free: 14.72 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 1.202e-06/0.006413, allocations: 0 / 255.6 MB, free: 14.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006179/0.007031, allocations: 0.7467 MB / 256.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.007096, allocations: 160.6 kB / 256.5 MB, free: 13.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.007179, allocations: 165.9 kB / 256.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.00719, allocations: 25.7 kB / 256.7 MB, free: 13.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.007229, allocations: 131.9 kB / 256.8 MB, free: 13.4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.007282, allocations: 91.28 kB / 256.9 MB, free: 13.31 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.007325, allocations: 51.34 kB / 257 MB, free: 13.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.007454, allocations: 0.5001 MB / 257.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.00753, allocations: 131.8 kB / 257.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.00762, allocations: 179.2 kB / 257.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.007801, allocations: 330 kB / 258.1 MB, free: 12.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.007804, allocations: 32 / 258.1 MB, free: 12.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002872/0.008091, allocations: 428.2 kB / 258.5 MB, free: 11.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.832e-05/0.00816, allocations: 107.3 kB / 258.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008165, allocations: 0 / 258.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.008178, allocations: 0 / 258.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-06/0.008183, allocations: 4 kB / 258.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.008191, allocations: 7.938 kB / 258.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.00823, allocations: 19.84 kB / 258.7 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.008243, allocations: 8 kB / 258.7 MB, free: 11.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.0001704/0.008414, allocations: 310.5 kB / 259 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.008461, allocations: 43.91 kB / 259 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.008477, allocations: 5.984 kB / 259 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.00848, allocations: 0 / 259 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.008485, allocations: 3.938 kB / 259 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.008493, allocations: 11.92 kB / 259 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.008612, allocations: 164.4 kB / 259.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008614, allocations: 0 / 259.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.008616, allocations: 3.938 kB / 259.2 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.00862, allocations: 4 kB / 259.2 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.008642, allocations: 15.98 kB / 259.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.008645, allocations: 4 kB / 259.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008646, allocations: 0 / 259.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.009231, allocations: 0.7733 MB / 260 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.009248, allocations: 19.8 kB / 260 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.009325, allocations: 59.94 kB / 260.1 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.009376, allocations: 12.03 kB / 260.1 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.009424, allocations: 12 kB / 260.1 MB, free: 9.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.009452, allocations: 23.92 kB / 260.1 MB, free: 9.879 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.009501, allocations: 119.2 kB / 260.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009501, allocations: 0 / 260.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.009879, allocations: 95.8 kB / 260.3 MB, free: 9.668 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.000639/0.01052, allocations: 322.5 kB / 260.6 MB, free: 9.379 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006402/0.01116, allocations: 0.6647 MB / 261.3 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01116, allocations: 0 / 261.3 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.01144, allocations: 454 kB / 261.8 MB, free: 8.176 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.01159, allocations: 27.98 kB / 261.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.01205, allocations: 400.9 kB / 262.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.0121, allocations: 88.25 kB / 262.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.506e-06/0.01211, allocations: 256 / 262.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.01213, allocations: 12.5 kB / 262.3 MB, free: 7.59 MB / 250.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01213, allocations: 0 / 262.3 MB, free: 7.59 MB / 250.7 MB Notification: Performance of Templates: time 0.004967/0.01709, allocations: 3.38 MB / 265.7 MB, free: 4.199 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.7279280670918524]