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.001891/0.001891, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002266/0.002266, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 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.471/1.471, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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 1.272e-06/1.272e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.762e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002315/0.002343, allocations: 1.239 MB / 273.4 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003364, allocations: 450.9 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.003389, allocations: 0 / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.745e-05/0.003436, allocations: 7.922 kB / 273.9 MB, free: 116 kB / 250.7 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.0004746/0.003911, allocations: 79.64 kB / 274 MB, free: 36 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.004098, allocations: 71.62 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.004197, allocations: 43.84 kB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.004231, allocations: 7.984 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.004281, allocations: 19.98 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.00432, allocations: 15.97 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.004344, allocations: 4 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.004693, allocations: 147.7 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.004768, allocations: 43.84 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.004829, allocations: 27.94 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.005177, allocations: 191.3 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.00518, allocations: 0 / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005181, allocations: 4 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.005186, allocations: 0 / 274.5 MB, free: 15.47 MB / 266.7 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.0007385/0.005925, allocations: 488.7 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.005968, allocations: 11.98 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.006123, allocations: 28.83 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.006261, allocations: 117.6 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.006277, allocations: 4.375 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.006292, allocations: 8.312 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.00678, allocations: 391.2 kB / 275.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006789, allocations: 192 / 275.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.0068, allocations: 4.375 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.006804, allocations: 4.375 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.007096, allocations: 263.2 kB / 275.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.00727, allocations: 126 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.007632, allocations: 300.5 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.008041, allocations: 269.1 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.00805, allocations: 0 / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.008711, allocations: 0.5783 MB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 7.82e-07/0.008712, allocations: 0 / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.00126/0.009972, allocations: 0.9809 MB / 278 MB, free: 11.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.0101, allocations: 164.5 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.01021, allocations: 105.8 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01023, allocations: 29.7 kB / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.01029, allocations: 81.14 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.01039, allocations: 99.16 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.01045, allocations: 37.7 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.01063, allocations: 322.8 kB / 278.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.01085, allocations: 203.7 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.01108, allocations: 233.5 kB / 279.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.01158, allocations: 468.3 kB / 279.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01158, allocations: 4 kB / 279.8 MB, free: 9.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005858/0.01217, allocations: 0.4923 MB / 280.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.01229, allocations: 111.3 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.0123, allocations: 0 / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01232, allocations: 336 / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.01232, allocations: 0 / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01233, allocations: 3.938 kB / 280.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.01239, allocations: 23.84 kB / 280.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.01241, allocations: 8 kB / 280.4 MB, free: 9.133 MB / 266.7 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.0003087/0.01272, allocations: 275.8 kB / 280.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.0128, allocations: 47.89 kB / 280.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.01282, allocations: 9.656 kB / 280.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01282, allocations: 0 / 280.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.01283, allocations: 7.984 kB / 280.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.01284, allocations: 7.938 kB / 280.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.01301, allocations: 149.1 kB / 280.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01301, allocations: 0 / 280.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.01301, allocations: 0 / 280.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.01301, allocations: 7.938 kB / 280.9 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.01305, allocations: 19.98 kB / 280.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01305, allocations: 3.938 kB / 280.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01305, allocations: 0 / 280.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.01428, allocations: 0.9194 MB / 281.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.0143, allocations: 19.8 kB / 281.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.01441, allocations: 71.97 kB / 281.9 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.992e-05/0.01447, allocations: 8 kB / 281.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.01452, allocations: 11.98 kB / 281.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.01455, allocations: 23.92 kB / 282 MB, free: 7.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.01461, allocations: 83.28 kB / 282 MB, free: 7.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01461, allocations: 0 / 282 MB, free: 7.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.01495, allocations: 91.86 kB / 282.1 MB, free: 7.289 MB / 266.7 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.000741/0.01569, allocations: 319.4 kB / 282.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.01685, allocations: 0.8681 MB / 283.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01686, allocations: 0 / 283.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.01746, allocations: 0.5293 MB / 283.8 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01768, allocations: 27.98 kB / 283.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.0185, allocations: 0.5056 MB / 284.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.01863, allocations: 118.3 kB / 284.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.508e-06/0.01864, allocations: 3.906 kB / 284.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.01866, allocations: 8.5 kB / 284.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01866, allocations: 3.938 kB / 284.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of Templates: time 0.007108/0.02577, allocations: 3.174 MB / 287.7 MB, free: 1.621 MB / 266.7 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.172229555086233]