Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2817, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002912/0.2846, allocations: 1.82 MB / 434.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2863, allocations: 0.9821 MB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.2864, allocations: 0 / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2865, allocations: 23.67 kB / 435.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.2866, allocations: 35.72 kB / 435.2 MB, free: 3.867 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0005174/0.2872, allocations: 191.5 kB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.2874, allocations: 215.5 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2875, allocations: 60.33 kB / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2877, allocations: 103.6 kB / 435.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.2882, allocations: 123.5 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.2882, allocations: 23.94 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2885, allocations: 159.7 kB / 436.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.2886, allocations: 59.83 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.2887, allocations: 79.58 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.289, allocations: 293.7 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.289, allocations: 0 / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.289, allocations: 0 / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2891, allocations: 3.938 kB / 436.5 MB, free: 2.586 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.001133/0.2902, allocations: 0.4982 MB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.2902, allocations: 8.031 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.2904, allocations: 40.73 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2907, allocations: 178.2 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2907, allocations: 12.66 kB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.2908, allocations: 28.12 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.2913, allocations: 201 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2913, allocations: 0 / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2913, allocations: 4 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2913, allocations: 4 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.2918, allocations: 156.4 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2928, allocations: 472.7 kB / 438.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2939, allocations: 305.8 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.2942, allocations: 116.7 kB / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2943, allocations: 4 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.2947, allocations: 163.2 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.2947, allocations: 0 / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001054/0.2957, allocations: 348.6 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.2958, allocations: 63.41 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.296, allocations: 203.1 kB / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.2961, allocations: 41.7 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.2961, allocations: 132.6 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.2962, allocations: 79.28 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.2963, allocations: 65.69 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2965, allocations: 334.8 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.2968, allocations: 131.7 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.2972, allocations: 173.4 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.2979, allocations: 263.3 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.2979, allocations: 7.938 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008582/0.2988, allocations: 379.9 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2988, allocations: 6.656 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2988, allocations: 0 / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2988, allocations: 4 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.2992, allocations: 71.92 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2992, allocations: 0 / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2994, allocations: 43.75 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2994, allocations: 15.98 kB / 440.9 MB, free: 13.94 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.0001614/0.2996, allocations: 149.6 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.2996, allocations: 19.91 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.468e-05/0.2997, allocations: 21.95 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2997, allocations: 7.938 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2997, allocations: 0 / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2997, allocations: 0 / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3008, allocations: 0.5407 MB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3008, allocations: 3.938 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.3011, allocations: 39.95 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3011, allocations: 0 / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3011, allocations: 8 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3011, allocations: 0 / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3011, allocations: 0 / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.3023, allocations: 483 kB / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.3023, allocations: 11.91 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.3024, allocations: 16.05 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.3026, allocations: 15.98 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.3027, allocations: 23.91 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3027, allocations: 7.984 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.3028, allocations: 140.3 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3028, allocations: 0 / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.3032, allocations: 71.81 kB / 442.5 MB, free: 12.34 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.0005611/0.3038, allocations: 199.9 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.3046, allocations: 270.3 kB / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3046, allocations: 0 / 442.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.305, allocations: 103.9 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3053, allocations: 30.56 kB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.3063, allocations: 470.3 kB / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3064, allocations: 141.1 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.3065, allocations: 25.62 kB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.3066, allocations: 23.42 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3066, allocations: 4 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Templates: time 0.007261/0.3139, allocations: 3.125 MB / 446.9 MB, free: 7.984 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.413734572997782]