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.001403/0.001403, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004226/0.004226, allocations: 160 kB / 24.7 MB, free: 9.43 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.9225/0.9225, allocations: 177.1 MB / 205 MB, free: 5.73 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.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.789e-05, allocations: 6.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002118/0.002145, allocations: 1.827 MB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003416, allocations: 0.9896 MB / 328.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.003498, allocations: 4 kB / 328.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.003612, allocations: 19.73 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.003787, allocations: 35.66 kB / 328.7 MB, free: 12.52 MB / 298.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.0004614/0.004249, allocations: 187.3 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.004453, allocations: 223.4 kB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.004594, allocations: 61.92 kB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.004718, allocations: 135.6 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.005192, allocations: 99.72 kB / 329.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.00523, allocations: 20 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.005435, allocations: 151.7 kB / 329.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.005488, allocations: 63.73 kB / 329.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.005556, allocations: 67.83 kB / 329.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.005898, allocations: 319 kB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.0059, allocations: 0 / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005901, allocations: 0 / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005906, allocations: 0 / 330 MB, free: 11.22 MB / 298.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.0007837/0.006689, allocations: 0.4936 MB / 330.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.006726, allocations: 8.031 kB / 330.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.006868, allocations: 36.78 kB / 330.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.007065, allocations: 189.2 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.007089, allocations: 16.66 kB / 330.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.007121, allocations: 20.38 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.007413, allocations: 199.2 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007424, allocations: 3.938 kB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.007439, allocations: 4 kB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007444, allocations: 4 kB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.007718, allocations: 164.9 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.008362, allocations: 472.6 kB / 331.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.008948, allocations: 289.6 kB / 331.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.009103, allocations: 108.8 kB / 332 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.009121, allocations: 4 kB / 332 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.009362, allocations: 171.1 kB / 332.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.009363, allocations: 0 / 332.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005786/0.009942, allocations: 356.5 kB / 332.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.00998, allocations: 55.41 kB / 332.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01012, allocations: 211.6 kB / 332.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.01015, allocations: 41.7 kB / 332.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.01022, allocations: 132.6 kB / 332.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.01026, allocations: 67.42 kB / 333 MB, free: 8.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.01033, allocations: 77.62 kB / 333.1 MB, free: 8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.01042, allocations: 326.8 kB / 333.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.01062, allocations: 135.8 kB / 333.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.01083, allocations: 165.6 kB / 333.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.01119, allocations: 267.2 kB / 334 MB, free: 7.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.0112, allocations: 4 kB / 334 MB, free: 7.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004777/0.01167, allocations: 379.9 kB / 334.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.01169, allocations: 10.8 kB / 334.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.0117, allocations: 0 / 334.3 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01171, allocations: 8.031 kB / 334.4 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.01186, allocations: 63.89 kB / 334.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.01187, allocations: 4 kB / 334.4 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.01195, allocations: 43.8 kB / 334.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.01197, allocations: 8 kB / 334.5 MB, free: 6.59 MB / 298.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.0001028/0.01207, allocations: 157.7 kB / 334.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.01209, allocations: 23.8 kB / 334.6 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.01213, allocations: 21.95 kB / 334.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01213, allocations: 0 / 334.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01214, allocations: 0 / 334.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01214, allocations: 0 / 334.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.01273, allocations: 0.5291 MB / 335.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01273, allocations: 3.984 kB / 335.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.01284, allocations: 35.97 kB / 335.2 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01285, allocations: 4 kB / 335.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01286, allocations: 11.92 kB / 335.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01286, allocations: 0 / 335.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01286, allocations: 0 / 335.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.01342, allocations: 487 kB / 335.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.01344, allocations: 23.78 kB / 335.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.01346, allocations: 12.06 kB / 335.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.01355, allocations: 23.97 kB / 335.8 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.01359, allocations: 11.97 kB / 335.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.0136, allocations: 4 kB / 335.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.049e-05/0.01368, allocations: 144.3 kB / 335.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01368, allocations: 0 / 335.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.0139, allocations: 75.81 kB / 336 MB, free: 4.98 MB / 298.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.0002963/0.0142, allocations: 212.3 kB / 336.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.01462, allocations: 271.6 kB / 336.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01462, allocations: 0 / 336.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.01479, allocations: 103.9 kB / 336.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.01499, allocations: 31.98 kB / 336.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.01562, allocations: 468.1 kB / 337.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.705e-05/0.0157, allocations: 133.2 kB / 337.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.01576, allocations: 24.5 kB / 337.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01576, allocations: 0 / 337.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Templates: time 0.003615/0.01938, allocations: 3.423 MB / 340.7 MB, free: 320 kB / 298.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=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/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_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: 6.130512903444469]