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.001629/0.001629, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00126/0.00126, allocations: 166.8 kB / 24.99 MB, free: 8.82 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 1.096/1.096, allocations: 177.1 MB / 205.3 MB, free: 5.629 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 2.154e-06/2.154e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.859e-05, allocations: 2.312 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003002/0.00304, allocations: 1.859 MB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.004553, allocations: 1.009 MB / 275.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.004662, allocations: 0 / 275.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.004807, allocations: 15.75 kB / 276 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.005039, allocations: 43.59 kB / 276 MB, free: 14.87 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.0007/0.005739, allocations: 195.2 kB / 276.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.005991, allocations: 231.4 kB / 276.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.006138, allocations: 52.53 kB / 276.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.006285, allocations: 131.7 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.006751, allocations: 110.4 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.00681, allocations: 20 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.00708, allocations: 155.7 kB / 276.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.007139, allocations: 63.75 kB / 276.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.007214, allocations: 67.81 kB / 277 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.007632, allocations: 263 kB / 277.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.007636, allocations: 3.984 kB / 277.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007638, allocations: 0 / 277.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.007643, allocations: 0 / 277.3 MB, free: 13.62 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.0008286/0.008472, allocations: 0.5787 MB / 277.9 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.008512, allocations: 11.97 kB / 277.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.008731, allocations: 56.73 kB / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.008955, allocations: 196.9 kB / 278.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.008981, allocations: 12.66 kB / 278.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.009015, allocations: 20.38 kB / 278.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.009266, allocations: 136.3 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.009276, allocations: 3.938 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.009293, allocations: 4 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.009302, allocations: 8 kB / 278.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.009418, allocations: 60.45 kB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.01015, allocations: 0.5039 MB / 278.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.01055, allocations: 159.3 kB / 279 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.594e-05/0.01062, allocations: 47.66 kB / 279.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.01064, allocations: 8 kB / 279.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.01081, allocations: 104.9 kB / 279.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.834e-06/0.01081, allocations: 4 kB / 279.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003546/0.01117, allocations: 184.6 kB / 279.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.01122, allocations: 59.41 kB / 279.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.01138, allocations: 259 kB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.01141, allocations: 37.69 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.01149, allocations: 179.3 kB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.01155, allocations: 83.38 kB / 280 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.01163, allocations: 67.66 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.01176, allocations: 0.5079 MB / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.01185, allocations: 47.72 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01197, allocations: 83.33 kB / 280.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.01215, allocations: 137 kB / 280.8 MB, free: 9.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01215, allocations: 0 / 280.8 MB, free: 9.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003092/0.01246, allocations: 239.9 kB / 281 MB, free: 9.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.01248, allocations: 6.812 kB / 281 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01249, allocations: 8.031 kB / 281 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.01251, allocations: 0 / 281 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.01271, allocations: 71.89 kB / 281.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.01272, allocations: 4 kB / 281.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.01281, allocations: 35.81 kB / 281.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.01283, allocations: 12 kB / 281.2 MB, free: 9.508 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.0001375/0.01297, allocations: 184.4 kB / 281.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.01301, allocations: 27.84 kB / 281.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.01307, allocations: 17.97 kB / 281.4 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01307, allocations: 3.984 kB / 281.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.01308, allocations: 4 kB / 281.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.01308, allocations: 3.984 kB / 281.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.0136, allocations: 477.1 kB / 281.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.0136, allocations: 0 / 281.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.01373, allocations: 43.97 kB / 281.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01373, allocations: 0 / 281.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.01375, allocations: 15.86 kB / 281.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.01375, allocations: 0 / 281.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01375, allocations: 0 / 281.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.01409, allocations: 351.6 kB / 282.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.01411, allocations: 19.84 kB / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.01414, allocations: 8 kB / 282.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.01423, allocations: 19.97 kB / 282.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.01428, allocations: 19.97 kB / 282.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01429, allocations: 4 kB / 282.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.01438, allocations: 176.2 kB / 282.5 MB, free: 8.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01438, allocations: 0 / 282.5 MB, free: 8.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.01466, allocations: 75.77 kB / 282.6 MB, free: 8.016 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.0003945/0.01505, allocations: 217.9 kB / 282.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.01532, allocations: 151.9 kB / 282.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01532, allocations: 0 / 282.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.01541, allocations: 58.41 kB / 283 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.01566, allocations: 35.34 kB / 283 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.01628, allocations: 391.3 kB / 283.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.01633, allocations: 83.97 kB / 283.5 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.799e-05/0.01642, allocations: 29.62 kB / 283.5 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.01647, allocations: 20.5 kB / 283.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01647, allocations: 0 / 283.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of Templates: time 0.00546/0.02193, allocations: 3.048 MB / 286.6 MB, free: 4.004 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: 3.9082262059673667]