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.001259/0.001259, 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.001062/0.001062, allocations: 145.7 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.8785/0.8785, allocations: 173.4 MB / 201.5 MB, free: 8.273 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.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.793e-06/1.793e-06, allocations: 0 / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.556e-05, allocations: 5.406 kB / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.008305/0.00833, allocations: 1.831 MB / 270.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.009919, allocations: 1 MB / 271.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.01001, allocations: 0 / 271.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.01013, allocations: 19.73 kB / 271.3 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.0103, allocations: 28.42 kB / 271.4 MB, free: 6.914 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.000607/0.01091, allocations: 200.8 kB / 271.6 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003323/0.01424, allocations: 223.4 kB / 271.8 MB, free: 6.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.01438, allocations: 50.52 kB / 271.8 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.01455, allocations: 133 kB / 272 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.01498, allocations: 102.9 kB / 272.1 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.01503, allocations: 20 kB / 272.1 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.01534, allocations: 160.1 kB / 272.2 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.0154, allocations: 63.73 kB / 272.3 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.01548, allocations: 60.36 kB / 272.4 MB, free: 5.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.01589, allocations: 263.8 kB / 272.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.0159, allocations: 0 / 272.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0159, allocations: 0.9375 kB / 272.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.0159, allocations: 0 / 272.6 MB, free: 5.672 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.0007255/0.01663, allocations: 471 kB / 273.1 MB, free: 5.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.01666, allocations: 9.062 kB / 273.1 MB, free: 5.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.01684, allocations: 40.91 kB / 273.1 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.02009, allocations: 179.5 kB / 273.3 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.02012, allocations: 16.66 kB / 273.3 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.02016, allocations: 24.66 kB / 273.3 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.02038, allocations: 122.3 kB / 273.5 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.02039, allocations: 11.94 kB / 273.5 MB, free: 4.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.02041, allocations: 4 kB / 273.5 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.02041, allocations: 4 kB / 273.5 MB, free: 4.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.0205, allocations: 36.53 kB / 273.5 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.0211, allocations: 349.6 kB / 273.9 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.02146, allocations: 193.7 kB / 274 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.02152, allocations: 38.89 kB / 274.1 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.02154, allocations: 7.938 kB / 274.1 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.02168, allocations: 102.1 kB / 274.2 MB, free: 4.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.02168, allocations: 0 / 274.2 MB, free: 4.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002472/0.02193, allocations: 127.8 kB / 274.3 MB, free: 3.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.02198, allocations: 63.39 kB / 274.4 MB, free: 3.801 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.02211, allocations: 183 kB / 274.6 MB, free: 3.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.02214, allocations: 41.7 kB / 274.6 MB, free: 3.562 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.0222, allocations: 124.5 kB / 274.7 MB, free: 3.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.02225, allocations: 75.36 kB / 274.8 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.02233, allocations: 69.62 kB / 274.9 MB, free: 3.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.02242, allocations: 326.8 kB / 275.2 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.0225, allocations: 38.81 kB / 275.2 MB, free: 2.922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.02258, allocations: 73.2 kB / 275.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.02274, allocations: 125 kB / 275.4 MB, free: 2.711 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.02275, allocations: 0 / 275.4 MB, free: 2.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003297/0.02604, allocations: 167 kB / 275.6 MB, free: 2.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.02606, allocations: 7.938 kB / 275.6 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.02607, allocations: 0 / 275.6 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.02608, allocations: 7.938 kB / 275.6 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.02631, allocations: 75.94 kB / 275.7 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.02632, allocations: 3.938 kB / 275.7 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.02642, allocations: 43.75 kB / 275.7 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.02644, allocations: 8 kB / 275.7 MB, free: 2.398 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 0.0001121/0.02655, allocations: 133.5 kB / 275.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.02658, allocations: 19.92 kB / 275.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.02663, allocations: 25.95 kB / 275.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.02663, allocations: 0 / 275.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.02663, allocations: 0 / 275.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.02664, allocations: 0 / 275.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.0271, allocations: 378.4 kB / 276.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0271, allocations: 4 kB / 276.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.02725, allocations: 51.89 kB / 276.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.02726, allocations: 0 / 276.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.02727, allocations: 0 / 276.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02727, allocations: 4 kB / 276.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02728, allocations: 0 / 276.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.02757, allocations: 296.9 kB / 276.6 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.02759, allocations: 19.78 kB / 276.6 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.02762, allocations: 11.92 kB / 276.6 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.02773, allocations: 23.98 kB / 276.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.02777, allocations: 11.97 kB / 276.7 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.02778, allocations: 8 kB / 276.7 MB, free: 1.375 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.02784, allocations: 52.78 kB / 276.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02784, allocations: 0 / 276.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.02809, allocations: 63.89 kB / 276.8 MB, free: 1.258 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.0004383/0.02853, allocations: 211.7 kB / 277 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.02876, allocations: 121.6 kB / 277.1 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.02877, allocations: 0 / 277.1 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/0.02886, allocations: 64.77 kB / 277.2 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.02913, allocations: 35.73 kB / 277.2 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.02974, allocations: 378.6 kB / 277.6 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.0298, allocations: 79.97 kB / 277.7 MB, free: 376 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.02991, allocations: 29.62 kB / 277.7 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.03004, allocations: 83.36 kB / 277.8 MB, free: 260 kB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03004, allocations: 0 / 277.8 MB, free: 260 kB / 250.7 MB Notification: Performance of Templates: time 0.006854/0.03689, allocations: 3.36 MB / 281.1 MB, free: 12.95 MB / 266.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 -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.01439649797976]