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.001792/0.001792, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002208/0.002208, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.002139/0.002139, allocations: 67.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2765, allocations: 53.41 MB / 432.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003315/0.2798, allocations: 1.887 MB / 434.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.2823, allocations: 1.336 MB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2824, allocations: 4 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2825, allocations: 19.73 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2827, allocations: 35.66 kB / 435.7 MB, free: 3.496 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.0009854/0.2837, allocations: 307.2 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.284, allocations: 227.4 kB / 436.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.2841, allocations: 56.53 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2843, allocations: 99.61 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.2849, allocations: 124.7 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.285, allocations: 20 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005797/0.2855, allocations: 331.4 kB / 436.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.2856, allocations: 63.81 kB / 436.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2857, allocations: 95.45 kB / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.2863, allocations: 395.7 kB / 437.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2863, allocations: 3.938 kB / 437.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2863, allocations: 4 kB / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2864, allocations: 0 / 437.4 MB, free: 1.812 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.001177/0.2875, allocations: 0.5097 MB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2876, allocations: 8.031 kB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.2878, allocations: 40.78 kB / 438 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.2881, allocations: 178.2 kB / 438.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.2881, allocations: 20.66 kB / 438.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.2881, allocations: 20.36 kB / 438.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.2887, allocations: 200.4 kB / 438.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2887, allocations: 0 / 438.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2887, allocations: 12 kB / 438.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2887, allocations: 11.98 kB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.2892, allocations: 144.4 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2903, allocations: 0.5507 MB / 439.1 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2913, allocations: 286.8 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.2916, allocations: 112.7 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.2916, allocations: 7.938 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/0.2921, allocations: 166.8 kB / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/0.2921, allocations: 0 / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001046/0.2931, allocations: 349.3 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2932, allocations: 67.34 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.2934, allocations: 222.7 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.2934, allocations: 41.7 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2936, allocations: 128.6 kB / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.2936, allocations: 75.28 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2937, allocations: 73.62 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2939, allocations: 330.8 kB / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.2942, allocations: 135.9 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.2946, allocations: 165.4 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.2953, allocations: 267.3 kB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2953, allocations: 0 / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008349/0.2961, allocations: 379.8 kB / 441.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2961, allocations: 8 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2961, allocations: 0 / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2961, allocations: 0 / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.2965, allocations: 75.88 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2965, allocations: 0 / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2967, allocations: 47.75 kB / 442 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.2967, allocations: 12 kB / 442 MB, free: 13.05 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.0001689/0.2969, allocations: 150.5 kB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.2969, allocations: 23.8 kB / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.631e-05/0.297, allocations: 21.97 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.297, allocations: 0 / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.297, allocations: 0 / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.297, allocations: 7.984 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.2981, allocations: 0.5908 MB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2981, allocations: 0 / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.2984, allocations: 47.95 kB / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2984, allocations: 0 / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2984, allocations: 11.98 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2984, allocations: 0 / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2984, allocations: 0 / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.2994, allocations: 490 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.2995, allocations: 15.86 kB / 443.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.2995, allocations: 8.188 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.2997, allocations: 35.91 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.2998, allocations: 11.97 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2998, allocations: 8 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.2999, allocations: 156.7 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2999, allocations: 4 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.3004, allocations: 99.73 kB / 443.6 MB, free: 11.31 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.000658/0.3011, allocations: 261.5 kB / 443.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.3018, allocations: 263.8 kB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3018, allocations: 4 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.3022, allocations: 107.9 kB / 444.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3025, allocations: 35.44 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3035, allocations: 0.4937 MB / 444.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3039, allocations: 0.7475 MB / 445.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.304, allocations: 23.42 kB / 445.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.304, allocations: 0 / 445.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Templates: time 0.007206/0.3112, allocations: 4.131 MB / 449.7 MB, free: 5.219 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.125745048047975]