Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.00178/0.00178, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002135/0.002135, allocations: 189.2 kB / 23.72 MB, free: 4.68 MB / 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.504/1.504, allocations: 225.6 MB / 252.5 MB, free: 13 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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.91 kB / 370.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2933, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003365/0.2967, allocations: 1.867 MB / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2986, allocations: 1.006 MB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.2987, allocations: 4 kB / 426 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.2988, allocations: 19.73 kB / 426 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.299, allocations: 35.66 kB / 426.1 MB, free: 11.73 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.0005836/0.2996, allocations: 183.5 kB / 426.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.2999, allocations: 227.4 kB / 426.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3, allocations: 44.52 kB / 426.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3001, allocations: 107.7 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.3007, allocations: 127 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.3008, allocations: 20 kB / 426.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.3011, allocations: 167.7 kB / 426.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.3012, allocations: 51.83 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3013, allocations: 103.4 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.3017, allocations: 296.1 kB / 427.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3017, allocations: 0 / 427.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3017, allocations: 0 / 427.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3018, allocations: 4 kB / 427.4 MB, free: 10.43 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.3029, allocations: 498.1 kB / 427.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.303, allocations: 12.03 kB / 427.9 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.3032, allocations: 32.78 kB / 427.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3034, allocations: 191.6 kB / 428.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.3035, allocations: 16.28 kB / 428.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.3035, allocations: 20 kB / 428.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.3041, allocations: 198.8 kB / 428.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3041, allocations: 0 / 428.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.3041, allocations: 4 kB / 428.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3042, allocations: 4 kB / 428.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.3047, allocations: 156.2 kB / 428.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.3059, allocations: 0.5503 MB / 429 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.307, allocations: 294.6 kB / 429.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.3074, allocations: 108.8 kB / 429.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3074, allocations: 16.05 kB / 429.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.3078, allocations: 166.4 kB / 429.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.3078, allocations: 0 / 429.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001118/0.309, allocations: 358.9 kB / 429.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.309, allocations: 59.41 kB / 430 MB, free: 7.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3093, allocations: 211.8 kB / 430.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.3093, allocations: 45.69 kB / 430.2 MB, free: 7.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.3094, allocations: 128.6 kB / 430.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.3095, allocations: 75.41 kB / 430.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3096, allocations: 73.58 kB / 430.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3098, allocations: 334.8 kB / 430.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.3102, allocations: 131.9 kB / 431 MB, free: 6.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.3106, allocations: 165.5 kB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.3113, allocations: 264.6 kB / 431.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3113, allocations: 0 / 431.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009145/0.3122, allocations: 379.6 kB / 431.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3122, allocations: 7.984 kB / 431.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3122, allocations: 0 / 431.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3123, allocations: 4 kB / 431.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.3126, allocations: 67.89 kB / 431.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3126, allocations: 0 / 431.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.3128, allocations: 47.69 kB / 431.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.3128, allocations: 15.94 kB / 431.9 MB, free: 5.688 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.0001776/0.313, allocations: 150.6 kB / 432.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.3131, allocations: 19.86 kB / 432.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.3131, allocations: 21.97 kB / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3131, allocations: 0 / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3131, allocations: 3.984 kB / 432.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3131, allocations: 3.938 kB / 432.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3145, allocations: 0.6006 MB / 432.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3145, allocations: 0 / 432.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.3147, allocations: 51.95 kB / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3147, allocations: 0 / 432.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.3148, allocations: 4 kB / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3148, allocations: 0 / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3148, allocations: 0 / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3159, allocations: 499.8 kB / 433.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.316, allocations: 23.8 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.316, allocations: 8.062 kB / 433.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3162, allocations: 27.97 kB / 433.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.3163, allocations: 11.97 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3163, allocations: 8.125 kB / 433.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.3165, allocations: 151.2 kB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3165, allocations: 0 / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.3168, allocations: 63.92 kB / 433.5 MB, free: 3.988 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.0005215/0.3174, allocations: 185.7 kB / 433.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008158/0.3182, allocations: 272.2 kB / 434 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3182, allocations: 0 / 434 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.3185, allocations: 103.9 kB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3189, allocations: 35.92 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3199, allocations: 458.3 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.3203, allocations: 0.7398 MB / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.3205, allocations: 33.92 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.3206, allocations: 23.42 kB / 435.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3206, allocations: 0 / 435.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Templates: time 0.008265/0.3288, allocations: 3.097 MB / 438.5 MB, free: 15.03 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.600021086633205]