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.002693/0.002693, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002752/0.002752, allocations: 160.8 kB / 24.27 MB, free: 156 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.587/1.587, allocations: 177 MB / 204.4 MB, free: 5.605 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.212e-06/1.212e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.332e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002316/0.002339, allocations: 1.256 MB / 273.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.003382, allocations: 450.3 kB / 273.9 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.003407, allocations: 0 / 273.9 MB, free: 100 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.369e-05/0.00345, allocations: 3.938 kB / 273.9 MB, free: 96 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.0004608/0.003911, allocations: 79.64 kB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.004095, allocations: 79.72 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.004187, allocations: 43.73 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.732e-05/0.004215, allocations: 0 / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.004274, allocations: 27.95 kB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.004313, allocations: 15.98 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.004332, allocations: 7.984 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.00465, allocations: 151.6 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.004703, allocations: 31.92 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.004757, allocations: 27.94 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.005073, allocations: 199.3 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005075, allocations: 4 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005075, allocations: 0 / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005079, allocations: 0 / 274.5 MB, free: 15.44 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.000761/0.00584, allocations: 0.5495 MB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005877, allocations: 11.98 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.006026, allocations: 28.83 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.00617, allocations: 124.5 kB / 275.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.006187, allocations: 4.375 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.006201, allocations: 4.375 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.006542, allocations: 271.9 kB / 275.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.00655, allocations: 4.188 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.006575, allocations: 8.375 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.006579, allocations: 384 / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.006773, allocations: 175.3 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.006953, allocations: 140.2 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.007243, allocations: 249.5 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.007457, allocations: 210.8 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007469, allocations: 4 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005108/0.00798, allocations: 486.5 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 8.31e-07/0.007981, allocations: 0 / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009851/0.008966, allocations: 0.7428 MB / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.009087, allocations: 160.5 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.009224, allocations: 165.9 kB / 277.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.009243, allocations: 25.7 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.009321, allocations: 131.9 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.009418, allocations: 99.2 kB / 278.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.009496, allocations: 47.36 kB / 278.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.009758, allocations: 0.5001 MB / 278.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.0099, allocations: 135.8 kB / 278.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.01007, allocations: 175.2 kB / 278.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.01041, allocations: 338.1 kB / 279.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01041, allocations: 0 / 279.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004811/0.01089, allocations: 416.3 kB / 279.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.011, allocations: 111.3 kB / 279.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01101, allocations: 0 / 279.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01102, allocations: 0 / 279.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-06/0.01103, allocations: 7.984 kB / 279.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01103, allocations: 3.938 kB / 279.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.01109, allocations: 19.84 kB / 279.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.01111, allocations: 8 kB / 279.8 MB, free: 9.648 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.0002801/0.01139, allocations: 302.5 kB / 280.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.01148, allocations: 43.91 kB / 280.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.0115, allocations: 9.656 kB / 280.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.0115, allocations: 0 / 280.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01151, allocations: 4 kB / 280.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.01151, allocations: 11.88 kB / 280.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.0117, allocations: 164.4 kB / 280.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.0117, allocations: 0 / 280.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.0117, allocations: 4 kB / 280.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.0117, allocations: 0 / 280.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.01173, allocations: 19.98 kB / 280.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.01174, allocations: 0 / 280.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01174, allocations: 0 / 280.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.01274, allocations: 0.7693 MB / 281.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01276, allocations: 20.12 kB / 281.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.01287, allocations: 63.97 kB / 281.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.01293, allocations: 12 kB / 281.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.01297, allocations: 19.97 kB / 281.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.01301, allocations: 19.94 kB / 281.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.01308, allocations: 131.2 kB / 281.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01308, allocations: 0 / 281.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.01342, allocations: 83.88 kB / 281.5 MB, free: 7.879 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.001036/0.01446, allocations: 308.3 kB / 281.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008692/0.01533, allocations: 0.7469 MB / 282.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01533, allocations: 3.938 kB / 282.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.0159, allocations: 0.5564 MB / 283.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.0161, allocations: 31.98 kB / 283.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.01674, allocations: 410.3 kB / 283.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.01686, allocations: 114.3 kB / 283.6 MB, free: 5.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.073e-05/0.01688, allocations: 3.906 kB / 283.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.01689, allocations: 8.5 kB / 283.6 MB, free: 5.574 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01689, allocations: 4 kB / 283.6 MB, free: 5.57 MB / 266.7 MB Notification: Performance of Templates: time 0.007288/0.02418, allocations: 3.167 MB / 286.8 MB, free: 2.41 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 240] 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.386713430052623]