Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008726/0.0008726, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002028, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007442/0.0007442, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009495/0.001694, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.941/0.941, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0912/1.032, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.504e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001693/0.001708, allocations: 1.614 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.003479, allocations: 1.446 MB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.003542, allocations: 0 / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.003591, allocations: 19.8 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.003661, allocations: 31.72 kB / 247.6 MB, free: 11.17 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0007264/0.004388, allocations: 358.5 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.004527, allocations: 135.5 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.004565, allocations: 6.344 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.004682, allocations: 104.4 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.005015, allocations: 86.78 kB / 248.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.005041, allocations: 12 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.005647, allocations: 467 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.005689, allocations: 23.94 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.005727, allocations: 31.88 kB / 248.8 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.006211, allocations: 370.9 kB / 249.2 MB, free: 9.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.006225, allocations: 4 kB / 249.2 MB, free: 9.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006225, allocations: 0 / 249.2 MB, free: 9.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.006235, allocations: 0 / 249.2 MB, free: 9.617 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.0006156/0.00685, allocations: 471 kB / 249.7 MB, free: 9.133 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.006878, allocations: 12.03 kB / 249.7 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.007058, allocations: 114 kB / 249.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.007167, allocations: 157 kB / 249.9 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.007185, allocations: 8.375 kB / 250 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.007196, allocations: 4.375 kB / 250 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.007327, allocations: 95.53 kB / 250.1 MB, free: 8.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.007335, allocations: 7.875 kB / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.007343, allocations: 0 / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.007346, allocations: 0 / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.007384, allocations: 25.64 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.007726, allocations: 390.1 kB / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.00785, allocations: 167.5 kB / 250.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.007877, allocations: 26.66 kB / 250.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.007885, allocations: 4 kB / 250.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.008015, allocations: 124.5 kB / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.008016, allocations: 4 kB / 250.8 MB, free: 7.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001532/0.008169, allocations: 115.5 kB / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.008225, allocations: 122.7 kB / 251 MB, free: 7.602 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.008329, allocations: 183.4 kB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.008357, allocations: 45.69 kB / 251.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.0084, allocations: 100.6 kB / 251.3 MB, free: 7.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.008433, allocations: 43.66 kB / 251.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.008484, allocations: 53.67 kB / 251.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.008569, allocations: 338.8 kB / 251.8 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.008611, allocations: 26.81 kB / 251.8 MB, free: 6.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.008672, allocations: 68.11 kB / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.008779, allocations: 125.9 kB / 252 MB, free: 6.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.008781, allocations: 0 / 252 MB, free: 6.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001427/0.008924, allocations: 144.4 kB / 252.1 MB, free: 6.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.008941, allocations: 4 kB / 252.1 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.008949, allocations: 3.984 kB / 252.1 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.008958, allocations: 4.094 kB / 252.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.009083, allocations: 59.91 kB / 252.2 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.009087, allocations: 4 kB / 252.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.009129, allocations: 11.89 kB / 252.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.009141, allocations: 11.98 kB / 252.2 MB, free: 6.324 MB / 250.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 8.369e-05/0.009224, allocations: 140.6 kB / 252.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.00924, allocations: 11.92 kB / 252.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.009265, allocations: 17.45 kB / 252.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009268, allocations: 4 kB / 252.4 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.00927, allocations: 4 kB / 252.4 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009273, allocations: 0 / 252.4 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.009379, allocations: 101.7 kB / 252.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.00938, allocations: 0 / 252.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.009402, allocations: 11.94 kB / 252.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.00942, allocations: 19.84 kB / 252.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.009421, allocations: 0 / 252.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.00943, allocations: 11.98 kB / 252.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.009434, allocations: 4 kB / 252.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009435, allocations: 0 / 252.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.009543, allocations: 134.3 kB / 252.7 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.009563, allocations: 15.94 kB / 252.7 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.885e-05/0.009592, allocations: 7.984 kB / 252.7 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.00963, allocations: 11.98 kB / 252.7 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.009637, allocations: 4 kB / 252.7 MB, free: 5.785 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.009673, allocations: 46.77 kB / 252.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009673, allocations: 0 / 252.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.009947, allocations: 131.6 kB / 252.9 MB, free: 5.609 MB / 250.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.0005965/0.01054, allocations: 378.6 kB / 253.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.01072, allocations: 98.23 kB / 253.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.01072, allocations: 0 / 253.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.01077, allocations: 32.78 kB / 253.4 MB, free: 5.152 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.0109, allocations: 27.92 kB / 253.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.01144, allocations: 273.6 kB / 253.7 MB, free: 4.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.01148, allocations: 71.83 kB / 253.7 MB, free: 4.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.01153, allocations: 21.72 kB / 253.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.01159, allocations: 67.31 kB / 253.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01159, allocations: 4 kB / 253.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of Templates: time 0.005776/0.01737, allocations: 4.173 MB / 258 MB, free: 0.4922 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5747613850980997]