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.001838/0.001838, allocations: 88.23 kB / 21.44 MB, free: 276 kB / 14.72 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.002172/0.002172, allocations: 163.3 kB / 24.71 MB, free: 3.527 MB / 14.72 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.428/1.428, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 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 2.104e-06/2.104e-06, allocations: 3.938 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.08e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002516/0.002547, allocations: 1.218 MB / 300.2 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.003666, allocations: 450.3 kB / 300.6 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.003694, allocations: 0 / 300.6 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.003735, allocations: 7.922 kB / 300.6 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.004276, allocations: 71.73 kB / 300.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.004462, allocations: 75.61 kB / 300.8 MB, free: 6.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.004579, allocations: 43.84 kB / 300.8 MB, free: 6.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.004631, allocations: 7.984 kB / 300.8 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.004689, allocations: 23.97 kB / 300.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.004734, allocations: 23.91 kB / 300.9 MB, free: 6.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.004749, allocations: 0 / 300.9 MB, free: 6.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.005097, allocations: 151.7 kB / 301 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.005159, allocations: 35.86 kB / 301 MB, free: 6.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.005215, allocations: 31.88 kB / 301.1 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.005538, allocations: 183.4 kB / 301.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.005544, allocations: 7.938 kB / 301.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005545, allocations: 4 kB / 301.3 MB, free: 6.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.00555, allocations: 0 / 301.3 MB, free: 6.383 MB / 286.1 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.0007066/0.006256, allocations: 496.6 kB / 301.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.006301, allocations: 15.98 kB / 301.8 MB, free: 5.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.006468, allocations: 16.84 kB / 301.8 MB, free: 5.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.006648, allocations: 125.6 kB / 301.9 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.006664, allocations: 384 / 301.9 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.006683, allocations: 8.375 kB / 301.9 MB, free: 5.664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.00724, allocations: 387.2 kB / 302.3 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.007251, allocations: 192 / 302.3 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.007269, allocations: 8.375 kB / 302.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.007276, allocations: 384 / 302.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.007607, allocations: 275.2 kB / 302.6 MB, free: 4.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.007838, allocations: 126 kB / 302.7 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.008223, allocations: 297.2 kB / 303 MB, free: 4.496 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.008552, allocations: 269 kB / 303.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.008578, allocations: 7.984 kB / 303.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000785/0.009363, allocations: 0.5667 MB / 303.8 MB, free: 3.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.412e-06/0.009365, allocations: 3.938 kB / 303.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.001389/0.01075, allocations: 0.977 MB / 304.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.0109, allocations: 160.5 kB / 305 MB, free: 2.371 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.01107, allocations: 105.8 kB / 305.1 MB, free: 2.258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.01109, allocations: 29.7 kB / 305.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.01114, allocations: 81.14 kB / 305.2 MB, free: 2.141 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/0.01123, allocations: 95.22 kB / 305.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.01131, allocations: 45.69 kB / 305.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.01148, allocations: 330.8 kB / 305.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.01168, allocations: 203.7 kB / 305.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.0119, allocations: 225.5 kB / 306.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.01236, allocations: 464.3 kB / 306.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01236, allocations: 4.094 kB / 306.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005911/0.01295, allocations: 0.4884 MB / 307 MB, free: 212 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.01309, allocations: 115.3 kB / 307.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01309, allocations: 0 / 307.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.01311, allocations: 0 / 307.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-06/0.01311, allocations: 4 kB / 307.1 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01312, allocations: 3.938 kB / 307.1 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.01318, allocations: 19.84 kB / 307.1 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.0132, allocations: 11.94 kB / 307.1 MB, free: 44 kB / 286.1 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.0003267/0.01353, allocations: 279.8 kB / 307.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.01359, allocations: 23.91 kB / 307.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.01361, allocations: 5.656 kB / 307.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.01362, allocations: 4 kB / 307.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.01362, allocations: 4 kB / 307.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01363, allocations: 3.938 kB / 307.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.0138, allocations: 161.1 kB / 307.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.0138, allocations: 0 / 307.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.01381, allocations: 3.938 kB / 307.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01381, allocations: 3.984 kB / 307.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.01385, allocations: 16 kB / 307.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01385, allocations: 0 / 307.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01385, allocations: 0 / 307.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.0152, allocations: 0.9077 MB / 308.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.01524, allocations: 23.8 kB / 308.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.01534, allocations: 67.97 kB / 308.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.01541, allocations: 12 kB / 308.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.01546, allocations: 11.98 kB / 308.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.01549, allocations: 19.94 kB / 308.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.01555, allocations: 87.58 kB / 308.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01556, allocations: 0 / 308.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003702/0.01593, allocations: 87.88 kB / 308.9 MB, free: 14.24 MB / 302.1 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.0008388/0.01676, allocations: 321.2 kB / 309.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.01783, allocations: 0.8681 MB / 310 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01784, allocations: 0 / 310 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.01843, allocations: 0.5369 MB / 310.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.01867, allocations: 20 kB / 310.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.0196, allocations: 0.5027 MB / 311.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.01976, allocations: 118.1 kB / 311.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.524e-05/0.01977, allocations: 4 kB / 311.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.01979, allocations: 12.44 kB / 311.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of SimCode: time 1.813e-06/0.0198, allocations: 0 / 311.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Templates: time 0.008528/0.02832, allocations: 3.151 MB / 314.4 MB, free: 8.555 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] 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.632034815847874]