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.00139/0.00139, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001534/0.001534, allocations: 186 kB / 24.45 MB, free: 3.867 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.418/1.418, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001779/0.001779, allocations: 43.92 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2726, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003106/0.2757, allocations: 1.793 MB / 425.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2776, allocations: 0.9471 MB / 426.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.2777, allocations: 4 kB / 426.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.2778, allocations: 19.73 kB / 426.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.278, allocations: 35.67 kB / 426.6 MB, free: 11.65 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.0005915/0.2786, allocations: 191.5 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.2789, allocations: 219.5 kB / 427 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.279, allocations: 48.36 kB / 427.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2791, allocations: 99.61 kB / 427.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.2797, allocations: 113.4 kB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.2798, allocations: 20 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.2801, allocations: 159.8 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.2802, allocations: 63.81 kB / 427.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.182e-05/0.2802, allocations: 83.56 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.2807, allocations: 297.7 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2807, allocations: 0 / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2807, allocations: 0 / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2807, allocations: 0 / 427.9 MB, free: 10.39 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.001092/0.2818, allocations: 498.2 kB / 428.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2818, allocations: 12.03 kB / 428.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.282, allocations: 32.78 kB / 428.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.2823, allocations: 187.6 kB / 428.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2823, allocations: 12.28 kB / 428.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.2823, allocations: 20 kB / 428.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.2828, allocations: 198.8 kB / 428.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2828, allocations: 4 kB / 428.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.2828, allocations: 7.984 kB / 428.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2829, allocations: 4 kB / 428.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.2833, allocations: 152.2 kB / 429 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.2843, allocations: 480.2 kB / 429.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.2853, allocations: 298.7 kB / 429.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.2856, allocations: 104.8 kB / 429.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2856, allocations: 4 kB / 429.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004016/0.286, allocations: 167.2 kB / 430 MB, free: 8.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.834e-06/0.286, allocations: 0 / 430 MB, free: 8.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001011/0.287, allocations: 358 kB / 430.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.2871, allocations: 55.41 kB / 430.4 MB, free: 7.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2873, allocations: 190.4 kB / 430.6 MB, free: 7.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.2873, allocations: 41.7 kB / 430.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.2874, allocations: 128.6 kB / 430.8 MB, free: 7.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.2875, allocations: 79.39 kB / 430.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2876, allocations: 69.67 kB / 430.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2878, allocations: 334.8 kB / 431.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.2881, allocations: 135.8 kB / 431.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.2885, allocations: 161.5 kB / 431.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.2891, allocations: 271.2 kB / 431.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2891, allocations: 0 / 431.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008466/0.29, allocations: 384.5 kB / 432.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.29, allocations: 4 kB / 432.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.29, allocations: 0 / 432.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.29, allocations: 4 kB / 432.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.2903, allocations: 67.89 kB / 432.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2903, allocations: 4 kB / 432.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.2905, allocations: 39.81 kB / 432.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.2905, allocations: 12 kB / 432.3 MB, free: 5.785 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.0001697/0.2907, allocations: 146.6 kB / 432.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.2907, allocations: 11.91 kB / 432.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.2908, allocations: 25.95 kB / 432.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2908, allocations: 4 kB / 432.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2908, allocations: 0 / 432.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2908, allocations: 4 kB / 432.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.292, allocations: 0.5429 MB / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.292, allocations: 0 / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.2922, allocations: 47.95 kB / 433.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2922, allocations: 0 / 433.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2922, allocations: 11.98 kB / 433.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2922, allocations: 0 / 433.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2922, allocations: 0 / 433.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2933, allocations: 491.5 kB / 433.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.2933, allocations: 23.73 kB / 433.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.2934, allocations: 12.05 kB / 433.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.2936, allocations: 15.98 kB / 433.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.2936, allocations: 15.97 kB / 433.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.2936, allocations: 11.98 kB / 433.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2938, allocations: 136.3 kB / 433.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2938, allocations: 0 / 433.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.2941, allocations: 67.86 kB / 433.9 MB, free: 4.176 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.0004832/0.2946, allocations: 207.5 kB / 434.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007613/0.2954, allocations: 256.4 kB / 434.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2954, allocations: 4.062 kB / 434.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.2957, allocations: 107.9 kB / 434.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.296, allocations: 35.8 kB / 434.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.297, allocations: 493.8 kB / 434.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.2971, allocations: 125.2 kB / 435.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.2972, allocations: 27.42 kB / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2972, allocations: 4 kB / 435.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of Templates: time 0.006146/0.3034, allocations: 3.363 MB / 438.5 MB, free: 15.55 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.924789085052907]