Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 151 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9371/0.9371, allocations: 173.4 MB / 201.5 MB, free: 8.766 MB / 186.7 MB " [Timeout remaining time 179] 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.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.973e-05, allocations: 2.312 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002401/0.002421, allocations: 1.546 MB / 270 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.004937, allocations: 1.414 MB / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.004997, allocations: 0 / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.663e-05/0.005094, allocations: 7.875 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.787e-05/0.005192, allocations: 31.72 kB / 271.5 MB, free: 3.012 MB / 250.7 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.typeClassSections: time 0.000936/0.006128, allocations: 402.5 kB / 271.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.006295, allocations: 135.5 kB / 272 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.006337, allocations: 6.344 kB / 272 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.006431, allocations: 79.8 kB / 272.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.006841, allocations: 88.77 kB / 272.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.006867, allocations: 16 kB / 272.2 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.007499, allocations: 427 kB / 272.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.007551, allocations: 39.83 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.007598, allocations: 39.84 kB / 272.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.008145, allocations: 426.7 kB / 273.1 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.008147, allocations: 0 / 273.1 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.008148, allocations: 4 kB / 273.1 MB, free: 1.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.008152, allocations: 0 / 273.1 MB, free: 1.391 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005685/0.00872, allocations: 407.4 kB / 273.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.008754, allocations: 8.922 kB / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.008952, allocations: 52.81 kB / 273.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.009083, allocations: 147.1 kB / 273.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.009103, allocations: 8.375 kB / 273.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.009125, allocations: 19.92 kB / 273.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.009279, allocations: 86.98 kB / 273.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.009287, allocations: 0 / 273.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.009297, allocations: 4 kB / 273.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.009303, allocations: 0 / 273.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.009352, allocations: 25.58 kB / 273.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.009779, allocations: 394.1 kB / 274.2 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.009992, allocations: 167.5 kB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.01003, allocations: 30.62 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.01004, allocations: 0 / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.01018, allocations: 112.7 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.01018, allocations: 0 / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000191/0.01037, allocations: 123.2 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.01044, allocations: 118.8 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.01057, allocations: 183.3 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.01061, allocations: 49.69 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.01066, allocations: 100.6 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.0107, allocations: 47.66 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.01077, allocations: 53.66 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.01086, allocations: 334.7 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.01094, allocations: 34.81 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.01102, allocations: 67.19 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.01116, allocations: 113.5 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01116, allocations: 0 / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002061/0.01137, allocations: 148.3 kB / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01138, allocations: 11.98 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01139, allocations: 0 / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.0114, allocations: 4 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01155, allocations: 39.92 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.01156, allocations: 8.562 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.01162, allocations: 19.88 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01163, allocations: 4 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * 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.000104/0.01174, allocations: 144.5 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.01176, allocations: 7.984 kB / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.01179, allocations: 21.45 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01179, allocations: 4 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01179, allocations: 0 / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.0118, allocations: 0 / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.01193, allocations: 113.6 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01193, allocations: 0 / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.01196, allocations: 8 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01196, allocations: 0 / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01197, allocations: 7.984 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01198, allocations: 0 / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01198, allocations: 4 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.01212, allocations: 143.1 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.01215, allocations: 15.84 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.01217, allocations: 8 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.01221, allocations: 15.98 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.01226, allocations: 7.984 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01226, allocations: 0 / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.01232, allocations: 58.7 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01232, allocations: 0 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.01266, allocations: 119.7 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006935/0.01335, allocations: 356.9 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.01353, allocations: 92.73 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.01353, allocations: 192 / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.01359, allocations: 44.8 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.01372, allocations: 19.92 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.01413, allocations: 261.2 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.01418, allocations: 75.69 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.01424, allocations: 21.47 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.01431, allocations: 71.36 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01431, allocations: 4.062 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.007322/0.02163, allocations: 4.02 MB / 281.6 MB, free: 8.594 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8217068440280855]