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.002526/0.002526, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002603/0.002603, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 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.682/1.682, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] 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.473e-06/1.473e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.195e-05, allocations: 6.25 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003449/0.003481, allocations: 1.814 MB / 269.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.005663, allocations: 0.9739 MB / 270.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.005776, allocations: 0 / 270.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.005919, allocations: 27.67 kB / 270.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.006125, allocations: 31.72 kB / 270.2 MB, free: 3.871 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.0007218/0.006847, allocations: 191.3 kB / 270.4 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.007171, allocations: 227.4 kB / 270.6 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.007336, allocations: 44.56 kB / 270.6 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.007531, allocations: 131.7 kB / 270.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.008193, allocations: 113.4 kB / 270.9 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.008247, allocations: 24 kB / 270.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.008595, allocations: 151.7 kB / 271 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.008691, allocations: 59.81 kB / 271.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.008801, allocations: 71.73 kB / 271.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.009365, allocations: 319 kB / 271.5 MB, free: 2.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.009374, allocations: 4 kB / 271.5 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009376, allocations: 0 / 271.5 MB, free: 2.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.009382, allocations: 0 / 271.5 MB, free: 2.566 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.001324/0.01071, allocations: 0.5979 MB / 272.1 MB, free: 1.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.01074, allocations: 8.922 kB / 272.1 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.01101, allocations: 48.78 kB / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.0113, allocations: 177.9 kB / 272.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.01134, allocations: 24.58 kB / 272.3 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.01139, allocations: 27.92 kB / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.01191, allocations: 182.7 kB / 272.5 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01192, allocations: 0 / 272.5 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.01194, allocations: 8 kB / 272.5 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01195, allocations: 7.984 kB / 272.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.01242, allocations: 136.5 kB / 272.7 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.0136, allocations: 0.5384 MB / 273.2 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.01473, allocations: 307.1 kB / 273.5 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.0152, allocations: 103.6 kB / 273.6 MB, free: 308 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01522, allocations: 8 kB / 273.6 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.01566, allocations: 160.9 kB / 273.8 MB, free: 124 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.01567, allocations: 0 / 273.8 MB, free: 124 kB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.001122/0.01679, allocations: 341.5 kB / 274.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.01686, allocations: 67.34 kB / 274.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.01715, allocations: 265.8 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.01722, allocations: 37.7 kB / 274.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.01737, allocations: 187.2 kB / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.39e-05/0.01746, allocations: 79.3 kB / 274.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.01761, allocations: 87.33 kB / 274.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002844/0.0179, allocations: 0.5157 MB / 275.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.01824, allocations: 107.9 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.01864, allocations: 159 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/0.01932, allocations: 252.9 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01933, allocations: 0 / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008798/0.02021, allocations: 348.2 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.02023, allocations: 10.5 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.02024, allocations: 0 / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.02025, allocations: 0 / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.02067, allocations: 75.89 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.02068, allocations: 4 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.02086, allocations: 43.84 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.02089, allocations: 8 kB / 276.3 MB, free: 13.49 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,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.0002109/0.0211, allocations: 192.3 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.02115, allocations: 23.91 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/0.02122, allocations: 17.97 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.02123, allocations: 8 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.02123, allocations: 0 / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.02124, allocations: 3.984 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.02257, allocations: 0.6094 MB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02257, allocations: 3.938 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.02284, allocations: 55.89 kB / 277.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.02284, allocations: 4 kB / 277.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.02286, allocations: 0 / 277.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.02286, allocations: 0 / 277.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.02287, allocations: 3.984 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.02403, allocations: 0.5195 MB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.02407, allocations: 23.78 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.02411, allocations: 8 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.0243, allocations: 23.91 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.02437, allocations: 19.97 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.02439, allocations: 4 kB / 277.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.02456, allocations: 192.2 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02456, allocations: 4 kB / 278 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.02493, allocations: 59.94 kB / 278.1 MB, free: 11.65 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.0006595/0.02559, allocations: 203.3 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008205/0.02641, allocations: 263.3 kB / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02641, allocations: 4.062 kB / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.02675, allocations: 119.5 kB / 278.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.02711, allocations: 47.86 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.02815, allocations: 442.6 kB / 279.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.02831, allocations: 133.1 kB / 279.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.02843, allocations: 29.62 kB / 279.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.02852, allocations: 24.5 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02852, allocations: 0 / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of Templates: time 0.008359/0.03688, allocations: 3.11 MB / 282.4 MB, free: 7.301 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.732363364077173]