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.00158/0.00158, allocations: 116 kB / 18.46 MB, free: 4.562 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.001901/0.001901, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.544/1.544, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001605/0.001605, allocations: 51.92 kB / 374.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 53.34 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003238/0.106, allocations: 1.667 MB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.1083, allocations: 1.263 MB / 430.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1085, allocations: 4 kB / 430.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1088, allocations: 31.72 kB / 430.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1089, allocations: 39.77 kB / 430.5 MB, free: 1.254 MB / 350.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.0008477/0.1098, allocations: 291.2 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.1101, allocations: 187.5 kB / 431 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.1102, allocations: 13.11 kB / 431 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.1104, allocations: 83.73 kB / 431.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.1111, allocations: 115.8 kB / 431.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.1111, allocations: 15.94 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.1116, allocations: 283.5 kB / 431.5 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1117, allocations: 59.8 kB / 431.5 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.1118, allocations: 67.53 kB / 431.6 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2046/0.3164, allocations: 323.5 kB / 431.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3164, allocations: 0.9062 kB / 431.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3164, allocations: 0.7031 kB / 431.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3164, allocations: 3.562 kB / 431.9 MB, free: 8.41 MB / 350.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.001473/0.3179, allocations: 0.5594 MB / 432.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.318, allocations: 9.688 kB / 432.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.3182, allocations: 32.44 kB / 432.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.3187, allocations: 269.6 kB / 432.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.3188, allocations: 7.969 kB / 432.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.3188, allocations: 10.12 kB / 432.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.3191, allocations: 105.1 kB / 432.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3191, allocations: 1.594 kB / 432.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3191, allocations: 4.469 kB / 432.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3191, allocations: 1.219 kB / 432.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.3193, allocations: 77.23 kB / 433 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.3202, allocations: 455.6 kB / 433.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.3205, allocations: 121.6 kB / 433.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3206, allocations: 55.19 kB / 433.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.3206, allocations: 1.219 kB / 433.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.3208, allocations: 118.3 kB / 433.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.3208, allocations: 0 / 433.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005051/0.3213, allocations: 237.3 kB / 433.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3214, allocations: 59.39 kB / 434 MB, free: 7.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.3218, allocations: 249.1 kB / 434.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3218, allocations: 38.95 kB / 434.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.3218, allocations: 116 kB / 434.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.3219, allocations: 53.89 kB / 434.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.322, allocations: 42.41 kB / 434.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.322, allocations: 334.5 kB / 434.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3222, allocations: 84.17 kB / 434.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3223, allocations: 110 kB / 435 MB, free: 6.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.3227, allocations: 179.6 kB / 435.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3227, allocations: 0 / 435.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004381/0.3231, allocations: 255.6 kB / 435.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3232, allocations: 5.406 kB / 435.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3232, allocations: 3.125 kB / 435.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3232, allocations: 5.375 kB / 435.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3234, allocations: 34.05 kB / 435.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.3234, allocations: 2.312 kB / 435.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3236, allocations: 34.59 kB / 435.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3236, allocations: 4.594 kB / 435.5 MB, free: 6.586 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.0001125/0.3237, allocations: 139.2 kB / 435.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.3237, allocations: 16.06 kB / 435.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.3238, allocations: 21.59 kB / 435.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3238, allocations: 3.938 kB / 435.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3238, allocations: 3.766 kB / 435.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3238, allocations: 0 / 435.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.324, allocations: 240.5 kB / 435.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.324, allocations: 0 / 435.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3241, allocations: 20.25 kB / 436 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3241, allocations: 0.5156 kB / 436 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3242, allocations: 6.5 kB / 436 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3242, allocations: 5.375 kB / 436 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3242, allocations: 0 / 436 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.3246, allocations: 274.7 kB / 436.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/0.3247, allocations: 117 kB / 436.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.3248, allocations: 10.86 kB / 436.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3249, allocations: 28.5 kB / 436.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.325, allocations: 9.156 kB / 436.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.325, allocations: 4 kB / 436.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.3253, allocations: 186.8 kB / 436.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3253, allocations: 0 / 436.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.3258, allocations: 84.77 kB / 436.7 MB, free: 5.977 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.0007964/0.3266, allocations: 270.7 kB / 436.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.327, allocations: 164.8 kB / 437.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.327, allocations: 0 / 437.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3271, allocations: 58.45 kB / 437.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.3274, allocations: 16.64 kB / 437.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.3282, allocations: 383.3 kB / 437.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3283, allocations: 0.7266 MB / 438.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.3284, allocations: 21.67 kB / 438.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3284, allocations: 0 / 438.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of Templates: time 0.008804/0.3372, allocations: 3.557 MB / 441.8 MB, free: 4.648 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.353472315997351]