Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001124/0.001124, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002779, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001062/0.001062, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002639, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9611/0.9611, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0904/1.051, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.015e-05, allocations: 6.312 kB / 239.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002409/0.002429, allocations: 1.878 MB / 241.5 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003731, allocations: 0.9933 MB / 242.4 MB, free: 264 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.003815, allocations: 0 / 242.4 MB, free: 264 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.582e-05/0.003881, allocations: 19.73 kB / 242.5 MB, free: 244 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.003978, allocations: 35.67 kB / 242.5 MB, free: 208 kB / 234.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.0005349/0.004513, allocations: 179.4 kB / 242.7 MB, free: 28 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.004758, allocations: 219.4 kB / 242.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.00488, allocations: 58.39 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.005036, allocations: 151.7 kB / 243.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.005399, allocations: 101.4 kB / 243.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.005479, allocations: 24 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.005779, allocations: 159.7 kB / 243.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.005827, allocations: 43.88 kB / 243.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.005883, allocations: 47.88 kB / 243.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.006198, allocations: 227.1 kB / 243.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.006211, allocations: 0 / 243.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006212, allocations: 0 / 243.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.006224, allocations: 4 kB / 243.7 MB, free: 15.02 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007078/0.006932, allocations: 0.5005 MB / 244.2 MB, free: 14.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.006963, allocations: 12.03 kB / 244.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.00716, allocations: 118 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.007349, allocations: 167 kB / 244.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.007378, allocations: 16.66 kB / 244.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.007406, allocations: 19.94 kB / 244.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.007601, allocations: 137.5 kB / 244.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.007609, allocations: 0 / 244.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007621, allocations: 8 kB / 244.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.007625, allocations: 4 kB / 244.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.007695, allocations: 44.47 kB / 244.7 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.008224, allocations: 353.5 kB / 245.1 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.008519, allocations: 182.3 kB / 245.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.008565, allocations: 36.84 kB / 245.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.008585, allocations: 11.88 kB / 245.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.008712, allocations: 94.14 kB / 245.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.008714, allocations: 0 / 245.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001995/0.008914, allocations: 125.6 kB / 245.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.008955, allocations: 63.34 kB / 245.6 MB, free: 13.01 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.00906, allocations: 178.6 kB / 245.7 MB, free: 12.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.009088, allocations: 37.7 kB / 245.8 MB, free: 12.78 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.009144, allocations: 132.5 kB / 245.9 MB, free: 12.65 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.009185, allocations: 79.36 kB / 246 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.009257, allocations: 65.66 kB / 246 MB, free: 12.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.00934, allocations: 334.8 kB / 246.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.009403, allocations: 34.81 kB / 246.4 MB, free: 12.13 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.009475, allocations: 65.66 kB / 246.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.009599, allocations: 117 kB / 246.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009602, allocations: 0 / 246.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001711/0.009773, allocations: 166.9 kB / 246.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.009786, allocations: 7.938 kB / 246.7 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.009792, allocations: 4.031 kB / 246.7 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.009801, allocations: 4 kB / 246.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.009991, allocations: 91.88 kB / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.009995, allocations: 3.984 kB / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.01007, allocations: 47.69 kB / 246.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01008, allocations: 4 kB / 246.9 MB, free: 11.61 MB / 250.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: 17 ($whenCondition1,globalSeed.seed,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.958e-05/0.01017, allocations: 144.5 kB / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.0102, allocations: 23.92 kB / 247.1 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.01024, allocations: 17.95 kB / 247.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01024, allocations: 4 kB / 247.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01025, allocations: 0 / 247.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.01025, allocations: 0 / 247.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.01062, allocations: 389.4 kB / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01062, allocations: 0 / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.01089, allocations: 59.88 kB / 247.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.01091, allocations: 15.84 kB / 247.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01091, allocations: 0 / 247.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01093, allocations: 8 kB / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01093, allocations: 0 / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01093, allocations: 3.938 kB / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.01117, allocations: 289.2 kB / 247.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01119, allocations: 11.98 kB / 247.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.01127, allocations: 23.98 kB / 247.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.01131, allocations: 11.97 kB / 247.9 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01132, allocations: 4 kB / 247.9 MB, free: 10.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.01136, allocations: 49.88 kB / 247.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01136, allocations: 0 / 247.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.01159, allocations: 71.88 kB / 248 MB, free: 10.45 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00041/0.012, allocations: 229.8 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01221, allocations: 116.8 kB / 248.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.01222, allocations: 4 kB / 248.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.01228, allocations: 52.75 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.01248, allocations: 47.97 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.01308, allocations: 374.5 kB / 248.8 MB, free: 9.652 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.01312, allocations: 83.92 kB / 248.9 MB, free: 9.551 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.0132, allocations: 33.61 kB / 248.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.0133, allocations: 83.36 kB / 249 MB, free: 9.434 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01331, allocations: 0 / 249 MB, free: 9.434 MB / 250.7 MB Notification: Performance of Templates: time 0.007135/0.02044, allocations: 3.416 MB / 252.4 MB, free: 6.062 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.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.1912430860102177]