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.001015/0.001015, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.001281/0.001281, allocations: 140.4 kB / 25.59 MB, free: 8.906 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.9442/0.9442, allocations: 173.4 MB / 202.3 MB, free: 8.293 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.543e-06/1.543e-06, allocations: 0 / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.465e-05, allocations: 3.781 kB / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00213/0.002155, allocations: 1.541 MB / 270.7 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.003997, allocations: 1.385 MB / 272.1 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.004065, allocations: 0 / 272.1 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.004165, allocations: 16.84 kB / 272.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.732e-05/0.004252, allocations: 23.73 kB / 272.2 MB, free: 6.805 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.0011/0.005352, allocations: 404.6 kB / 272.6 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.00556, allocations: 136.3 kB / 272.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.005605, allocations: 5.688 kB / 272.7 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.005689, allocations: 76.3 kB / 272.8 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.006114, allocations: 91.08 kB / 272.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.006158, allocations: 12 kB / 272.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006896/0.006848, allocations: 431 kB / 273.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.006907, allocations: 39.83 kB / 273.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.00696, allocations: 39.84 kB / 273.4 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.007534, allocations: 422.6 kB / 273.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007537, allocations: 0 / 273.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007539, allocations: 0 / 273.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.007543, allocations: 0 / 273.8 MB, free: 5.195 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.0006705/0.008214, allocations: 0.5343 MB / 274.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.008257, allocations: 12.03 kB / 274.3 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.00845, allocations: 44.72 kB / 274.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.008595, allocations: 153.9 kB / 274.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.008621, allocations: 12.36 kB / 274.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.008637, allocations: 11.94 kB / 274.6 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.008788, allocations: 91.52 kB / 274.6 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.008795, allocations: 4 kB / 274.6 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.008807, allocations: 7.969 kB / 274.7 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.008811, allocations: 0 / 274.7 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.008851, allocations: 23.92 kB / 274.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.009345, allocations: 0.584 MB / 275.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.009539, allocations: 105.2 kB / 275.4 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.009587, allocations: 35.11 kB / 275.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.009596, allocations: 4 kB / 275.4 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.009782, allocations: 131.9 kB / 275.5 MB, free: 3.254 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.009783, allocations: 4 kB / 275.5 MB, free: 3.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002488/0.01003, allocations: 153.5 kB / 275.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.01009, allocations: 122.7 kB / 275.8 MB, free: 2.949 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.01023, allocations: 243.1 kB / 276 MB, free: 2.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.01027, allocations: 45.7 kB / 276.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.01034, allocations: 155.3 kB / 276.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.01038, allocations: 43.67 kB / 276.3 MB, free: 2.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.01045, allocations: 67.31 kB / 276.3 MB, free: 2.371 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01058, allocations: 0.5156 MB / 276.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.01064, allocations: 23.98 kB / 276.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.01071, allocations: 80.2 kB / 277 MB, free: 1.727 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.01083, allocations: 111.1 kB / 277.1 MB, free: 1.598 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01083, allocations: 4 kB / 277.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001997/0.01103, allocations: 178 kB / 277.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01104, allocations: 4 kB / 277.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.01105, allocations: 11.94 kB / 277.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.01106, allocations: 96 / 277.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01118, allocations: 47.97 kB / 277.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.01119, allocations: 0 / 277.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.01124, allocations: 19.89 kB / 277.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01125, allocations: 8 kB / 277.3 MB, free: 1.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 0.0001248/0.01137, allocations: 184.4 kB / 277.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.0114, allocations: 23.86 kB / 277.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.01143, allocations: 25.39 kB / 277.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01144, allocations: 96 / 277.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01144, allocations: 7.984 kB / 277.6 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01145, allocations: 4 kB / 277.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.01158, allocations: 133.1 kB / 277.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01158, allocations: 3.938 kB / 277.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.0116, allocations: 8 kB / 277.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01161, allocations: 0 / 277.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01162, allocations: 7.984 kB / 277.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01162, allocations: 0 / 277.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01162, allocations: 0 / 277.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.01181, allocations: 196 kB / 277.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.01183, allocations: 23.84 kB / 277.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.01185, allocations: 12 kB / 278 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.01188, allocations: 3.984 kB / 278 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.01192, allocations: 11.98 kB / 278 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01193, allocations: 4 kB / 278 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.01201, allocations: 173 kB / 278.1 MB, free: 460 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01201, allocations: 0 / 278.1 MB, free: 460 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.01238, allocations: 127.6 kB / 278.3 MB, free: 332 kB / 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.0005996/0.01298, allocations: 354 kB / 278.6 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.01323, allocations: 111.6 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.01323, allocations: 0 / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.01329, allocations: 44.38 kB / 278.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01348, allocations: 19.88 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.01388, allocations: 268 kB / 279.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.01393, allocations: 75.69 kB / 279.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.854e-05/0.01399, allocations: 21.73 kB / 279.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.01406, allocations: 86.19 kB / 279.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01406, allocations: 0 / 279.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Templates: time 0.006918/0.02098, allocations: 4.18 MB / 283.4 MB, free: 11.18 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: 3.030968594830483]