Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.506/1.506, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.83 kB / 378.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3315, allocations: 53.33 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003495/0.335, allocations: 1.886 MB / 434 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.337, allocations: 1.037 MB / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.3371, allocations: 0 / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.3372, allocations: 23.67 kB / 435 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3374, allocations: 35.67 kB / 435 MB, free: 4.371 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.000605/0.338, allocations: 191.5 kB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3383, allocations: 219.5 kB / 435.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3385, allocations: 44.27 kB / 435.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3386, allocations: 99.62 kB / 435.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.3393, allocations: 127.4 kB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.3393, allocations: 24 kB / 435.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.3396, allocations: 127.9 kB / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.3397, allocations: 59.75 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3398, allocations: 95.47 kB / 436 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.3402, allocations: 304.4 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3402, allocations: 0 / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3402, allocations: 0 / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3402, allocations: 0 / 436.3 MB, free: 3.109 MB / 334.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.001173/0.3414, allocations: 0.5619 MB / 436.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3414, allocations: 8.031 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3417, allocations: 36.78 kB / 436.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.342, allocations: 252.8 kB / 437.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.342, allocations: 16.64 kB / 437.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.342, allocations: 24.12 kB / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.3426, allocations: 203.3 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3426, allocations: 0 / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3426, allocations: 4 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3426, allocations: 4 kB / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.3431, allocations: 161.2 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3442, allocations: 0.575 MB / 438.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3453, allocations: 290.6 kB / 438.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.3456, allocations: 108.8 kB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3457, allocations: 15.91 kB / 438.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.3461, allocations: 159.3 kB / 438.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/0.3461, allocations: 4 kB / 438.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001077/0.3471, allocations: 361.2 kB / 439.1 MB, free: 192 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3472, allocations: 55.41 kB / 439.1 MB, free: 124 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.3475, allocations: 222.7 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.3475, allocations: 37.69 kB / 439.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3476, allocations: 128.6 kB / 439.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.3477, allocations: 79.41 kB / 439.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3478, allocations: 65.64 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.348, allocations: 338.8 kB / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.3483, allocations: 131.9 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.3487, allocations: 161.7 kB / 440.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.3494, allocations: 271.2 kB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3494, allocations: 0 / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008805/0.3502, allocations: 379.9 kB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3503, allocations: 4.938 kB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3503, allocations: 4 kB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3503, allocations: 0 / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.3506, allocations: 71.88 kB / 441 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3506, allocations: 4.031 kB / 441 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.3508, allocations: 47.69 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3508, allocations: 12 kB / 441 MB, free: 14.15 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.0001743/0.351, allocations: 146.2 kB / 441.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.351, allocations: 19.86 kB / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.3511, allocations: 29.81 kB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3511, allocations: 4 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3511, allocations: 0 / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3511, allocations: 3.984 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.3523, allocations: 0.6173 MB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3523, allocations: 0 / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.3525, allocations: 51.89 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3526, allocations: 0 / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.3526, allocations: 0 / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3526, allocations: 7.984 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3526, allocations: 4 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3537, allocations: 479.1 kB / 442.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.3537, allocations: 109 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.3538, allocations: 7.938 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.354, allocations: 23.97 kB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.354, allocations: 7.984 kB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.354, allocations: 15.92 kB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3542, allocations: 156.7 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.3546, allocations: 63.92 kB / 442.8 MB, free: 12.32 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.0004862/0.3551, allocations: 198.4 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007883/0.3558, allocations: 263.8 kB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3558, allocations: 0 / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.3562, allocations: 114.9 kB / 443.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3565, allocations: 35.84 kB / 443.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3576, allocations: 499.6 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.358, allocations: 0.7475 MB / 444.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.3581, allocations: 19.44 kB / 444.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3581, allocations: 3.938 kB / 444.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Templates: time 0.006269/0.3643, allocations: 3.4 MB / 448 MB, free: 7.043 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.259601769968867]