Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.0009771/0.0009771, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001104/0.001104, allocations: 142.5 kB / 24.97 MB, free: 8.359 MB / 18.57 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.9848/0.9848, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 4 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.356e-05, allocations: 6.25 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003387/0.00342, allocations: 1.841 MB / 269.9 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.005344, allocations: 0.9702 MB / 270.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.005478, allocations: 0 / 270.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.005637, allocations: 23.73 kB / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.005858, allocations: 39.66 kB / 271 MB, free: 3.816 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.000775/0.006633, allocations: 195.2 kB / 271.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.006919, allocations: 219.4 kB / 271.4 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.007101, allocations: 48.55 kB / 271.4 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.007288, allocations: 131.8 kB / 271.5 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.007885, allocations: 111.4 kB / 271.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.007934, allocations: 20 kB / 271.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.008303, allocations: 151.6 kB / 271.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.008386, allocations: 67.8 kB / 271.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.00849, allocations: 71.75 kB / 272 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005216/0.009012, allocations: 255.1 kB / 272.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.009017, allocations: 0 / 272.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.009019, allocations: 0 / 272.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.009026, allocations: 0 / 272.2 MB, free: 2.574 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.001173/0.0102, allocations: 0.5865 MB / 272.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.01025, allocations: 8.922 kB / 272.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.01054, allocations: 48.78 kB / 272.8 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.01086, allocations: 205.7 kB / 273.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.0109, allocations: 12.66 kB / 273.1 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.01095, allocations: 23.94 kB / 273.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.0113, allocations: 134.7 kB / 273.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01131, allocations: 0 / 273.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.01133, allocations: 4 kB / 273.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.01134, allocations: 8 kB / 273.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.01151, allocations: 60.45 kB / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.01231, allocations: 0.5072 MB / 273.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.01274, allocations: 167.2 kB / 274 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.01282, allocations: 54.66 kB / 274 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.01284, allocations: 4 kB / 274 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.01301, allocations: 101.1 kB / 274.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.01301, allocations: 0 / 274.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003755/0.01339, allocations: 193.4 kB / 274.3 MB, free: 344 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.01344, allocations: 63.39 kB / 274.4 MB, free: 268 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.0136, allocations: 249.6 kB / 274.6 MB, free: 0 / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.01364, allocations: 37.7 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.0138, allocations: 179.3 kB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.01385, allocations: 75.39 kB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.01393, allocations: 71.34 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.01407, allocations: 0.504 MB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.01418, allocations: 51.97 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.01429, allocations: 87.11 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01449, allocations: 141 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.01449, allocations: 4 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002975/0.01479, allocations: 244 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.01481, allocations: 10.5 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.01481, allocations: 4.031 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01483, allocations: 0 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.01503, allocations: 79.88 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01504, allocations: 0 / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.01513, allocations: 35.83 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.01515, allocations: 15.98 kB / 276.1 MB, free: 14.43 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.0001128/0.01526, allocations: 184.3 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.01529, allocations: 23.91 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.01534, allocations: 25.94 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01534, allocations: 0 / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01535, allocations: 0 / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01535, allocations: 0 / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.01595, allocations: 0.4999 MB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01595, allocations: 0 / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.01609, allocations: 43.97 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.0161, allocations: 0 / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.01612, allocations: 15.92 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01612, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01612, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.01647, allocations: 356.1 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01649, allocations: 23.8 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.01652, allocations: 11.98 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.01661, allocations: 19.92 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.01666, allocations: 19.97 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01667, allocations: 8 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.61e-05/0.01676, allocations: 167.1 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01676, allocations: 0 / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.01703, allocations: 67.86 kB / 277.6 MB, free: 12.91 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 (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.0004618/0.01749, allocations: 203.6 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.0178, allocations: 159.6 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0178, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.0179, allocations: 59.59 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.01822, allocations: 39.97 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.0189, allocations: 378.6 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.272e-05/0.01895, allocations: 79.97 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.53e-05/0.01904, allocations: 25.64 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.0191, allocations: 28.48 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of SimCode: time 1.413e-06/0.0191, allocations: 0 / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of Templates: time 0.005774/0.02487, allocations: 3.131 MB / 281.7 MB, free: 8.828 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7405176230240613]