Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001717/0.001717, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002016/0.002016, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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.661/1.661, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2755, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003323/0.2788, allocations: 1.862 MB / 422.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2811, allocations: 1.271 MB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.2812, allocations: 4 kB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2813, allocations: 19.73 kB / 424 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.2814, allocations: 31.72 kB / 424.1 MB, free: 11.93 MB / 334.1 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.0009734/0.2824, allocations: 315.1 kB / 424.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2827, allocations: 219.5 kB / 424.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.2829, allocations: 52.27 kB / 424.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.283, allocations: 95.62 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.2836, allocations: 119.5 kB / 424.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.2837, allocations: 20 kB / 424.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.2842, allocations: 291.5 kB / 425.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.2843, allocations: 55.83 kB / 425.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2844, allocations: 107.4 kB / 425.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.285, allocations: 387.9 kB / 425.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.285, allocations: 3.938 kB / 425.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.285, allocations: 0 / 425.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.285, allocations: 0 / 425.7 MB, free: 10.3 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.001114/0.2861, allocations: 0.5889 MB / 426.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2861, allocations: 8.031 kB / 426.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.2864, allocations: 36.78 kB / 426.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.2867, allocations: 237.5 kB / 426.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2867, allocations: 16.22 kB / 426.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.2867, allocations: 24 kB / 426.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.2872, allocations: 199.5 kB / 426.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2872, allocations: 0 / 426.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.2873, allocations: 4 kB / 426.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2873, allocations: 4 kB / 426.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.2877, allocations: 160.1 kB / 427 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.2888, allocations: 0.5786 MB / 427.5 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.2898, allocations: 294.6 kB / 427.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.2901, allocations: 116 kB / 427.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2901, allocations: 0 / 427.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.2905, allocations: 163.3 kB / 428.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.2905, allocations: 4 kB / 428.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009939/0.2915, allocations: 361.1 kB / 428.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.2916, allocations: 63.41 kB / 428.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.2918, allocations: 211.7 kB / 428.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.2919, allocations: 37.7 kB / 428.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.292, allocations: 124.6 kB / 428.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.292, allocations: 75.48 kB / 429 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2922, allocations: 77.64 kB / 429 MB, free: 6.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2923, allocations: 334.8 kB / 429.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.2927, allocations: 131.9 kB / 429.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.293, allocations: 162.2 kB / 429.6 MB, free: 6.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.2937, allocations: 268.5 kB / 429.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2937, allocations: 4 kB / 429.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008229/0.2945, allocations: 375.3 kB / 430.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2945, allocations: 4 kB / 430.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2945, allocations: 3.938 kB / 430.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2945, allocations: 7.938 kB / 430.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.2948, allocations: 71.88 kB / 430.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2949, allocations: 7.969 kB / 430.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.295, allocations: 43.7 kB / 430.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.2951, allocations: 11.98 kB / 430.4 MB, free: 5.332 MB / 334.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.0001515/0.2952, allocations: 145.6 kB / 430.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.2952, allocations: 23.84 kB / 430.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.2953, allocations: 21.88 kB / 430.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2953, allocations: 0 / 430.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2953, allocations: 0 / 430.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.2953, allocations: 7.922 kB / 430.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.2965, allocations: 0.6232 MB / 431.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2965, allocations: 0 / 431.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.2968, allocations: 47.89 kB / 431.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2968, allocations: 0 / 431.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2968, allocations: 8 kB / 431.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2968, allocations: 3.984 kB / 431.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2968, allocations: 0 / 431.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2979, allocations: 486.8 kB / 431.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.2979, allocations: 109 kB / 431.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.298, allocations: 4 kB / 431.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2982, allocations: 23.91 kB / 431.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2982, allocations: 15.97 kB / 431.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.2982, allocations: 8 kB / 431.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.2984, allocations: 147.2 kB / 432.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2984, allocations: 0 / 432.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.2989, allocations: 103.7 kB / 432.2 MB, free: 3.477 MB / 334.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 (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.0006432/0.2995, allocations: 266.2 kB / 432.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008532/0.3004, allocations: 271.8 kB / 432.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3004, allocations: 3.938 kB / 432.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3007, allocations: 108 kB / 432.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.301, allocations: 27.92 kB / 432.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.302, allocations: 469.8 kB / 433.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.3025, allocations: 0.7359 MB / 434 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.3027, allocations: 37.92 kB / 434.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.3028, allocations: 23.44 kB / 434.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3028, allocations: 3.938 kB / 434.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of Templates: time 0.008929/0.3117, allocations: 3.681 MB / 437.8 MB, free: 13.86 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.762363340705633]