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.001129/0.001129, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001024/0.001024, allocations: 150.8 kB / 24.81 MB, free: 9.32 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 1.025/1.025, allocations: 173.3 MB / 201.4 MB, free: 9.234 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 3.146e-06/3.146e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.886e-05/4.201e-05, allocations: 6.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004477/0.004519, allocations: 1.829 MB / 270.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.006765, allocations: 0.9663 MB / 271.2 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.00694, allocations: 0 / 271.2 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.007121, allocations: 27.67 kB / 271.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.007366, allocations: 27.72 kB / 271.3 MB, free: 3.328 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.0009428/0.008309, allocations: 203.2 kB / 271.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.008693, allocations: 215.4 kB / 271.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.008904, allocations: 48.56 kB / 271.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.009164, allocations: 135.7 kB / 271.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.009792, allocations: 109.1 kB / 272 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.009866, allocations: 20 kB / 272 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.01014, allocations: 163.6 kB / 272.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.0102, allocations: 55.81 kB / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.01027, allocations: 71.75 kB / 272.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.01072, allocations: 259.1 kB / 272.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01073, allocations: 0 / 272.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01073, allocations: 0 / 272.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.01074, allocations: 0 / 272.5 MB, free: 2.078 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.0008089/0.01154, allocations: 0.5864 MB / 273.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.01159, allocations: 16.91 kB / 273.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.01179, allocations: 44.78 kB / 273.2 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.01199, allocations: 193.7 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.01203, allocations: 20.64 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.01206, allocations: 27.92 kB / 273.4 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.01229, allocations: 122.9 kB / 273.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.0123, allocations: 3.984 kB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.01232, allocations: 8 kB / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.01232, allocations: 0 / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.0124, allocations: 44.52 kB / 273.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.01308, allocations: 491.9 kB / 274.1 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.01342, allocations: 151.3 kB / 274.2 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.01349, allocations: 51.64 kB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.01351, allocations: 4 kB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.01369, allocations: 100.9 kB / 274.4 MB, free: 112 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.01369, allocations: 4 kB / 274.4 MB, free: 108 kB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003364/0.01403, allocations: 169.7 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.01407, allocations: 59.41 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.01422, allocations: 249.5 kB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.01426, allocations: 45.64 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.01434, allocations: 179.3 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.01439, allocations: 75.36 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.01447, allocations: 75.31 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.01464, allocations: 0.504 MB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.01472, allocations: 39.97 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.0148, allocations: 71.09 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.01494, allocations: 125.1 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01494, allocations: 0 / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002497/0.01519, allocations: 219.9 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01521, allocations: 4 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.01522, allocations: 4 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01523, allocations: 0 / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.01541, allocations: 75.88 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01542, allocations: 4 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.01551, allocations: 43.86 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01552, allocations: 7.984 kB / 276.3 MB, free: 14.09 MB / 266.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.0001133/0.01563, allocations: 176.4 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.01567, allocations: 27.84 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.01571, allocations: 21.95 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01572, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01572, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01572, allocations: 4 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.01622, allocations: 468.6 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.01623, allocations: 0 / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.01635, allocations: 47.89 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.01635, allocations: 3.938 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.01637, allocations: 11.98 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01637, allocations: 3.938 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01637, allocations: 4 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.01669, allocations: 338.8 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01671, allocations: 27.8 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.01674, allocations: 4 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/0.01683, allocations: 27.95 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.01686, allocations: 11.97 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.01687, allocations: 11.94 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.327e-05/0.01695, allocations: 159.1 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01695, allocations: 0 / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.01722, allocations: 67.88 kB / 277.7 MB, free: 12.64 MB / 266.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.0003791/0.01759, allocations: 210.8 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.01782, allocations: 135.7 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01783, allocations: 0 / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.0179, allocations: 63.58 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01815, allocations: 31.92 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.01868, allocations: 378.5 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.01873, allocations: 80.05 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.776e-05/0.01882, allocations: 29.61 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.01894, allocations: 114.1 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01895, allocations: 4 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of Templates: time 0.006161/0.02511, allocations: 3.413 MB / 282.1 MB, free: 8.215 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.6695451280102134]