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.002229/0.002229, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.00224/0.00224, allocations: 215 kB / 23 MB, free: 5.609 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.418/1.418, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.001929/0.001929, allocations: 63.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2518, allocations: 53.31 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002295/0.2541, allocations: 1.257 MB / 431 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2551, allocations: 481.2 kB / 431.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.2551, allocations: 0 / 431.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.2552, allocations: 3.938 kB / 431.5 MB, free: 5.82 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.0004208/0.2556, allocations: 67.8 kB / 431.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.2557, allocations: 59.77 kB / 431.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2558, allocations: 51.83 kB / 431.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.2559, allocations: 7.984 kB / 431.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.2559, allocations: 15.94 kB / 431.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.2559, allocations: 27.89 kB / 431.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.256, allocations: 4 kB / 431.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.2562, allocations: 131.8 kB / 431.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.2563, allocations: 23.92 kB / 431.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.2563, allocations: 51.67 kB / 431.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.2566, allocations: 180.5 kB / 432.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2566, allocations: 7.922 kB / 432.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2566, allocations: 0 / 432.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2566, allocations: 4 kB / 432.1 MB, free: 5.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.0006598/0.2573, allocations: 0.5604 MB / 432.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2573, allocations: 11.97 kB / 432.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2574, allocations: 24.84 kB / 432.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.2576, allocations: 184.2 kB / 432.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2576, allocations: 4.375 kB / 432.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2576, allocations: 4.375 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.2579, allocations: 271.8 kB / 433.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.258, allocations: 192 / 433.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.258, allocations: 7.938 kB / 433.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.258, allocations: 0 / 433.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.2581, allocations: 151.9 kB / 433.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.2584, allocations: 202.2 kB / 433.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2586, allocations: 177.1 kB / 433.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.2587, allocations: 149.7 kB / 433.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2588, allocations: 7.984 kB / 433.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004927/0.2592, allocations: 484.9 kB / 434.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.332e-06/0.2592, allocations: 0 / 434.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009137/0.2602, allocations: 0.735 MB / 435.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.2603, allocations: 160.5 kB / 435.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.2604, allocations: 101.8 kB / 435.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2604, allocations: 29.7 kB / 435.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.2604, allocations: 89.14 kB / 435.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.2605, allocations: 91.22 kB / 435.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.2606, allocations: 41.69 kB / 435.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2607, allocations: 326.8 kB / 435.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.2608, allocations: 84.28 kB / 436 MB, free: 1.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2609, allocations: 114.2 kB / 436.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.2613, allocations: 417.4 kB / 436.5 MB, free: 492 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2613, allocations: 0 / 436.5 MB, free: 492 kB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003989/0.2617, allocations: 348.8 kB / 436.8 MB, free: 124 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.2618, allocations: 111.3 kB / 436.9 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.2618, allocations: 96 / 436.9 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.2618, allocations: 8 kB / 436.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.2618, allocations: 0 / 436.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2619, allocations: 7.969 kB / 437 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.2619, allocations: 23.84 kB / 437 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2619, allocations: 8 kB / 437 MB, free: 15.95 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.0003052/0.2622, allocations: 295.8 kB / 437.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.2623, allocations: 27.84 kB / 437.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.2623, allocations: 13.41 kB / 437.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2623, allocations: 7.984 kB / 437.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2623, allocations: 0 / 437.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2623, allocations: 0 / 437.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2626, allocations: 237.4 kB / 437.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2626, allocations: 0 / 437.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.2626, allocations: 0 / 437.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2626, allocations: 3.938 kB / 437.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.2626, allocations: 15.98 kB / 437.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2626, allocations: 0 / 437.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2626, allocations: 4 kB / 437.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.264, allocations: 1.256 MB / 438.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.2641, allocations: 92.95 kB / 438.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.2642, allocations: 75.81 kB / 439 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.262e-05/0.2642, allocations: 8 kB / 439 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.2643, allocations: 15.97 kB / 439 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.2643, allocations: 19.98 kB / 439 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.2643, allocations: 87.58 kB / 439.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2643, allocations: 0 / 439.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.2647, allocations: 95.86 kB / 439.2 MB, free: 13.59 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.0006485/0.2653, allocations: 284.8 kB / 439.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.2665, allocations: 1.064 MB / 440.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2665, allocations: 0 / 440.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.2673, allocations: 0.9007 MB / 441.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.2675, allocations: 24.06 kB / 441.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.2682, allocations: 396 kB / 441.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.2685, allocations: 0.7245 MB / 442.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.017e-05/0.2685, allocations: 3.984 kB / 442.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.2685, allocations: 11.44 kB / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2685, allocations: 0 / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Templates: time 0.006545/0.2751, allocations: 3.061 MB / 445.7 MB, free: 7.055 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.314588647335768]