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.0008244/0.0008244, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008873/0.0008873, allocations: 157 kB / 25.45 MB, free: 8.859 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.8895/0.8895, allocations: 158.6 MB / 187.2 MB, free: 3.043 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.684e-06/1.684e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.868e-05, allocations: 2.281 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001407/0.001425, allocations: 1.229 MB / 300.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006173/0.002043, allocations: 447.6 kB / 301.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.002071, allocations: 0 / 301.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.002101, allocations: 7.938 kB / 301.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.002533, allocations: 83.64 kB / 301.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.002642, allocations: 59.7 kB / 301.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.011e-05/0.002722, allocations: 47.83 kB / 301.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.00276, allocations: 7.922 kB / 301.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.002799, allocations: 19.98 kB / 301.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.206e-05/0.002831, allocations: 19.97 kB / 301.6 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.002843, allocations: 4 kB / 301.6 MB, free: 5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.003043, allocations: 151.7 kB / 301.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.003082, allocations: 39.86 kB / 301.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.003116, allocations: 23.94 kB / 301.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.003324, allocations: 195.3 kB / 302 MB, free: 4.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003326, allocations: 3.984 kB / 302 MB, free: 4.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003327, allocations: 0 / 302 MB, free: 4.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003331, allocations: 0 / 302 MB, free: 4.594 MB / 282.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.0004178/0.003749, allocations: 492.6 kB / 302.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.003784, allocations: 11.98 kB / 302.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.003881, allocations: 24.83 kB / 302.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/0.00397, allocations: 121.6 kB / 302.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.003981, allocations: 8.375 kB / 302.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.003992, allocations: 4.375 kB / 302.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.004534, allocations: 395.2 kB / 303 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.00454, allocations: 192 / 303 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004551, allocations: 384 / 303.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004556, allocations: 4.375 kB / 303.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.004701, allocations: 263.2 kB / 303.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.004813, allocations: 130 kB / 303.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.004983, allocations: 296.5 kB / 303.7 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.005124, allocations: 273 kB / 304 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.005131, allocations: 4 kB / 304 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.005466, allocations: 0.5706 MB / 304.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 6.41e-07/0.005466, allocations: 0 / 304.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006716/0.006138, allocations: 0.977 MB / 305.5 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.006205, allocations: 160.5 kB / 305.7 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.035e-05/0.006265, allocations: 105.8 kB / 305.8 MB, free: 484 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.006276, allocations: 29.69 kB / 305.8 MB, free: 448 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.006312, allocations: 85.14 kB / 305.9 MB, free: 360 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.006364, allocations: 87.22 kB / 306 MB, free: 272 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.0064, allocations: 45.77 kB / 306 MB, free: 220 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.006497, allocations: 326.8 kB / 306.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.006608, allocations: 203.7 kB / 306.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.006727, allocations: 237.5 kB / 306.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.006966, allocations: 464.3 kB / 307.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006969, allocations: 0 / 307.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002879/0.007257, allocations: 492.1 kB / 307.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.007315, allocations: 115.3 kB / 307.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.007321, allocations: 4 kB / 307.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.007337, allocations: 0 / 307.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.007338, allocations: 0 / 307.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.007344, allocations: 8.031 kB / 307.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.007383, allocations: 31.78 kB / 307.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.007394, allocations: 8 kB / 307.9 MB, free: 14.25 MB / 298.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.0001576/0.007552, allocations: 275.7 kB / 308.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.00758, allocations: 27.91 kB / 308.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-06/0.00759, allocations: 5.656 kB / 308.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.007591, allocations: 0 / 308.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.007595, allocations: 0 / 308.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.0076, allocations: 11.92 kB / 308.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.007683, allocations: 153.1 kB / 308.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007684, allocations: 0 / 308.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.007685, allocations: 3.938 kB / 308.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007686, allocations: 7.938 kB / 308.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.007704, allocations: 19.98 kB / 308.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.007705, allocations: 7.938 kB / 308.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007706, allocations: 0 / 308.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.008302, allocations: 0.9038 MB / 309.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.008317, allocations: 19.8 kB / 309.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.008384, allocations: 67.94 kB / 309.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.008413, allocations: 8 kB / 309.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.008441, allocations: 11.98 kB / 309.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.00846, allocations: 23.92 kB / 309.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.975e-05/0.008489, allocations: 79.28 kB / 309.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008489, allocations: 0 / 309.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.008708, allocations: 91.95 kB / 309.6 MB, free: 12.45 MB / 298.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.0006229/0.00933, allocations: 323.3 kB / 309.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005335/0.009864, allocations: 0.8681 MB / 310.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.009866, allocations: 0 / 310.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.01015, allocations: 0.5331 MB / 311.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.01028, allocations: 20 kB / 311.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.01076, allocations: 0.5358 MB / 311.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.784e-05/0.01083, allocations: 114 kB / 312 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.01084, allocations: 8.5 kB / 312 MB, free: 9.902 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01084, allocations: 0 / 312 MB, free: 9.902 MB / 298.7 MB Notification: Performance of Templates: time 0.003164/0.014, allocations: 2.893 MB / 314.9 MB, free: 7.008 MB / 298.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=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.624244625680149]