Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 106.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 194.4 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 369.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2631, allocations: 52.15 MB / 421.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002353/0.2655, allocations: 1.241 MB / 422.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.2665, allocations: 468.4 kB / 423 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.2665, allocations: 0 / 423 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.2666, allocations: 3.938 kB / 423 MB, free: 13.44 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0004435/0.267, allocations: 79.72 kB / 423.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.2671, allocations: 59.81 kB / 423.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.2672, allocations: 47.84 kB / 423.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.2673, allocations: 3.984 kB / 423.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.2673, allocations: 23.98 kB / 423.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.2674, allocations: 23.91 kB / 423.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2674, allocations: 0 / 423.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.2676, allocations: 123.8 kB / 423.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.2677, allocations: 35.84 kB / 423.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.2677, allocations: 51.67 kB / 423.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.268, allocations: 181.4 kB / 423.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.268, allocations: 0 / 423.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.268, allocations: 0 / 423.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.268, allocations: 0 / 423.6 MB, free: 12.83 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.0006471/0.2687, allocations: 0.576 MB / 424.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2687, allocations: 8.031 kB / 424.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.2688, allocations: 24.83 kB / 424.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.269, allocations: 172.3 kB / 424.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.269, allocations: 384 / 424.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.269, allocations: 12.31 kB / 424.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.2694, allocations: 271.8 kB / 424.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2694, allocations: 3.938 kB / 424.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2694, allocations: 8 kB / 424.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2694, allocations: 0 / 424.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.2696, allocations: 143.9 kB / 424.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.2698, allocations: 198.4 kB / 425 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.27, allocations: 173.1 kB / 425.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2702, allocations: 153.7 kB / 425.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.2702, allocations: 4 kB / 425.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.2707, allocations: 488.8 kB / 425.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 9.61e-07/0.2707, allocations: 0 / 425.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009424/0.2716, allocations: 0.7389 MB / 426.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.2718, allocations: 164.4 kB / 426.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.2719, allocations: 109.9 kB / 426.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2719, allocations: 29.64 kB / 426.8 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.2719, allocations: 85.14 kB / 426.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.272, allocations: 91.2 kB / 427 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.2721, allocations: 41.7 kB / 427.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2722, allocations: 326.8 kB / 427.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.2723, allocations: 80.34 kB / 427.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2724, allocations: 118.2 kB / 427.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.2728, allocations: 409.4 kB / 428 MB, free: 8.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2728, allocations: 0 / 428 MB, free: 8.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003809/0.2732, allocations: 353.1 kB / 428.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.2733, allocations: 115.3 kB / 428.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2733, allocations: 3.984 kB / 428.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2733, allocations: 3.938 kB / 428.4 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.2733, allocations: 4 kB / 428.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2733, allocations: 0 / 428.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.2734, allocations: 19.94 kB / 428.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2734, allocations: 15.98 kB / 428.5 MB, free: 7.574 MB / 334.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.0002917/0.2737, allocations: 299.6 kB / 428.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.2738, allocations: 39.83 kB / 428.8 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.07e-05/0.2738, allocations: 5.562 kB / 428.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2738, allocations: 4 kB / 428.8 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2738, allocations: 0 / 428.8 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2738, allocations: 0 / 428.8 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.274, allocations: 229.4 kB / 429 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.274, allocations: 0 / 429 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.274, allocations: 4 kB / 429 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.274, allocations: 3.938 kB / 429 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.274, allocations: 19.98 kB / 429.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.274, allocations: 4 kB / 429.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.274, allocations: 0 / 429.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.2754, allocations: 1.244 MB / 430.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.2755, allocations: 104.9 kB / 430.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.2756, allocations: 67.89 kB / 430.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.2756, allocations: 8 kB / 430.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.2757, allocations: 11.98 kB / 430.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2757, allocations: 24.02 kB / 430.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.2758, allocations: 79.28 kB / 430.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2758, allocations: 0 / 430.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000339/0.2761, allocations: 95.8 kB / 430.7 MB, free: 5.23 MB / 334.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.0006358/0.2768, allocations: 298.4 kB / 431 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.2779, allocations: 1.064 MB / 432.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2779, allocations: 8.125 kB / 432.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008415/0.2787, allocations: 0.8927 MB / 433 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.2789, allocations: 20 kB / 433 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.2795, allocations: 417.7 kB / 433.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.2799, allocations: 0.7283 MB / 434.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.2799, allocations: 11.44 kB / 434.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2799, allocations: 0 / 434.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of Templates: time 0.005416/0.2853, allocations: 2.871 MB / 437 MB, free: 14.84 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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