Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 156.9 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.548e-05, allocations: 2.312 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003568/0.003603, allocations: 1.821 MB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.00577, allocations: 0.9852 MB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.005868, allocations: 0 / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.006007, allocations: 23.73 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.006227, allocations: 35.61 kB / 275.1 MB, free: 14.88 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006491/0.006876, allocations: 183.3 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.007193, allocations: 231.3 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.00737, allocations: 56.47 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.007594, allocations: 135.7 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.008262, allocations: 107.6 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.008314, allocations: 20 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.008646, allocations: 155.7 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.008736, allocations: 67.73 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.008843, allocations: 59.83 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.009391, allocations: 322.9 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.009396, allocations: 0 / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.28e-06/0.009402, allocations: 4 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.009409, allocations: 0 / 276.4 MB, free: 13.57 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.001284/0.01069, allocations: 494.2 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.01074, allocations: 12.03 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.01103, allocations: 48.78 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.01136, allocations: 189.9 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.01139, allocations: 16.66 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.01145, allocations: 24.38 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.01198, allocations: 199.8 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01199, allocations: 192 / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.01202, allocations: 12.38 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.01203, allocations: 11.88 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.01253, allocations: 152.4 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01373, allocations: 464.8 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.01482, allocations: 290.7 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.01514, allocations: 112.8 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.01516, allocations: 4 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.0156, allocations: 163.2 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.0156, allocations: 0 / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001094/0.01669, allocations: 360.7 kB / 278.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.01675, allocations: 59.34 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.017, allocations: 210.9 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.01705, allocations: 41.7 kB / 279.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.01718, allocations: 136.5 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.01725, allocations: 67.44 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.01738, allocations: 69.95 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0007236/0.01811, allocations: 330.8 kB / 279.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.01849, allocations: 135.7 kB / 279.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.0189, allocations: 169.5 kB / 280.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.01961, allocations: 263.3 kB / 280.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01961, allocations: 4 kB / 280.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009517/0.02057, allocations: 387.8 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.02058, allocations: 4 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.0206, allocations: 3.938 kB / 280.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.02062, allocations: 12.02 kB / 280.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.02094, allocations: 67.89 kB / 280.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.02095, allocations: 3.938 kB / 280.8 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.02114, allocations: 39.81 kB / 280.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.02117, allocations: 12 kB / 280.9 MB, free: 8.91 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,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.0002052/0.02137, allocations: 153.8 kB / 281 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.02142, allocations: 19.91 kB / 281 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.0215, allocations: 25.89 kB / 281.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.0215, allocations: 4 kB / 281.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.02151, allocations: 0 / 281.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.02151, allocations: 0 / 281.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.02276, allocations: 0.5291 MB / 281.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.02277, allocations: 3.984 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.02302, allocations: 35.97 kB / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.02302, allocations: 0 / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.02305, allocations: 11.98 kB / 281.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.02305, allocations: 4 kB / 281.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.02305, allocations: 3.938 kB / 281.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.02422, allocations: 491 kB / 282.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.02426, allocations: 23.91 kB / 282.2 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.02429, allocations: 8 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.02449, allocations: 23.97 kB / 282.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.02456, allocations: 15.97 kB / 282.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.02458, allocations: 8 kB / 282.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.02473, allocations: 140.3 kB / 282.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02473, allocations: 0 / 282.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003927/0.02513, allocations: 67.88 kB / 282.4 MB, free: 7.297 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.0006218/0.02575, allocations: 203.9 kB / 282.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000865/0.02661, allocations: 283.4 kB / 282.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.02662, allocations: 0 / 282.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.02696, allocations: 103.9 kB / 283 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.02735, allocations: 39.86 kB / 283 MB, free: 6.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.02862, allocations: 441.6 kB / 283.5 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.02878, allocations: 133.2 kB / 283.6 MB, free: 6.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.02891, allocations: 29.62 kB / 283.6 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.029, allocations: 24.5 kB / 283.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of SimCode: time 1.683e-06/0.029, allocations: 0 / 283.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of Templates: time 0.008259/0.03726, allocations: 3.063 MB / 286.7 MB, free: 3.008 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.569668893935159]