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.001337/0.001337, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001446/0.001446, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001561/0.001561, allocations: 47.94 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.00313/0.2266, allocations: 1.801 MB / 434.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2284, allocations: 0.9898 MB / 435.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.2285, allocations: 4 kB / 435.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.2286, allocations: 19.73 kB / 435.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.2288, allocations: 39.66 kB / 435.2 MB, free: 3.855 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.0005348/0.2293, allocations: 191.5 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.2296, allocations: 223.5 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.2298, allocations: 52.34 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2299, allocations: 103.6 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.2304, allocations: 125.3 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.2304, allocations: 20 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.2307, allocations: 159.8 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.2308, allocations: 55.77 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.2309, allocations: 83.58 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.2313, allocations: 297.7 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2313, allocations: 0 / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.2313, allocations: 4 kB / 436.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2313, allocations: 7.938 kB / 436.5 MB, free: 2.566 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.001127/0.2324, allocations: 0.4903 MB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2325, allocations: 8.031 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.2327, allocations: 40.73 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.2329, allocations: 182.2 kB / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.233, allocations: 12.66 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.233, allocations: 28.11 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.2335, allocations: 197 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2335, allocations: 0 / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2336, allocations: 4 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2336, allocations: 4 kB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.2341, allocations: 160.4 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.2351, allocations: 468.7 kB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2362, allocations: 294.7 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.2365, allocations: 108.7 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2365, allocations: 4 kB / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.237, allocations: 163.3 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.237, allocations: 0 / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001073/0.238, allocations: 359.1 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.2381, allocations: 63.39 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.2383, allocations: 207.1 kB / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.2383, allocations: 45.62 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.2384, allocations: 128.6 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.2385, allocations: 75.38 kB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2386, allocations: 65.69 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2388, allocations: 330.8 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.2391, allocations: 135.7 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.2395, allocations: 169.4 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.2402, allocations: 275.2 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2402, allocations: 0 / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008588/0.241, allocations: 379.8 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2411, allocations: 4 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2411, allocations: 4.031 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2411, allocations: 4 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.2414, allocations: 71.88 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2414, allocations: 4 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2416, allocations: 39.75 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.2416, allocations: 12 kB / 441 MB, free: 13.94 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.0001482/0.2418, allocations: 153.7 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.2418, allocations: 19.89 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.2419, allocations: 17.97 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2419, allocations: 3.938 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2419, allocations: 0 / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.2419, allocations: 23.83 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.242, allocations: 4 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2421, allocations: 23.97 kB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.2422, allocations: 19.91 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00139/0.2436, allocations: 440.5 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001117/0.2447, allocations: 0.5569 MB / 442.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003043/0.245, allocations: 99.92 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.2451, allocations: 140.3 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.2451, allocations: 4 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2462, allocations: 354.9 kB / 442.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008768/0.2471, allocations: 0.836 MB / 443.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Templates: time 0.01013/0.2572, allocations: 3.867 MB / 447.5 MB, free: 7.387 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.661409911997907]