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.0007834/0.0007834, allocations: 84 kB / 21.43 MB, free: 3.129 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.003208/0.003208, allocations: 145.8 kB / 24.68 MB, free: 9.426 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.8102/0.8102, allocations: 173.4 MB / 201.2 MB, free: 9.449 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.1.|Hw.x_scaled.2.",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.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 3.938 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.601e-05, allocations: 9.656 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001899/0.001925, allocations: 1.611 MB / 321.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.003314, allocations: 1.15 MB / 322.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.651e-05/0.003391, allocations: 0 / 322.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.003695, allocations: 31.72 kB / 322.5 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.00378, allocations: 39.77 kB / 322.5 MB, free: 2.996 MB / 282.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.000542/0.004322, allocations: 322.8 kB / 322.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.004498, allocations: 155.6 kB / 323 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.004587, allocations: 9.297 kB / 323 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.004716, allocations: 99.7 kB / 323.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.005142, allocations: 91.75 kB / 323.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.005176, allocations: 12 kB / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.005497, allocations: 307.2 kB / 323.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.005573, allocations: 55.81 kB / 323.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.005622, allocations: 47.83 kB / 323.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.006024, allocations: 367 kB / 324 MB, free: 1.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006026, allocations: 0 / 324 MB, free: 1.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.006027, allocations: 0 / 324 MB, free: 1.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.006031, allocations: 0 / 324 MB, free: 1.555 MB / 282.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.0007439/0.006775, allocations: 496.8 kB / 324.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.006806, allocations: 12.03 kB / 324.5 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.00693, allocations: 28.83 kB / 324.5 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.007199, allocations: 218.3 kB / 324.7 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.007213, allocations: 4.375 kB / 324.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.007238, allocations: 11.94 kB / 324.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.007382, allocations: 104.8 kB / 324.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.007392, allocations: 8 kB / 324.8 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.007403, allocations: 7.938 kB / 324.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.007407, allocations: 0 / 324.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.007524, allocations: 75.94 kB / 324.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.008015, allocations: 360.3 kB / 325.3 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.008179, allocations: 122.4 kB / 325.4 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.008251, allocations: 56.83 kB / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.008262, allocations: 0 / 325.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.008406, allocations: 115.3 kB / 325.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.61e-07/0.008407, allocations: 0 / 325.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003215/0.008729, allocations: 236.5 kB / 325.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.008764, allocations: 59.41 kB / 325.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.00899, allocations: 255.8 kB / 326.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.009028, allocations: 37.69 kB / 326.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.009084, allocations: 120.1 kB / 326.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.009119, allocations: 51.72 kB / 326.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.009171, allocations: 41.7 kB / 326.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.009249, allocations: 334.8 kB / 326.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.335e-05/0.009342, allocations: 83.95 kB / 326.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.009451, allocations: 106.3 kB / 326.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.009663, allocations: 189.7 kB / 327 MB, free: 14.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009665, allocations: 0 / 327 MB, free: 14.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002455/0.00991, allocations: 249.5 kB / 327.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.009924, allocations: 6.656 kB / 327.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.00993, allocations: 3.938 kB / 327.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.009946, allocations: 7.938 kB / 327.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.01004, allocations: 27.97 kB / 327.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01005, allocations: 4 kB / 327.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.01014, allocations: 35.91 kB / 327.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01015, allocations: 4 kB / 327.4 MB, free: 13.97 MB / 298.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 8.694e-05/0.01023, allocations: 149.5 kB / 327.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.01025, allocations: 11.91 kB / 327.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.01028, allocations: 17.56 kB / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01029, allocations: 15.86 kB / 327.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01029, allocations: 0 / 327.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01029, allocations: 3.984 kB / 327.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.01043, allocations: 169.2 kB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01043, allocations: 4 kB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.01049, allocations: 12 kB / 327.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01049, allocations: 3.984 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.0105, allocations: 8 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01051, allocations: 3.984 kB / 327.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01051, allocations: 3.938 kB / 327.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.0108, allocations: 272.8 kB / 328 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.01084, allocations: 35.84 kB / 328.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.01087, allocations: 4 kB / 328.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.01094, allocations: 24.03 kB / 328.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01098, allocations: 11.92 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.01098, allocations: 7.938 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.01114, allocations: 185.4 kB / 328.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 328.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.01138, allocations: 87.8 kB / 328.4 MB, free: 12.91 MB / 298.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.0004318/0.01181, allocations: 274 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.01205, allocations: 162.9 kB / 328.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01205, allocations: 4.062 kB / 328.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.01222, allocations: 59.95 kB / 328.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.0124, allocations: 15.94 kB / 328.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.01297, allocations: 384 kB / 329.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.228e-05/0.01304, allocations: 115.4 kB / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.01309, allocations: 24.48 kB / 329.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01309, allocations: 0 / 329.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of Templates: time 0.004168/0.01726, allocations: 3.611 MB / 333 MB, free: 8.254 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.358068905770779]