Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.0009128/0.0009128, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001011/0.001011, allocations: 142.1 kB / 24.89 MB, free: 8.777 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.9034/0.9034, allocations: 173.4 MB / 201.5 MB, free: 8.754 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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.736e-05, allocations: 5.688 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003043/0.003071, allocations: 1.679 MB / 270.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.005466, allocations: 1.184 MB / 271.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005572, allocations: 4 kB / 271.3 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.005899, allocations: 35.72 kB / 271.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.006018, allocations: 43.7 kB / 271.4 MB, free: 3.051 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.0008437/0.006862, allocations: 314.9 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.007087, allocations: 155.5 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.007172, allocations: 13.91 kB / 271.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.007364, allocations: 95.77 kB / 272 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.007882, allocations: 90.78 kB / 272.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.007926, allocations: 15.94 kB / 272.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005889/0.008515, allocations: 307.3 kB / 272.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.008633, allocations: 51.81 kB / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.008693, allocations: 47.83 kB / 272.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.0092, allocations: 330.9 kB / 272.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.009203, allocations: 0 / 272.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.009204, allocations: 0 / 272.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.009209, allocations: 0 / 272.8 MB, free: 1.656 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007312/0.00994, allocations: 431.6 kB / 273.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.009974, allocations: 8.922 kB / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.01016, allocations: 24.91 kB / 273.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.01044, allocations: 191 kB / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.01046, allocations: 12.38 kB / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.01049, allocations: 19.88 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.01061, allocations: 64 kB / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.01062, allocations: 4 kB / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.01063, allocations: 0 / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.01064, allocations: 0 / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.213e-05/0.0107, allocations: 23.91 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.01118, allocations: 253.6 kB / 273.8 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.01131, allocations: 104.1 kB / 273.9 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.01135, allocations: 12.86 kB / 273.9 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.01136, allocations: 8 kB / 273.9 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.01147, allocations: 82.2 kB / 274 MB, free: 348 kB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.01148, allocations: 0 / 274 MB, free: 348 kB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.000186/0.01166, allocations: 97.72 kB / 274.1 MB, free: 244 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.01171, allocations: 55.41 kB / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01188, allocations: 191.5 kB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.01192, allocations: 37.7 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.01197, allocations: 104 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.01201, allocations: 43.81 kB / 274.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.01208, allocations: 45.66 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.01218, allocations: 338.7 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.01223, allocations: 26.67 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.01229, allocations: 46.34 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.0124, allocations: 79.41 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0124, allocations: 0 / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001787/0.01258, allocations: 116.5 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.0126, allocations: 4 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.0126, allocations: 0 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01262, allocations: 4 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.01275, allocations: 35.92 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01275, allocations: 4 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.01283, allocations: 19.77 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.01285, allocations: 15.97 kB / 275.3 MB, free: 15.02 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,whiteNoise.localSeed,globalSeed.seed,whiteNoise.actualGlobalSeed,globalSeed.id_impure,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 9.82e-05/0.01295, allocations: 128.4 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.01298, allocations: 16.02 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01301, allocations: 21.47 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01302, allocations: 0 / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01302, allocations: 0 / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.01302, allocations: 7.922 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.01315, allocations: 105.8 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01315, allocations: 4 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.01322, allocations: 8 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01323, allocations: 0 / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01324, allocations: 11.98 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01324, allocations: 0 / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01324, allocations: 4 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.01344, allocations: 130.6 kB / 275.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.01349, allocations: 27.83 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.01352, allocations: 3.984 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.01358, allocations: 8 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.01361, allocations: 7.984 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01362, allocations: 0 / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.01369, allocations: 67.03 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01369, allocations: 0 / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.01401, allocations: 87.83 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0006366/0.01465, allocations: 300.5 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01483, allocations: 80.62 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01483, allocations: 4 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.01489, allocations: 32.84 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.01505, allocations: 26.77 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.01557, allocations: 312 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01562, allocations: 79.88 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.447e-05/0.01569, allocations: 21.48 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.01579, allocations: 71.36 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01579, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.007153/0.02294, allocations: 3.5 MB / 280.3 MB, free: 9.945 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.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: 2.9148759371601045]