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.001668/0.001668, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001831/0.001831, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.03/1.03, allocations: 173.4 MB / 201.1 MB, free: 9.32 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 2.004e-06/2.004e-06, allocations: 0 / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.659e-05, allocations: 6.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002475/0.002512, allocations: 1.841 MB / 269.8 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.00396, allocations: 0.9858 MB / 270.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.004057, allocations: 0 / 270.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.004183, allocations: 19.73 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.004368, allocations: 31.67 kB / 270.9 MB, free: 3.508 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.0005566/0.004925, allocations: 195.2 kB / 271.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.005157, allocations: 227.4 kB / 271.3 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.005301, allocations: 44.56 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.005433, allocations: 139.7 kB / 271.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.005889, allocations: 105.3 kB / 271.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.005934, allocations: 20 kB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.006188, allocations: 163.6 kB / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.006252, allocations: 55.81 kB / 271.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.006333, allocations: 67.81 kB / 271.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.006713, allocations: 263 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.006717, allocations: 0 / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006718, allocations: 0 / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.006725, allocations: 0 / 272.1 MB, free: 2.258 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.0008366/0.007561, allocations: 0.5787 MB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.007604, allocations: 12.92 kB / 272.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.007796, allocations: 44.78 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.008039, allocations: 209.6 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.008065, allocations: 12.66 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.008107, allocations: 27.94 kB / 273 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.008364, allocations: 138.7 kB / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.008373, allocations: 0 / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.008392, allocations: 4 kB / 273.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.008402, allocations: 4 kB / 273.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.008528, allocations: 56.52 kB / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.009271, allocations: 0.5111 MB / 273.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.009696, allocations: 167.1 kB / 273.9 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.009783, allocations: 51.7 kB / 273.9 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.00981, allocations: 4 kB / 273.9 MB, free: 336 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.01006, allocations: 101 kB / 274 MB, free: 220 kB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.755e-06/0.01006, allocations: 0 / 274 MB, free: 220 kB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003959/0.01045, allocations: 193.4 kB / 274.2 MB, free: 20 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.01052, allocations: 63.41 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01069, allocations: 245.7 kB / 274.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.01072, allocations: 37.7 kB / 274.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.01081, allocations: 183.4 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.01087, allocations: 71.39 kB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.01096, allocations: 79.33 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.0111, allocations: 0.4962 MB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.0112, allocations: 55.95 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.01132, allocations: 87.11 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.0115, allocations: 144.9 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01151, allocations: 0 / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000287/0.01179, allocations: 236.1 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.01181, allocations: 4 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.01182, allocations: 0 / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.01184, allocations: 11.92 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.01204, allocations: 75.95 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01205, allocations: 3.938 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.01213, allocations: 43.84 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.01215, allocations: 12 kB / 276.1 MB, free: 14.11 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.0001105/0.01226, allocations: 180.3 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.01229, allocations: 23.89 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.01234, allocations: 21.97 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01234, allocations: 0 / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01234, allocations: 0 / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01235, allocations: 4 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.01287, allocations: 0.5 MB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01287, allocations: 0 / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.013, allocations: 47.89 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.013, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.01302, allocations: 8 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01302, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01302, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.01336, allocations: 358.6 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.01339, allocations: 31.78 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01341, allocations: 11.94 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-05/0.0135, allocations: 23.92 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.01355, allocations: 11.97 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01356, allocations: 11.92 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.978e-05/0.01364, allocations: 167.2 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01364, allocations: 0 / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.01388, allocations: 67.86 kB / 277.5 MB, free: 12.59 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.0004363/0.01432, allocations: 215 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.0146, allocations: 159.6 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.0146, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.01468, allocations: 63.58 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.01495, allocations: 31.92 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.01549, allocations: 382.6 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.243e-05/0.01554, allocations: 75.98 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.01561, allocations: 29.69 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.01567, allocations: 24.5 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01567, allocations: 0 / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of Templates: time 0.005555/0.02122, allocations: 3.131 MB / 281.6 MB, free: 8.508 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.7118443297222257]