Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.0009277/0.0009277, allocations: 85.17 kB / 21.5 MB, free: 2.984 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.0008959/0.0008959, allocations: 146.6 kB / 24.89 MB, free: 8.676 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.961/0.961, allocations: 173.4 MB / 201.5 MB, free: 9.207 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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 268.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.104e-05, allocations: 2.312 kB / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002392/0.002413, allocations: 1.875 MB / 270.4 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.004151, allocations: 1.239 MB / 271.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.004238, allocations: 7.938 kB / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.004339, allocations: 23.73 kB / 271.7 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.004409, allocations: 27.72 kB / 271.7 MB, free: 2.949 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.0006926/0.005102, allocations: 302.8 kB / 272 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.005296, allocations: 219.5 kB / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.005413, allocations: 54.52 kB / 272.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.005535, allocations: 131.7 kB / 272.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.005944, allocations: 108.3 kB / 272.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.005983, allocations: 20 kB / 272.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.006433, allocations: 347.2 kB / 272.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.006485, allocations: 63.75 kB / 272.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.006541, allocations: 67.8 kB / 273 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.006962, allocations: 374.8 kB / 273.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.006965, allocations: 0 / 273.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006966, allocations: 0 / 273.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.006971, allocations: 4 kB / 273.3 MB, free: 1.301 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.0006044/0.007575, allocations: 484.7 kB / 273.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.007606, allocations: 8.922 kB / 273.8 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.007765, allocations: 40.89 kB / 273.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.007929, allocations: 182.8 kB / 274 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.00795, allocations: 16.66 kB / 274.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.007979, allocations: 27.92 kB / 274.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.00816, allocations: 125.8 kB / 274.2 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.008167, allocations: 0 / 274.2 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.008179, allocations: 4 kB / 274.2 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.008184, allocations: 4 kB / 274.2 MB, free: 376 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.56e-05/0.00825, allocations: 40.47 kB / 274.3 MB, free: 336 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.00876, allocations: 349.6 kB / 274.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.009045, allocations: 186 kB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.009091, allocations: 44.78 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.009109, allocations: 11.88 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.00923, allocations: 94.14 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.325e-06/0.009232, allocations: 4 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001964/0.009429, allocations: 125.6 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.009465, allocations: 63.34 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.009561, allocations: 182.5 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.009583, allocations: 37.7 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.009633, allocations: 128.5 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.009672, allocations: 75.36 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.009736, allocations: 65.64 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.009814, allocations: 342.7 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-05/0.009872, allocations: 38.81 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.009935, allocations: 57.67 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.01005, allocations: 121 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01006, allocations: 0 / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001784/0.01023, allocations: 170.9 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01025, allocations: 7.938 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01026, allocations: 4 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.01027, allocations: 0 / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.01045, allocations: 83.88 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.01045, allocations: 0 / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.01052, allocations: 43.84 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.01053, allocations: 8 kB / 276.5 MB, free: 14.01 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,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 8.826e-05/0.01062, allocations: 132.5 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.01064, allocations: 19.92 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.01068, allocations: 25.95 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01069, allocations: 0 / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01069, allocations: 0 / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01069, allocations: 4 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.01105, allocations: 393.6 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01106, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.01118, allocations: 47.89 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01119, allocations: 0 / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.0112, allocations: 11.98 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0112, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0112, allocations: 4 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.01143, allocations: 294.6 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.01145, allocations: 23.78 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.01147, allocations: 11.94 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.01155, allocations: 19.97 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.01158, allocations: 15.97 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.01159, allocations: 0 / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.01163, allocations: 44.81 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01163, allocations: 0 / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.0119, allocations: 107.8 kB / 277.6 MB, free: 12.82 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.0004983/0.0124, allocations: 292.4 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.01258, allocations: 124.9 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01259, allocations: 0 / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.01265, allocations: 48.77 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.01283, allocations: 31.92 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.0133, allocations: 386.7 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.01334, allocations: 79.97 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.01342, allocations: 25.62 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.01351, allocations: 83.36 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01352, allocations: 0 / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Templates: time 0.005906/0.01942, allocations: 4.134 MB / 282.8 MB, free: 7.668 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.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.080343062058091]