Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001806/0.001806, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002274/0.002274, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.88 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2391, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002454/0.2416, allocations: 1.249 MB / 433.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2427, allocations: 485.3 kB / 434.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.2427, allocations: 0 / 434.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.2427, allocations: 0 / 434.1 MB, free: 5.246 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0005124/0.2433, allocations: 83.66 kB / 434.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.2434, allocations: 67.75 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2435, allocations: 43.91 kB / 434.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.2436, allocations: 3.984 kB / 434.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.588e-05/0.2436, allocations: 19.92 kB / 434.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.2437, allocations: 23.91 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2437, allocations: 4 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.244, allocations: 159.7 kB / 434.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.2441, allocations: 31.92 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.2441, allocations: 55.59 kB / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.2444, allocations: 173 kB / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2444, allocations: 0 / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2444, allocations: 0 / 434.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2444, allocations: 3.938 kB / 434.8 MB, free: 4.594 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.0006514/0.2451, allocations: 0.4929 MB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2451, allocations: 12.03 kB / 435.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2453, allocations: 20.84 kB / 435.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2454, allocations: 126.4 kB / 435.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2454, allocations: 384 / 435.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2454, allocations: 4.375 kB / 435.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.2458, allocations: 283.8 kB / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2458, allocations: 192 / 435.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2458, allocations: 7.938 kB / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2458, allocations: 0 / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.246, allocations: 143.9 kB / 435.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.2462, allocations: 177.2 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2465, allocations: 173.2 kB / 436.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.2466, allocations: 161.6 kB / 436.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.2466, allocations: 0 / 436.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.2472, allocations: 484.6 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 1.152e-06/0.2472, allocations: 0 / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009676/0.2481, allocations: 0.7389 MB / 437.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.2483, allocations: 156.5 kB / 437.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2484, allocations: 105.8 kB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.2484, allocations: 25.7 kB / 437.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.2484, allocations: 85.2 kB / 437.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.388e-05/0.2485, allocations: 95.16 kB / 438 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.2486, allocations: 41.7 kB / 438.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2488, allocations: 330.8 kB / 438.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.2489, allocations: 84.28 kB / 438.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.249, allocations: 110.4 kB / 438.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.2494, allocations: 425.7 kB / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2494, allocations: 0 / 439 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004607/0.2498, allocations: 352.8 kB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.2499, allocations: 111.3 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.25, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.25, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-06/0.25, allocations: 4 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.25, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.25, allocations: 19.84 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2501, allocations: 8 kB / 439.5 MB, free: 15.54 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.000304/0.2504, allocations: 299.7 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.2504, allocations: 27.84 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.2504, allocations: 9.656 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2505, allocations: 8 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2505, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2505, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.2507, allocations: 204.5 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2507, allocations: 0 / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.2507, allocations: 0 / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2507, allocations: 7.875 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.2507, allocations: 19.98 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2507, allocations: 0 / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2507, allocations: 0 / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2521, allocations: 1.26 MB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.2521, allocations: 23.8 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2523, allocations: 71.88 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.608e-05/0.2523, allocations: 8 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2524, allocations: 11.98 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.2524, allocations: 19.94 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.2524, allocations: 83.27 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2524, allocations: 4.031 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.2528, allocations: 91.88 kB / 441.6 MB, free: 13.31 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.000611/0.2534, allocations: 297.9 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.2545, allocations: 1.057 MB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2545, allocations: 4 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.2554, allocations: 0.8929 MB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2556, allocations: 28 kB / 443.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.2562, allocations: 392 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.2566, allocations: 0.7245 MB / 445 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.716e-06/0.2566, allocations: 0 / 445 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.2566, allocations: 11.44 kB / 445 MB, free: 9.836 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2566, allocations: 0 / 445 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Templates: time 0.007497/0.2641, allocations: 3.192 MB / 448.2 MB, free: 6.648 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.293785656802356]