Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002662, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009854/0.0009854, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002316, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9239/0.9239, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09434/1.018, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.815e-05, allocations: 10.31 kB / 239.6 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003269/0.003297, allocations: 1.878 MB / 241.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.00581, allocations: 1.247 MB / 242.7 MB, free: 4 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.005927, allocations: 4 kB / 242.7 MB, free: 0 / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.006042, allocations: 15.86 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.006148, allocations: 31.56 kB / 242.7 MB, free: 15.95 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.001024/0.007172, allocations: 298.9 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.007492, allocations: 211.5 kB / 243.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.007651, allocations: 46.53 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.00789, allocations: 163.6 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.00835, allocations: 109.3 kB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.008401, allocations: 20 kB / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006394/0.009041, allocations: 339.2 kB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.009106, allocations: 39.88 kB / 243.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.009185, allocations: 47.88 kB / 244 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.009732, allocations: 318.9 kB / 244.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.009749, allocations: 0 / 244.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00975, allocations: 0 / 244.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.00977, allocations: 0 / 244.3 MB, free: 14.39 MB / 250.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.001034/0.0108, allocations: 0.5393 MB / 244.8 MB, free: 13.83 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.01084, allocations: 12.03 kB / 244.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.01112, allocations: 121.9 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.01134, allocations: 163 kB / 245.1 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.01138, allocations: 16.66 kB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.01142, allocations: 27.92 kB / 245.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.0117, allocations: 137.5 kB / 245.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01171, allocations: 0 / 245.3 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.01173, allocations: 8 kB / 245.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.01174, allocations: 4 kB / 245.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.01185, allocations: 36.53 kB / 245.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.01259, allocations: 353.5 kB / 245.7 MB, free: 12.9 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.01303, allocations: 182.3 kB / 245.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.0131, allocations: 32.84 kB / 245.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01312, allocations: 11.94 kB / 245.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.01331, allocations: 102.1 kB / 246 MB, free: 12.55 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/0.01331, allocations: 0 / 246 MB, free: 12.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002769/0.01359, allocations: 121.6 kB / 246.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.01364, allocations: 67.39 kB / 246.2 MB, free: 12.35 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.01381, allocations: 182.5 kB / 246.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.01385, allocations: 37.7 kB / 246.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.01392, allocations: 124.5 kB / 246.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.01398, allocations: 75.38 kB / 246.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.812e-05/0.01408, allocations: 69.62 kB / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01418, allocations: 330.8 kB / 247 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.01428, allocations: 38.8 kB / 247.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.01438, allocations: 65.67 kB / 247.1 MB, free: 11.4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.01457, allocations: 121 kB / 247.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01457, allocations: 0 / 247.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002869/0.01486, allocations: 166.9 kB / 247.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01488, allocations: 7.938 kB / 247.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01489, allocations: 0 / 247.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.0149, allocations: 4 kB / 247.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.01521, allocations: 91.88 kB / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01521, allocations: 0 / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.01534, allocations: 47.78 kB / 247.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.01536, allocations: 11.98 kB / 247.6 MB, free: 10.94 MB / 250.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 0.0001169/0.01548, allocations: 132.5 kB / 247.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.01551, allocations: 19.92 kB / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.01557, allocations: 25.94 kB / 247.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.01557, allocations: 4 kB / 247.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.01558, allocations: 0 / 247.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01558, allocations: 0 / 247.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.01608, allocations: 381.5 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01608, allocations: 3.938 kB / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.01628, allocations: 51.95 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.01631, allocations: 23.81 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.01632, allocations: 3.938 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01633, allocations: 4 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01634, allocations: 0 / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01634, allocations: 3.938 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.01667, allocations: 297.2 kB / 248.5 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.01671, allocations: 11.98 kB / 248.5 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.01684, allocations: 15.98 kB / 248.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.01688, allocations: 11.97 kB / 248.5 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.01689, allocations: 8 kB / 248.5 MB, free: 9.914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.01695, allocations: 45.88 kB / 248.6 MB, free: 9.867 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01695, allocations: 0 / 248.6 MB, free: 9.867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.01732, allocations: 111.7 kB / 248.7 MB, free: 9.758 MB / 250.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 (18): * Single equations (assignments): 16 * 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.0007233/0.01804, allocations: 301.7 kB / 249 MB, free: 9.512 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.01831, allocations: 116.8 kB / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.01833, allocations: 7.984 kB / 249.1 MB, free: 9.387 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01843, allocations: 44.78 kB / 249.1 MB, free: 9.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.01871, allocations: 43.91 kB / 249.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.01952, allocations: 374.5 kB / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.307e-05/0.01959, allocations: 84.05 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.01971, allocations: 33.59 kB / 249.7 MB, free: 8.766 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.01986, allocations: 99.22 kB / 249.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01986, allocations: 0 / 249.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of Templates: time 0.008854/0.02871, allocations: 4.169 MB / 253.9 MB, free: 4.543 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.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.205276135355234]