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.001393/0.001393, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001531/0.001531, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.002379/0.002379, allocations: 47.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2811, allocations: 53.36 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003313/0.2844, allocations: 1.875 MB / 434.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2864, allocations: 1.048 MB / 435.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2865, allocations: 4 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2867, allocations: 19.73 kB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.2869, allocations: 39.66 kB / 435.4 MB, free: 3.918 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.0006396/0.2875, allocations: 191.5 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.2878, allocations: 219.5 kB / 435.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.288, allocations: 56.53 kB / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.2881, allocations: 99.62 kB / 435.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.2888, allocations: 134.2 kB / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.2888, allocations: 20 kB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.2891, allocations: 155.8 kB / 436.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.923e-05/0.2892, allocations: 63.75 kB / 436.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2893, allocations: 91.47 kB / 436.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.2898, allocations: 296.1 kB / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2898, allocations: 0 / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2898, allocations: 4 kB / 436.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2898, allocations: 0 / 436.7 MB, free: 2.621 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.001138/0.2909, allocations: 0.4942 MB / 437.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.291, allocations: 8.031 kB / 437.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.2912, allocations: 44.73 kB / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.2914, allocations: 174.2 kB / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.2915, allocations: 16.66 kB / 437.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.2915, allocations: 24.11 kB / 437.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.292, allocations: 197 kB / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.292, allocations: 0 / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.292, allocations: 7.938 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.292, allocations: 8 kB / 437.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.2925, allocations: 160.3 kB / 437.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2936, allocations: 0.5468 MB / 438.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2946, allocations: 298.6 kB / 438.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.2949, allocations: 108.8 kB / 438.8 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2949, allocations: 0 / 438.8 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.2953, allocations: 167.3 kB / 438.9 MB, free: 276 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.2953, allocations: 0 / 438.9 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001061/0.2964, allocations: 358.9 kB / 439.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.2964, allocations: 55.41 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.2967, allocations: 230.7 kB / 439.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.2967, allocations: 37.7 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2968, allocations: 136.6 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.2969, allocations: 75.38 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.297, allocations: 65.69 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.2972, allocations: 334.8 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.2976, allocations: 131.9 kB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.2979, allocations: 165.4 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.2986, allocations: 275.1 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2986, allocations: 0 / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008491/0.2994, allocations: 376 kB / 441.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2995, allocations: 4 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2995, allocations: 0 / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2995, allocations: 4 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.2998, allocations: 71.83 kB / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.2998, allocations: 4 kB / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.3, allocations: 43.75 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.3, allocations: 19.92 kB / 441.3 MB, free: 13.86 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.0002719/0.3003, allocations: 142.6 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.3003, allocations: 23.8 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.3004, allocations: 25.95 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3004, allocations: 0 / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.3004, allocations: 4 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3004, allocations: 4 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3017, allocations: 0.5908 MB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3017, allocations: 0 / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.3019, allocations: 47.91 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3019, allocations: 3.984 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3019, allocations: 4 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3019, allocations: 4 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3019, allocations: 3.984 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.303, allocations: 485.5 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.303, allocations: 27.86 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.303, allocations: 11.92 kB / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3032, allocations: 23.98 kB / 442.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.3033, allocations: 11.97 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3033, allocations: 11.98 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.3035, allocations: 152.7 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3035, allocations: 0 / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.3039, allocations: 63.88 kB / 442.9 MB, free: 12.17 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.0005388/0.3044, allocations: 203.9 kB / 443.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007756/0.3052, allocations: 263.8 kB / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3052, allocations: 0 / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.3055, allocations: 107.9 kB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3059, allocations: 31.94 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.3069, allocations: 0.491 MB / 444 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3073, allocations: 0.7436 MB / 444.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.3074, allocations: 27.36 kB / 444.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3074, allocations: 0 / 444.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Templates: time 0.006658/0.3141, allocations: 3.389 MB / 448.1 MB, free: 6.887 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 -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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.829043460078537]