Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001816/0.001816, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.002386/0.002386, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.102, allocations: 53.32 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003551/0.1056, allocations: 1.885 MB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1077, allocations: 1.025 MB / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1078, allocations: 0 / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.1079, allocations: 23.73 kB / 430.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1081, allocations: 35.66 kB / 430.5 MB, free: 1.297 MB / 350.1 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.0006385/0.1088, allocations: 179.5 kB / 430.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.109, allocations: 219.5 kB / 430.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1092, allocations: 52.27 kB / 430.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1093, allocations: 111.5 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.11, allocations: 123.8 kB / 431.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.1101, allocations: 20 kB / 431.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.1103, allocations: 127.9 kB / 431.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.1104, allocations: 63.7 kB / 431.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1105, allocations: 103.4 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.111, allocations: 290.8 kB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.111, allocations: 0 / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.111, allocations: 0 / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.111, allocations: 0 / 431.7 MB, free: 36 kB / 350.1 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.2121/0.3231, allocations: 0.5619 MB / 432.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3232, allocations: 9.344 kB / 432.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.3235, allocations: 36.41 kB / 432.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3238, allocations: 243.3 kB / 432.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.3238, allocations: 15.66 kB / 432.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.3239, allocations: 25.62 kB / 432.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.3245, allocations: 196.2 kB / 432.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3245, allocations: 0 / 432.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.3245, allocations: 10.95 kB / 432.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3245, allocations: 3.5 kB / 432.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.3251, allocations: 150.9 kB / 433 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.3262, allocations: 0.5768 MB / 433.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.3274, allocations: 293.2 kB / 433.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.3277, allocations: 107.3 kB / 433.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3277, allocations: 1.938 kB / 433.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004129/0.3281, allocations: 170.1 kB / 434.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.3281, allocations: 2.953 kB / 434.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001149/0.3293, allocations: 360 kB / 434.5 MB, free: 11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3293, allocations: 59.44 kB / 434.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3296, allocations: 229.5 kB / 434.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.3296, allocations: 40.77 kB / 434.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.3297, allocations: 132.2 kB / 434.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.3297, allocations: 74.05 kB / 435 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3299, allocations: 68.67 kB / 435 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.3299, allocations: 341 kB / 435.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.3303, allocations: 129.5 kB / 435.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.3307, allocations: 164.2 kB / 435.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.3315, allocations: 264.6 kB / 435.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3315, allocations: 4.625 kB / 435.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009621/0.3324, allocations: 377.7 kB / 436.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3324, allocations: 5.562 kB / 436.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3325, allocations: 4.875 kB / 436.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.3325, allocations: 2.062 kB / 436.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.3328, allocations: 70.95 kB / 436.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3328, allocations: 2.219 kB / 436.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.333, allocations: 39.5 kB / 436.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.3331, allocations: 12.69 kB / 436.4 MB, free: 9.887 MB / 350.1 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,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,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.0001503/0.3332, allocations: 146.3 kB / 436.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3333, allocations: 25.62 kB / 436.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.3333, allocations: 24.53 kB / 436.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3333, allocations: 2.406 kB / 436.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3334, allocations: 5.312 kB / 436.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3334, allocations: 1.375 kB / 436.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3345, allocations: 0.6191 MB / 437.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3345, allocations: 0 / 437.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3348, allocations: 44.89 kB / 437.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3348, allocations: 6.062 kB / 437.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.3348, allocations: 7.531 kB / 437.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3348, allocations: 8.844 kB / 437.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3348, allocations: 1.625 kB / 437.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.336, allocations: 485 kB / 437.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.3361, allocations: 99.7 kB / 437.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.3361, allocations: 9.078 kB / 437.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3363, allocations: 23.53 kB / 437.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.3364, allocations: 19.75 kB / 437.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3364, allocations: 4.938 kB / 437.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3365, allocations: 158.2 kB / 438.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3365, allocations: 1.125 kB / 438.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.337, allocations: 62.28 kB / 438.2 MB, free: 8.836 MB / 350.1 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 (17): * Single equations (assignments): 15 * 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.0005368/0.3375, allocations: 199.5 kB / 438.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008593/0.3384, allocations: 264.1 kB / 438.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3384, allocations: 0 / 438.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.3387, allocations: 106.2 kB / 438.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.3391, allocations: 25.11 kB / 438.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.3401, allocations: 0.4936 MB / 439.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.3403, allocations: 0.739 MB / 440 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3404, allocations: 28.27 kB / 440 MB, free: 7.625 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3404, allocations: 0 / 440 MB, free: 7.625 MB / 350.1 MB Notification: Performance of Templates: time 0.008523/0.349, allocations: 3.395 MB / 443.4 MB, free: 7.305 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.026598513009958]