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.0008784/0.0008784, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002088, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000714/0.000714, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009552/0.001669, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.981/0.981, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1264/1.107, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.864e-06/1.864e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.727e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003356/0.003384, allocations: 1.92 MB / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.005046, allocations: 1.028 MB / 247.7 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.005154, allocations: 7.938 kB / 247.7 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.347e-05/0.005247, allocations: 15.75 kB / 247.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.00538, allocations: 43.64 kB / 247.7 MB, free: 11.17 MB / 250.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.0005731/0.005953, allocations: 187.2 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.006218, allocations: 211.5 kB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.006383, allocations: 50.52 kB / 248.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.006589, allocations: 156.6 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.007106, allocations: 100.8 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.007152, allocations: 27.94 kB / 248.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.007471, allocations: 167.6 kB / 248.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.007529, allocations: 39.88 kB / 248.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.007598, allocations: 47.88 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.00801, allocations: 219.2 kB / 248.9 MB, free: 9.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/0.008025, allocations: 0 / 248.9 MB, free: 9.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.008027, allocations: 4 kB / 248.9 MB, free: 9.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.008039, allocations: 0 / 248.9 MB, free: 9.988 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.0008302/0.008869, allocations: 0.5005 MB / 249.4 MB, free: 9.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.008906, allocations: 15.98 kB / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.00911, allocations: 121.9 kB / 249.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.009322, allocations: 178.7 kB / 249.7 MB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.009345, allocations: 12.66 kB / 249.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.009382, allocations: 24.31 kB / 249.8 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.009573, allocations: 126.4 kB / 249.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.009583, allocations: 3.938 kB / 249.9 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.009598, allocations: 12 kB / 249.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.009623, allocations: 7.984 kB / 249.9 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.009691, allocations: 33.73 kB / 250 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.01026, allocations: 354 kB / 250.3 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.0106, allocations: 178.3 kB / 250.5 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.01065, allocations: 32.84 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.01067, allocations: 4 kB / 250.5 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.01085, allocations: 102.1 kB / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.285e-06/0.01085, allocations: 0 / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002395/0.01109, allocations: 124.6 kB / 250.7 MB, free: 8.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.01114, allocations: 59.41 kB / 250.8 MB, free: 7.992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.01129, allocations: 195.1 kB / 251 MB, free: 7.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.01132, allocations: 37.7 kB / 251 MB, free: 7.746 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.01139, allocations: 136.5 kB / 251.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.01144, allocations: 71.36 kB / 251.2 MB, free: 7.539 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.01152, allocations: 65.97 kB / 251.3 MB, free: 7.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01164, allocations: 338.8 kB / 251.6 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.0117, allocations: 42.34 kB / 251.7 MB, free: 7.086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.01178, allocations: 65.41 kB / 251.7 MB, free: 7.016 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01192, allocations: 121 kB / 251.8 MB, free: 6.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01192, allocations: 0 / 251.8 MB, free: 6.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002165/0.01214, allocations: 170.8 kB / 252 MB, free: 6.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.01216, allocations: 8.969 kB / 252 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.01217, allocations: 4 kB / 252 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01218, allocations: 0 / 252 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.01238, allocations: 83.88 kB / 252.1 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.01239, allocations: 7.984 kB / 252.1 MB, free: 6.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.01247, allocations: 47.75 kB / 252.2 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01248, allocations: 4 kB / 252.2 MB, free: 6.559 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.0001033/0.01258, allocations: 140.6 kB / 252.3 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.01261, allocations: 15.98 kB / 252.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.01265, allocations: 21.95 kB / 252.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01266, allocations: 0 / 252.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01266, allocations: 0 / 252.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.01266, allocations: 7.938 kB / 252.3 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.01311, allocations: 358.4 kB / 252.7 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.01311, allocations: 0 / 252.7 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.01326, allocations: 51.89 kB / 252.7 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.01328, allocations: 19.84 kB / 252.8 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.01328, allocations: 0 / 252.8 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.0133, allocations: 7.984 kB / 252.8 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.0133, allocations: 0 / 252.8 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.0133, allocations: 8 kB / 252.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.01359, allocations: 295.1 kB / 253.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.01361, allocations: 8 kB / 253.1 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.01368, allocations: 15.98 kB / 253.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.01373, allocations: 19.97 kB / 253.1 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.01374, allocations: 11.92 kB / 253.1 MB, free: 5.547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.0138, allocations: 49.86 kB / 253.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0138, allocations: 0 / 253.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.01406, allocations: 71.81 kB / 253.2 MB, free: 5.426 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 (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.0004879/0.01455, allocations: 223.4 kB / 253.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.01476, allocations: 120.7 kB / 253.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.01477, allocations: 4 kB / 253.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.01484, allocations: 52.78 kB / 253.6 MB, free: 5.078 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.01515, allocations: 217.5 kB / 253.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.01602, allocations: 379.2 kB / 254.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.01608, allocations: 83.97 kB / 254.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.104e-05/0.01616, allocations: 33.61 kB / 254.3 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.01631, allocations: 87.34 kB / 254.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01631, allocations: 0 / 254.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of Templates: time 0.006273/0.02258, allocations: 3.294 MB / 257.7 MB, free: 0.957 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.672186402603984]