Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001681/0.001681, allocations: 107 kB / 19.8 MB, free: 2.5 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.002118/0.002118, allocations: 218.5 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002903/0.002903, allocations: 63.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3281, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003624/0.3317, allocations: 1.883 MB / 431.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.3341, allocations: 1.044 MB / 432.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3342, allocations: 0 / 432.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.3343, allocations: 15.75 kB / 432.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.3346, allocations: 39.66 kB / 432.8 MB, free: 4.527 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006867/0.3352, allocations: 183.5 kB / 433 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.3356, allocations: 223.4 kB / 433.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.3357, allocations: 52.25 kB / 433.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.336, allocations: 95.62 kB / 433.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.3367, allocations: 130.4 kB / 433.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.3367, allocations: 24 kB / 433.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.337, allocations: 127.8 kB / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.3371, allocations: 55.81 kB / 433.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.3372, allocations: 103.4 kB / 433.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.3377, allocations: 300.1 kB / 434.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3377, allocations: 3.938 kB / 434.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3377, allocations: 0 / 434.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3377, allocations: 0 / 434.1 MB, free: 3.266 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.001284/0.339, allocations: 0.5657 MB / 434.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3391, allocations: 8.031 kB / 434.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.3393, allocations: 40.73 kB / 434.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3396, allocations: 240.9 kB / 434.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3397, allocations: 12.66 kB / 434.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.3397, allocations: 16.38 kB / 434.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.3402, allocations: 203.2 kB / 435.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3402, allocations: 7.984 kB / 435.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.3402, allocations: 4 kB / 435.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3403, allocations: 4 kB / 435.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.3407, allocations: 160.4 kB / 435.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3418, allocations: 0.575 MB / 435.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3429, allocations: 286.7 kB / 436.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.3432, allocations: 116.8 kB / 436.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.3433, allocations: 7.938 kB / 436.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004799/0.3438, allocations: 163.3 kB / 436.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.3438, allocations: 4 kB / 436.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.00106/0.3448, allocations: 356.6 kB / 436.8 MB, free: 368 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.3449, allocations: 59.34 kB / 436.9 MB, free: 296 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3452, allocations: 226.7 kB / 437.1 MB, free: 56 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.3452, allocations: 33.7 kB / 437.1 MB, free: 16 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.3454, allocations: 132.6 kB / 437.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.3455, allocations: 79.38 kB / 437.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3456, allocations: 61.69 kB / 437.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3457, allocations: 338.8 kB / 437.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.3461, allocations: 131.9 kB / 437.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.3465, allocations: 161.7 kB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.3471, allocations: 263.3 kB / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3471, allocations: 0 / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009078/0.3481, allocations: 383.8 kB / 438.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.3481, allocations: 10.5 kB / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3481, allocations: 0 / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.3481, allocations: 3.984 kB / 438.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.3485, allocations: 71.89 kB / 438.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3485, allocations: 4.031 kB / 438.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3487, allocations: 47.69 kB / 438.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.3487, allocations: 12 kB / 438.8 MB, free: 14.32 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.0002168/0.3489, allocations: 145.6 kB / 438.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.349, allocations: 23.8 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/0.3491, allocations: 29.86 kB / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3491, allocations: 4 kB / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.3491, allocations: 0 / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3491, allocations: 0 / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3503, allocations: 0.6191 MB / 439.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3503, allocations: 0 / 439.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.3506, allocations: 47.95 kB / 439.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3506, allocations: 0 / 439.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.3506, allocations: 7.984 kB / 439.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3506, allocations: 4 kB / 439.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3506, allocations: 3.938 kB / 439.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3517, allocations: 486 kB / 440.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.3518, allocations: 105 kB / 440.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.3519, allocations: 4 kB / 440.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3521, allocations: 27.91 kB / 440.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.3522, allocations: 15.95 kB / 440.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.3522, allocations: 8 kB / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.3524, allocations: 156.7 kB / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3524, allocations: 0 / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.3528, allocations: 67.86 kB / 440.5 MB, free: 12.48 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.0005406/0.3533, allocations: 190.2 kB / 440.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.3541, allocations: 263.8 kB / 440.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3541, allocations: 0 / 440.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.3545, allocations: 107.9 kB / 441.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.3548, allocations: 39.8 kB / 441.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.356, allocations: 469.8 kB / 441.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3564, allocations: 0.7514 MB / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.3565, allocations: 29.94 kB / 442.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.3566, allocations: 19.44 kB / 442.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3566, allocations: 0 / 442.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Templates: time 0.007859/0.3644, allocations: 2.98 MB / 445.3 MB, free: 7.633 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.842382123693824]