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.001583/0.001583, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001356/0.001356, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9864/0.9864, allocations: 177.1 MB / 205 MB, free: 5.441 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.524e-06/2.524e-06, allocations: 4 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.685e-05, allocations: 2.312 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002629/0.002656, allocations: 1.869 MB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004288, allocations: 1.009 MB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.004413, allocations: 7.938 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.00456, allocations: 23.67 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.004811, allocations: 47.58 kB / 275.9 MB, free: 14.4 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.0007154/0.005526, allocations: 187.3 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.005783, allocations: 219.4 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.005932, allocations: 48.55 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.006088, allocations: 135.7 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.006582, allocations: 114.8 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.006646, allocations: 27.94 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.006924, allocations: 155.7 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.00698, allocations: 51.83 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.007055, allocations: 75.73 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.007479, allocations: 251.1 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.007486, allocations: 8 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.007488, allocations: 0 / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.007495, allocations: 0 / 277.2 MB, free: 13.16 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.0009768/0.008472, allocations: 0.5826 MB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.008527, allocations: 8.031 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.0088, allocations: 56.73 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.009087, allocations: 196.9 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.009116, allocations: 12.66 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.009155, allocations: 24.31 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.009452, allocations: 132.4 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.009463, allocations: 7.938 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.009482, allocations: 4 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.009493, allocations: 4 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.009615, allocations: 60.45 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.01044, allocations: 0.5116 MB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.01088, allocations: 163.4 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.01096, allocations: 43.61 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.01099, allocations: 11.98 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.01118, allocations: 111.2 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 9.578e-06/0.01119, allocations: 0 / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003994/0.01159, allocations: 181.5 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.01165, allocations: 55.41 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.01185, allocations: 255 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.01189, allocations: 41.69 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.01199, allocations: 179.3 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.01204, allocations: 75.38 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.01213, allocations: 79.58 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01229, allocations: 0.504 MB / 280.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.01239, allocations: 51.72 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.0125, allocations: 83.33 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.01269, allocations: 133.1 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.0127, allocations: 0 / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003163/0.01301, allocations: 239.9 kB / 281 MB, free: 9.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.01303, allocations: 8.031 kB / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.01304, allocations: 0 / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.01306, allocations: 4 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.01328, allocations: 71.89 kB / 281 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.01329, allocations: 0 / 281 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.01338, allocations: 39.81 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01339, allocations: 15.94 kB / 281.1 MB, free: 9.043 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.0001387/0.01353, allocations: 180.5 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.01357, allocations: 31.83 kB / 281.3 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.01362, allocations: 17.97 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01362, allocations: 0 / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.01363, allocations: 0 / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.01364, allocations: 3.984 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.01422, allocations: 484.1 kB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01422, allocations: 0 / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.01437, allocations: 43.97 kB / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.01438, allocations: 0 / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.0144, allocations: 11.92 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.0144, allocations: 0 / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.01441, allocations: 0 / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.01484, allocations: 351.6 kB / 282.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.01487, allocations: 15.84 kB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.01491, allocations: 8 kB / 282.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.015, allocations: 27.97 kB / 282.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.01509, allocations: 11.98 kB / 282.3 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.0151, allocations: 12.05 kB / 282.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.01521, allocations: 176.2 kB / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01521, allocations: 0 / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.01554, allocations: 75.77 kB / 282.5 MB, free: 7.555 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.0006699/0.01621, allocations: 212.4 kB / 282.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003632/0.01657, allocations: 143.9 kB / 282.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.01658, allocations: 0 / 282.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01668, allocations: 59.59 kB / 282.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.01698, allocations: 39.97 kB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.01775, allocations: 387.3 kB / 283.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.09e-05/0.01781, allocations: 83.97 kB / 283.4 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.405e-05/0.0179, allocations: 33.61 kB / 283.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.01796, allocations: 20.5 kB / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01796, allocations: 0 / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of Templates: time 0.006031/0.02399, allocations: 3.287 MB / 286.8 MB, free: 3.305 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.6983143291436136]