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.00101/0.00101, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001314/0.001314, allocations: 167.2 kB / 24.91 MB, free: 9.152 MB / 18.57 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 0.9806/0.9806, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643e-06/1.643e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.163e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002141/0.002163, allocations: 1.865 MB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003398, allocations: 1.032 MB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.003473, allocations: 4 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.003574, allocations: 23.73 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.003719, allocations: 35.66 kB / 276.4 MB, free: 14.29 MB / 266.7 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.000407/0.004126, allocations: 183.3 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.004308, allocations: 223.4 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.004416, allocations: 54.5 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.00453, allocations: 139.6 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.00486, allocations: 114.3 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.004894, allocations: 28 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.00511, allocations: 143.8 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.005162, allocations: 67.73 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.005217, allocations: 59.83 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.005492, allocations: 263 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005494, allocations: 4 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005495, allocations: 0 / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.005498, allocations: 3.938 kB / 277.7 MB, free: 13.04 MB / 266.7 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.0005658/0.006063, allocations: 464.9 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.006091, allocations: 8.031 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.006225, allocations: 48.88 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.006374, allocations: 174.1 kB / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.006399, allocations: 16.66 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.006428, allocations: 20.36 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.006603, allocations: 131.2 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006611, allocations: 7.938 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006623, allocations: 7.984 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.006628, allocations: 4 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.006692, allocations: 37.11 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.007166, allocations: 350 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.007454, allocations: 182.3 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.007497, allocations: 36.83 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.007511, allocations: 4 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.007619, allocations: 97.47 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.007621, allocations: 0 / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001854/0.007806, allocations: 125.6 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.007839, allocations: 59.41 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.007957, allocations: 195.7 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.007982, allocations: 45.69 kB / 279.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.008032, allocations: 124.5 kB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.008067, allocations: 67.42 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.008162, allocations: 69.95 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.008236, allocations: 338.8 kB / 280.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.008291, allocations: 38.56 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.008356, allocations: 65.36 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.008466, allocations: 117 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.008468, allocations: 0 / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001692/0.008637, allocations: 174.9 kB / 280.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.008649, allocations: 10.97 kB / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008655, allocations: 0 / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.008663, allocations: 0 / 280.6 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.00882, allocations: 75.88 kB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008825, allocations: 11.88 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.008903, allocations: 35.77 kB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.008917, allocations: 12 kB / 280.8 MB, free: 9.781 MB / 266.7 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,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,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 7.957e-05/0.008996, allocations: 136.6 kB / 280.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.009016, allocations: 11.98 kB / 280.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.009051, allocations: 21.97 kB / 280.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.009053, allocations: 0 / 280.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.009056, allocations: 3.938 kB / 280.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.009061, allocations: 7.984 kB / 280.9 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.009353, allocations: 350.4 kB / 281.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.009356, allocations: 4 kB / 281.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.009463, allocations: 47.95 kB / 281.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009465, allocations: 4 kB / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.009474, allocations: 0 / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.009476, allocations: 0 / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009476, allocations: 0 / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.009684, allocations: 300.9 kB / 281.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.009698, allocations: 15.91 kB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.009721, allocations: 11.98 kB / 281.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.009844, allocations: 23.98 kB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.009876, allocations: 15.91 kB / 281.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.009882, allocations: 0 / 281.7 MB, free: 8.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.009923, allocations: 57.84 kB / 281.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009924, allocations: 4 kB / 281.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.01011, allocations: 67.83 kB / 281.8 MB, free: 8.664 MB / 266.7 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.0003378/0.01045, allocations: 208.5 kB / 282 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01061, allocations: 120.7 kB / 282.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.01062, allocations: 0 / 282.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.01068, allocations: 52.75 kB / 282.2 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.01086, allocations: 35.03 kB / 282.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.01132, allocations: 395.2 kB / 282.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.01136, allocations: 79.98 kB / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.953e-05/0.01143, allocations: 33.61 kB / 282.7 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.01153, allocations: 79.34 kB / 282.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01153, allocations: 0 / 282.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of Templates: time 0.004798/0.01633, allocations: 3.271 MB / 286.1 MB, free: 4.43 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9686022121459246]