Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.04/1.04, allocations: 177 MB / 204.8 MB, free: 5.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.229e-05, allocations: 2.312 kB / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002514/0.002546, allocations: 1.706 MB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.004346, allocations: 1.215 MB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.00446, allocations: 8 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.004838, allocations: 39.7 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.004956, allocations: 31.78 kB / 275.9 MB, free: 14.27 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008261/0.005782, allocations: 326.7 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.006024, allocations: 151.6 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.006119, allocations: 9.312 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.00634, allocations: 99.78 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.006781, allocations: 94.66 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.006835, allocations: 15.98 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.007322, allocations: 311.2 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.007416, allocations: 59.8 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.007481, allocations: 35.86 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.00805, allocations: 335 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.008053, allocations: 3.938 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.008056, allocations: 7.984 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.008061, allocations: 4 kB / 277.3 MB, free: 12.85 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008509/0.008912, allocations: 0.5539 MB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.008957, allocations: 11.98 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.009149, allocations: 36.78 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.009459, allocations: 213.9 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.009478, allocations: 8.375 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.009507, allocations: 4.375 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.009655, allocations: 77.33 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.009667, allocations: 4.172 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.00968, allocations: 384 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.009689, allocations: 3.938 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.00976, allocations: 31.97 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.01035, allocations: 395.5 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.0105, allocations: 66.98 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.01054, allocations: 27.66 kB / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.01055, allocations: 0 / 278.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.01068, allocations: 88.97 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.01068, allocations: 0 / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002743/0.01096, allocations: 145.7 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.011, allocations: 55.41 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.01118, allocations: 267.8 kB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.01121, allocations: 37.69 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.0113, allocations: 170.8 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.01133, allocations: 43.83 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.0114, allocations: 51.3 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.01154, allocations: 0.504 MB / 280.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.0116, allocations: 31.97 kB / 280.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.01167, allocations: 55.28 kB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.01179, allocations: 87.58 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.01179, allocations: 7.938 kB / 280.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000207/0.012, allocations: 157.3 kB / 280.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01202, allocations: 4 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.01203, allocations: 4 kB / 280.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01204, allocations: 0 / 280.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01219, allocations: 39.97 kB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.01219, allocations: 3.938 kB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.01227, allocations: 23.88 kB / 280.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.01228, allocations: 12 kB / 280.5 MB, free: 9.445 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.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,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 0.000106/0.01239, allocations: 172.5 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.01242, allocations: 23.91 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.01246, allocations: 21.45 kB / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01246, allocations: 0 / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01246, allocations: 0 / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01247, allocations: 0 / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.01262, allocations: 172.5 kB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01262, allocations: 0 / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-05/0.01269, allocations: 19.92 kB / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01269, allocations: 0 / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.01271, allocations: 8 kB / 280.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.01271, allocations: 7.984 kB / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01271, allocations: 0 / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.01296, allocations: 188.1 kB / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.01301, allocations: 35.72 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.01304, allocations: 11.98 kB / 281.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.0131, allocations: 4 kB / 281.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.01314, allocations: 7.984 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01316, allocations: 11.98 kB / 281.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.01328, allocations: 184.4 kB / 281.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01328, allocations: 4.031 kB / 281.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003162/0.01359, allocations: 83.8 kB / 281.5 MB, free: 8.445 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.000584/0.01418, allocations: 299.5 kB / 281.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.01437, allocations: 87.53 kB / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01437, allocations: 0 / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.01443, allocations: 43.59 kB / 281.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01463, allocations: 23.98 kB / 281.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.0152, allocations: 315 kB / 282.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.01525, allocations: 75.83 kB / 282.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.457e-05/0.01532, allocations: 25.45 kB / 282.3 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.01537, allocations: 16.5 kB / 282.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01537, allocations: 4 kB / 282.3 MB, free: 7.531 MB / 266.7 MB Notification: Performance of Templates: time 0.005999/0.02137, allocations: 3.254 MB / 285.6 MB, free: 4.305 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.4930241317488253]