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.001921/0.001921, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002376/0.002376, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.483/1.483, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.001984/0.001984, allocations: 68.14 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2625, allocations: 53.4 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002475/0.265, allocations: 1.246 MB / 433.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2661, allocations: 449.6 kB / 434.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.2661, allocations: 4 kB / 434.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.2661, allocations: 3.938 kB / 434.1 MB, free: 4.98 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.0005067/0.2667, allocations: 83.7 kB / 434.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.2668, allocations: 59.83 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2669, allocations: 43.84 kB / 434.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.267, allocations: 15.97 kB / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.267, allocations: 8 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.267, allocations: 23.91 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.267, allocations: 4 kB / 434.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.2674, allocations: 151.7 kB / 434.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.2674, allocations: 39.86 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.2675, allocations: 43.69 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2677, allocations: 174.2 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2677, allocations: 4 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2677, allocations: 4 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2678, allocations: 3.938 kB / 434.7 MB, free: 4.336 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.0006267/0.2684, allocations: 484.7 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2684, allocations: 11.98 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.2685, allocations: 20.84 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2687, allocations: 122.4 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2687, allocations: 8.375 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2687, allocations: 4.375 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.2692, allocations: 395.1 kB / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2692, allocations: 192 / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2693, allocations: 7.922 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2693, allocations: 0 / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.2696, allocations: 263.3 kB / 436 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.2698, allocations: 133.8 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.2701, allocations: 292.5 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.2704, allocations: 277 kB / 436.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.2704, allocations: 4 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006434/0.271, allocations: 0.5783 MB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.212e-06/0.271, allocations: 3.938 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.001309/0.2724, allocations: 0.9769 MB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.2725, allocations: 160.5 kB / 438.4 MB, free: 328 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2726, allocations: 101.9 kB / 438.5 MB, free: 216 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.2727, allocations: 25.7 kB / 438.5 MB, free: 184 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.2728, allocations: 85.14 kB / 438.6 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.2729, allocations: 95.2 kB / 438.7 MB, free: 0 / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.273, allocations: 41.7 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.2732, allocations: 326.9 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2735, allocations: 203.7 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.2737, allocations: 229.5 kB / 439.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.2742, allocations: 472.2 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2742, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005417/0.2747, allocations: 492.2 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.2748, allocations: 111.3 kB / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2748, allocations: 0 / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2748, allocations: 3.938 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.2748, allocations: 0 / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2748, allocations: 3.938 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.2749, allocations: 27.94 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2749, allocations: 8 kB / 440.6 MB, free: 14 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.0002806/0.2752, allocations: 271.7 kB / 440.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.2753, allocations: 35.91 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.2753, allocations: 9.594 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.2753, allocations: 0 / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2753, allocations: 3.938 kB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2753, allocations: 0 / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.2755, allocations: 161 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2755, allocations: 0 / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2755, allocations: 0 / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2755, allocations: 4 kB / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.2755, allocations: 12 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.2755, allocations: 11.92 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2755, allocations: 4 kB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.2767, allocations: 0.9077 MB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2768, allocations: 23.8 kB / 442 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.277, allocations: 67.94 kB / 442.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.277, allocations: 11.94 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.2771, allocations: 12.31 kB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2771, allocations: 16 kB / 442.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.2771, allocations: 87.25 kB / 442.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2771, allocations: 0 / 442.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.2775, allocations: 91.88 kB / 442.3 MB, free: 12.19 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.000659/0.2782, allocations: 309.3 kB / 442.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000981/0.2791, allocations: 0.8641 MB / 443.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2791, allocations: 0 / 443.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.2797, allocations: 0.537 MB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.2799, allocations: 20 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.2807, allocations: 0.5365 MB / 444.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2808, allocations: 106.1 kB / 444.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.2808, allocations: 7.438 kB / 444.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2808, allocations: 0 / 444.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of Templates: time 0.005402/0.2862, allocations: 2.882 MB / 447.6 MB, free: 6.809 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/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_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: 7.822531391866505]