Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001755/0.001755, 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.001633/0.001633, allocations: 216.2 kB / 23 MB, free: 5.578 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.519/1.519, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 67.83 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3449, allocations: 53.31 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00461/0.3495, allocations: 1.883 MB / 431.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.3529, allocations: 1.336 MB / 433 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3531, allocations: 0 / 433 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.3532, allocations: 19.73 kB / 433 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.3534, allocations: 35.67 kB / 433.1 MB, free: 4.246 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.001286/0.3547, allocations: 307.2 kB / 433.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.3551, allocations: 223.4 kB / 433.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.3553, allocations: 52.27 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3555, allocations: 99.61 kB / 433.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.3564, allocations: 124.9 kB / 433.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.3564, allocations: 20 kB / 433.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.3571, allocations: 303.5 kB / 434.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3572, allocations: 55.83 kB / 434.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3574, allocations: 103.4 kB / 434.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.3582, allocations: 391.8 kB / 434.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3582, allocations: 4 kB / 434.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3582, allocations: 0 / 434.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3582, allocations: 0 / 434.7 MB, free: 2.609 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.001576/0.3598, allocations: 0.5851 MB / 435.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.3598, allocations: 8.031 kB / 435.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.3602, allocations: 40.73 kB / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.3605, allocations: 236.9 kB / 435.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.3606, allocations: 20.64 kB / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.3607, allocations: 20.38 kB / 435.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006946/0.3614, allocations: 199.2 kB / 435.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3614, allocations: 0 / 435.8 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.3614, allocations: 8 kB / 435.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.3614, allocations: 4 kB / 435.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.3622, allocations: 152.4 kB / 436 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3637, allocations: 0.5789 MB / 436.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.3652, allocations: 290.7 kB / 436.8 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.3657, allocations: 116.7 kB / 437 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3657, allocations: 7.922 kB / 437 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.3663, allocations: 167.3 kB / 437.1 MB, free: 36 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.3663, allocations: 0 / 437.1 MB, free: 36 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001031/0.3673, allocations: 356.3 kB / 437.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.3674, allocations: 59.39 kB / 437.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3676, allocations: 222.7 kB / 437.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.3677, allocations: 37.7 kB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3678, allocations: 128.6 kB / 437.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.984e-05/0.3678, allocations: 83.36 kB / 438 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3679, allocations: 65.69 kB / 438.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3681, allocations: 334.8 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.3684, allocations: 131.9 kB / 438.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.3688, allocations: 161.7 kB / 438.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.3694, allocations: 267.3 kB / 438.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3694, allocations: 0 / 438.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008889/0.3703, allocations: 383.8 kB / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3704, allocations: 4 kB / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3704, allocations: 0 / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3704, allocations: 4 kB / 439.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.3707, allocations: 71.91 kB / 439.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3708, allocations: 4 kB / 439.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.371, allocations: 51.75 kB / 439.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.371, allocations: 11.94 kB / 439.5 MB, free: 13.64 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.0002631/0.3713, allocations: 145.6 kB / 439.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3713, allocations: 23.86 kB / 439.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.3714, allocations: 25.86 kB / 439.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3714, allocations: 4 kB / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3714, allocations: 0 / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3714, allocations: 0 / 439.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.3727, allocations: 0.6229 MB / 440.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3727, allocations: 0 / 440.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.373, allocations: 39.97 kB / 440.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.373, allocations: 7.984 kB / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.373, allocations: 0 / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.373, allocations: 0 / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.373, allocations: 0 / 440.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3741, allocations: 0.4906 MB / 440.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.3742, allocations: 105 kB / 440.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.3742, allocations: 7.938 kB / 440.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.3744, allocations: 23.91 kB / 440.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.3744, allocations: 11.98 kB / 441 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3745, allocations: 11.98 kB / 441 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3746, allocations: 152.7 kB / 441.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3746, allocations: 0 / 441.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.3751, allocations: 107.7 kB / 441.2 MB, free: 11.77 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.0007528/0.3759, allocations: 264.7 kB / 441.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.3766, allocations: 259.8 kB / 441.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3766, allocations: 64 / 441.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.3769, allocations: 111.9 kB / 441.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3773, allocations: 31.86 kB / 441.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3785, allocations: 480.9 kB / 442.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.379, allocations: 0.7397 MB / 443.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.3791, allocations: 33.94 kB / 443.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.3791, allocations: 19.44 kB / 443.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3791, allocations: 0 / 443.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Templates: time 0.009364/0.3885, allocations: 3.667 MB / 446.8 MB, free: 6.164 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.720244041644037]