Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002008/0.002008, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002534/0.002534, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 59.91 kB / 378.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2231, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002354/0.2254, allocations: 1.235 MB / 432.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2264, allocations: 461.5 kB / 433.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.2264, allocations: 0 / 433.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.2265, allocations: 4 kB / 433.3 MB, free: 4.836 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004766/0.227, allocations: 83.64 kB / 433.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.2271, allocations: 63.75 kB / 433.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.2272, allocations: 47.91 kB / 433.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.2272, allocations: 3.984 kB / 433.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.2273, allocations: 19.94 kB / 433.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.2273, allocations: 23.89 kB / 433.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2273, allocations: 0 / 433.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.2277, allocations: 159.7 kB / 433.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.2277, allocations: 27.92 kB / 433.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.2278, allocations: 39.73 kB / 433.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.228, allocations: 181.5 kB / 434 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.228, allocations: 0 / 434 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.228, allocations: 0 / 434 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2281, allocations: 0 / 434 MB, free: 4.203 MB / 334.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.0006153/0.2287, allocations: 484.8 kB / 434.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2287, allocations: 19.92 kB / 434.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2288, allocations: 20.84 kB / 434.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.229, allocations: 126.3 kB / 434.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.229, allocations: 8.375 kB / 434.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.229, allocations: 4.375 kB / 434.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.2294, allocations: 391.2 kB / 435 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2294, allocations: 192 / 435 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2295, allocations: 7.938 kB / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2295, allocations: 0 / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.2297, allocations: 263.2 kB / 435.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.2299, allocations: 133.8 kB / 435.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.2302, allocations: 296.5 kB / 435.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.2305, allocations: 265.1 kB / 435.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2305, allocations: 11.94 kB / 435.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.2311, allocations: 0.5627 MB / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.012e-06/0.2311, allocations: 0 / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.001188/0.2323, allocations: 0.9849 MB / 437.5 MB, free: 388 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.2324, allocations: 164.5 kB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.2325, allocations: 97.86 kB / 437.7 MB, free: 84 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2325, allocations: 29.7 kB / 437.8 MB, free: 48 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.2326, allocations: 85.12 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.2326, allocations: 91.22 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.2327, allocations: 41.77 kB / 438 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2329, allocations: 330.8 kB / 438.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2331, allocations: 207.6 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.2333, allocations: 233.5 kB / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.2337, allocations: 464.2 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2337, allocations: 4 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005238/0.2343, allocations: 496.1 kB / 439.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.2344, allocations: 111.3 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2344, allocations: 0 / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2344, allocations: 3.938 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.895e-06/0.2344, allocations: 4 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2344, allocations: 4.094 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.2345, allocations: 23.84 kB / 439.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2345, allocations: 8 kB / 439.8 MB, free: 13.86 MB / 350.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.000266/0.2347, allocations: 279.7 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.2348, allocations: 23.91 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.2348, allocations: 9.594 kB / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2348, allocations: 4 kB / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2348, allocations: 0 / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2348, allocations: 0 / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.235, allocations: 161.1 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.235, allocations: 0 / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.235, allocations: 0 / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.235, allocations: 0 / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.235, allocations: 15.98 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.235, allocations: 11.92 kB / 440.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.235, allocations: 3.938 kB / 440.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2361, allocations: 0.9039 MB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.2362, allocations: 27.8 kB / 441.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.2363, allocations: 67.88 kB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.2363, allocations: 15.94 kB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.2364, allocations: 11.98 kB / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.2364, allocations: 19.98 kB / 441.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.2364, allocations: 83.28 kB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2364, allocations: 0 / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.2368, allocations: 87.91 kB / 441.5 MB, free: 12.05 MB / 350.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.0006281/0.2374, allocations: 310.7 kB / 441.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009756/0.2384, allocations: 0.8641 MB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2384, allocations: 0 / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.2389, allocations: 0.5292 MB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.2391, allocations: 20 kB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.2398, allocations: 0.5074 MB / 443.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2399, allocations: 110.1 kB / 443.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.654e-06/0.2399, allocations: 0 / 443.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.24, allocations: 7.438 kB / 443.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.24, allocations: 0 / 443.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Templates: time 0.006748/0.2467, allocations: 3.211 MB / 447.1 MB, free: 6.387 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.518195888027549]