Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001497/0.001497, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 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.001761/0.001761, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.92 kB / 374.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1147, allocations: 53.33 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002415/0.1171, allocations: 1.246 MB / 428.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1181, allocations: 470.3 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.1181, allocations: 3.938 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.1182, allocations: 0 / 429.2 MB, free: 2.578 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.0004904/0.1187, allocations: 71.73 kB / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1188, allocations: 67.73 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.1189, allocations: 47.91 kB / 429.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.119, allocations: 4 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.119, allocations: 27.91 kB / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.426e-05/0.119, allocations: 15.91 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.119, allocations: 4 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1193, allocations: 123.8 kB / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1193, allocations: 39.84 kB / 429.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1194, allocations: 47.67 kB / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1197, allocations: 171.3 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1197, allocations: 0 / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1197, allocations: 3.938 kB / 429.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1197, allocations: 4 kB / 429.8 MB, free: 1.961 MB / 350.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.0006789/0.1204, allocations: 0.5682 MB / 430.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1204, allocations: 8.031 kB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1206, allocations: 20.84 kB / 430.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1207, allocations: 184.1 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1207, allocations: 4.375 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1207, allocations: 4.375 kB / 430.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.1211, allocations: 279.8 kB / 430.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1211, allocations: 192 / 430.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1211, allocations: 3.938 kB / 430.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1211, allocations: 0 / 430.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1213, allocations: 143.9 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.1215, allocations: 210 kB / 431.2 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1217, allocations: 177.2 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1219, allocations: 161.6 kB / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1219, allocations: 3.938 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.1224, allocations: 476.9 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.062e-06/0.1224, allocations: 0 / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009358/0.1233, allocations: 0.7427 MB / 432.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.1235, allocations: 160.6 kB / 432.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.1236, allocations: 101.8 kB / 433 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1236, allocations: 29.7 kB / 433 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.1236, allocations: 81.14 kB / 433.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.1237, allocations: 91.28 kB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.1238, allocations: 37.7 kB / 433.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1239, allocations: 330.8 kB / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.124, allocations: 88.34 kB / 433.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1241, allocations: 110.1 kB / 433.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.1245, allocations: 425.4 kB / 434.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1245, allocations: 0 / 434.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003957/0.1249, allocations: 340.8 kB / 434.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.125, allocations: 119.3 kB / 434.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.125, allocations: 0 / 434.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1251, allocations: 0 / 434.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.1251, allocations: 0 / 434.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1251, allocations: 4.094 kB / 434.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/0.1251, allocations: 23.84 kB / 434.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.1252, allocations: 8 kB / 434.7 MB, free: 12.71 MB / 366.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.0003067/0.1255, allocations: 299.7 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.1255, allocations: 31.84 kB / 435 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.632e-05/0.1256, allocations: 5.562 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1256, allocations: 0 / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1256, allocations: 0 / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1256, allocations: 4 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1258, allocations: 233.4 kB / 435.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1258, allocations: 0 / 435.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/0.1258, allocations: 4 kB / 435.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1258, allocations: 7.938 kB / 435.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.1258, allocations: 19.98 kB / 435.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1258, allocations: 3.984 kB / 435.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1258, allocations: 3.938 kB / 435.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.1273, allocations: 1.24 MB / 436.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.1273, allocations: 100.8 kB / 436.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.1274, allocations: 71.88 kB / 436.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.1275, allocations: 12.03 kB / 436.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1275, allocations: 15.98 kB / 436.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1276, allocations: 15.94 kB / 436.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.1276, allocations: 83.59 kB / 436.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1276, allocations: 0 / 436.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.128, allocations: 87.94 kB / 436.9 MB, free: 10.37 MB / 366.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.0006887/0.1287, allocations: 309.9 kB / 437.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.1298, allocations: 1.076 MB / 438.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1298, allocations: 0 / 438.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.1307, allocations: 0.8889 MB / 439.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1309, allocations: 24 kB / 439.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.1316, allocations: 429.9 kB / 439.6 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.132, allocations: 0.7283 MB / 440.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.132, allocations: 7.438 kB / 440.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.132, allocations: 0 / 440.3 MB, free: 6.832 MB / 366.1 MB Notification: Performance of Templates: time 0.005538/0.1376, allocations: 2.85 MB / 443.2 MB, free: 3.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.791903296980308]