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.002884/0.002884, allocations: 91.66 kB / 21.73 MB, free: 2.676 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.003105/0.003105, allocations: 163.5 kB / 25.03 MB, free: 8.949 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 1.51/1.51, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.483e-06/1.483e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.324e-05, allocations: 6.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.003142/0.003175, allocations: 1.23 MB / 251.6 MB, free: 6.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004371, allocations: 459.5 kB / 252 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.004408, allocations: 3.938 kB / 252.1 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.588e-05/0.004464, allocations: 8 kB / 252.1 MB, free: 6.117 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005774/0.005041, allocations: 79.64 kB / 252.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.005207, allocations: 63.69 kB / 252.2 MB, free: 5.977 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.005325, allocations: 51.83 kB / 252.3 MB, free: 5.926 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.005361, allocations: 0 / 252.3 MB, free: 5.926 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.005432, allocations: 27.95 kB / 252.3 MB, free: 5.898 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.005477, allocations: 15.92 kB / 252.3 MB, free: 5.883 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.005493, allocations: 0 / 252.3 MB, free: 5.883 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.005839, allocations: 155.6 kB / 252.4 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.005902, allocations: 31.94 kB / 252.5 MB, free: 5.699 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.005969, allocations: 39.86 kB / 252.5 MB, free: 5.66 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.006323, allocations: 195.3 kB / 252.7 MB, free: 5.469 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.006328, allocations: 0 / 252.7 MB, free: 5.469 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.006331, allocations: 4 kB / 252.7 MB, free: 5.465 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.006337, allocations: 0 / 252.7 MB, free: 5.465 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.0007413/0.007079, allocations: 0.5456 MB / 253.3 MB, free: 4.867 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.007131, allocations: 15.98 kB / 253.3 MB, free: 4.852 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.007319, allocations: 24.83 kB / 253.3 MB, free: 4.828 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.007486, allocations: 128.5 kB / 253.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.007503, allocations: 4.359 kB / 253.4 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.007522, allocations: 12.38 kB / 253.4 MB, free: 4.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.00789, allocations: 271.9 kB / 253.7 MB, free: 4.367 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.007903, allocations: 4.125 kB / 253.7 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.007916, allocations: 384 / 253.7 MB, free: 4.363 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.007923, allocations: 4.375 kB / 253.7 MB, free: 4.359 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.008122, allocations: 167.3 kB / 253.9 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.008333, allocations: 144.1 kB / 254 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.008674, allocations: 249.5 kB / 254.3 MB, free: 3.723 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.008911, allocations: 214.8 kB / 254.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.008921, allocations: 0 / 254.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005473/0.009469, allocations: 478.6 kB / 254.9 MB, free: 2.961 MB / 234.7 MB Notification: Performance of pre-optimization done (n=46): time 7.71e-07/0.009469, allocations: 0 / 254.9 MB, free: 2.961 MB / 234.7 MB Notification: Performance of matching and sorting (n=46): time 0.001024/0.01049, allocations: 0.7467 MB / 255.7 MB, free: 2.172 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.01063, allocations: 160.4 kB / 255.8 MB, free: 1.984 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01078, allocations: 165.9 kB / 256 MB, free: 1.805 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.0108, allocations: 29.7 kB / 256 MB, free: 1.77 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.01088, allocations: 127.9 kB / 256.2 MB, free: 1.641 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.01099, allocations: 95.22 kB / 256.3 MB, free: 1.543 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/0.01107, allocations: 55.34 kB / 256.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003031/0.01137, allocations: 0.5001 MB / 256.8 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.01151, allocations: 139.8 kB / 256.9 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01169, allocations: 175.2 kB / 257.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.01203, allocations: 322 kB / 257.4 MB, free: 288 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01203, allocations: 0 / 257.4 MB, free: 288 kB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005114/0.01255, allocations: 428.2 kB / 257.8 MB, free: 15.83 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.01267, allocations: 107.3 kB / 257.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.01267, allocations: 0 / 257.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01269, allocations: 0 / 257.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.01269, allocations: 0 / 257.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.0127, allocations: 3.938 kB / 258 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.01277, allocations: 31.77 kB / 258 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.01279, allocations: 12.09 kB / 258 MB, free: 15.67 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.0005878/0.01337, allocations: 302.4 kB / 258.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.01345, allocations: 39.91 kB / 258.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.01348, allocations: 17.66 kB / 258.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01348, allocations: 0 / 258.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01348, allocations: 336 / 258.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.01349, allocations: 3.938 kB / 258.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.01369, allocations: 172.4 kB / 258.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01369, allocations: 0 / 258.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.01369, allocations: 0 / 258.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01369, allocations: 3.984 kB / 258.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.01373, allocations: 16 kB / 258.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01373, allocations: 0 / 258.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.01374, allocations: 7.984 kB / 258.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.01478, allocations: 0.7654 MB / 259.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.01481, allocations: 23.8 kB / 259.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.01492, allocations: 59.94 kB / 259.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.01497, allocations: 8 kB / 259.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.01503, allocations: 11.98 kB / 259.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.01506, allocations: 19.94 kB / 259.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.01515, allocations: 127.2 kB / 259.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01515, allocations: 0 / 259.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.01551, allocations: 91.88 kB / 259.6 MB, free: 13.9 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.0008821/0.01639, allocations: 315.3 kB / 260 MB, free: 13.63 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009346/0.01732, allocations: 0.739 MB / 260.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01732, allocations: 4 kB / 260.7 MB, free: 12.83 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006181/0.01794, allocations: 0.5606 MB / 261.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01817, allocations: 35.88 kB / 261.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.01888, allocations: 413.2 kB / 261.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.01901, allocations: 110 kB / 261.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.557e-06/0.01902, allocations: 0 / 261.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.01903, allocations: 8.5 kB / 261.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01903, allocations: 0 / 261.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of Templates: time 0.007899/0.02693, allocations: 3.155 MB / 265 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.780027543078177]