Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.001578/0.001578, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002167/0.002167, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 47.92 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3448, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003498/0.3483, allocations: 1.677 MB / 434.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.3508, allocations: 1.278 MB / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.351, allocations: 0 / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.3513, allocations: 35.72 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3515, allocations: 39.77 kB / 435.4 MB, free: 3.906 MB / 334.1 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.0009651/0.3524, allocations: 311.1 kB / 435.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.3528, allocations: 203.5 kB / 435.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3529, allocations: 21.23 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.3532, allocations: 91.67 kB / 436 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.3539, allocations: 111.6 kB / 436.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.354, allocations: 12 kB / 436.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.3546, allocations: 327.4 kB / 436.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3547, allocations: 55.81 kB / 436.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3548, allocations: 67.59 kB / 436.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.3553, allocations: 336.1 kB / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3553, allocations: 0 / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3553, allocations: 0 / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3554, allocations: 0 / 436.9 MB, free: 2.406 MB / 334.1 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.001289/0.3566, allocations: 496.9 kB / 437.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3567, allocations: 8.031 kB / 437.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.3569, allocations: 28.8 kB / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.3574, allocations: 219 kB / 437.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3574, allocations: 8.375 kB / 437.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.3575, allocations: 12.12 kB / 437.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3577, allocations: 103.6 kB / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3577, allocations: 0 / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3577, allocations: 3.984 kB / 437.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.3577, allocations: 4 kB / 437.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.358, allocations: 87.8 kB / 437.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009857/0.3589, allocations: 423.6 kB / 438.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.3592, allocations: 118.5 kB / 438.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3594, allocations: 56.86 kB / 438.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3594, allocations: 4 kB / 438.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.3596, allocations: 123.3 kB / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.3596, allocations: 0 / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005535/0.3602, allocations: 237.5 kB / 438.8 MB, free: 388 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.3602, allocations: 55.41 kB / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.3607, allocations: 239.8 kB / 439.1 MB, free: 72 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.3607, allocations: 37.69 kB / 439.1 MB, free: 28 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3608, allocations: 116.1 kB / 439.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.3609, allocations: 51.77 kB / 439.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.361, allocations: 45.7 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3612, allocations: 330.8 kB / 439.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3613, allocations: 84.03 kB / 439.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.3615, allocations: 115.2 kB / 439.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.3618, allocations: 185.6 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3618, allocations: 0 / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004619/0.3623, allocations: 249.4 kB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3623, allocations: 4 kB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3623, allocations: 3.938 kB / 440.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3624, allocations: 0 / 440.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.3626, allocations: 39.91 kB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3626, allocations: 0 / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3628, allocations: 35.83 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3628, allocations: 8 kB / 440.4 MB, free: 14.75 MB / 350.1 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.0001532/0.3629, allocations: 137.8 kB / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.363, allocations: 15.91 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.363, allocations: 25.41 kB / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.363, allocations: 0 / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.3631, allocations: 7.984 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3631, allocations: 4 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.3634, allocations: 208.6 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3634, allocations: 0 / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3635, allocations: 15.98 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3635, allocations: 0 / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.3635, allocations: 11.92 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3635, allocations: 0 / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3635, allocations: 4 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.3641, allocations: 276.6 kB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.742e-05/0.3641, allocations: 39.8 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.3642, allocations: 7.938 kB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3644, allocations: 19.97 kB / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.3644, allocations: 7.984 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3644, allocations: 4 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.3648, allocations: 189.5 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3648, allocations: 0 / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004421/0.3652, allocations: 87.8 kB / 441.4 MB, free: 13.64 MB / 350.1 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.0007218/0.3659, allocations: 271.2 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.3664, allocations: 161.9 kB / 441.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3664, allocations: 4 kB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3665, allocations: 55.97 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3668, allocations: 23.08 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.3677, allocations: 395.4 kB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3681, allocations: 0.728 MB / 443 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.3682, allocations: 15.44 kB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3682, allocations: 0 / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Templates: time 0.007625/0.3758, allocations: 3.566 MB / 446.6 MB, free: 8.406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.372190830064937]