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.001261/0.001261, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001117/0.001117, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.391e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002207/0.002231, allocations: 1.703 MB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.003949, allocations: 1.216 MB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.00403, allocations: 0 / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.004357, allocations: 39.66 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.789e-05/0.004445, allocations: 35.77 kB / 276 MB, free: 14.53 MB / 266.7 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.0005377/0.004983, allocations: 326.8 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.005156, allocations: 151.5 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.005252, allocations: 13.31 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.005422, allocations: 99.7 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.005825, allocations: 100.6 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.005855, allocations: 12 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.006184, allocations: 307.3 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.006262, allocations: 59.75 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.006322, allocations: 43.89 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.006703, allocations: 338.9 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006705, allocations: 0 / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006706, allocations: 0 / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.006711, allocations: 4 kB / 277.4 MB, free: 13.11 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.0006958/0.007406, allocations: 0.5617 MB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.007442, allocations: 8.031 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.007622, allocations: 36.78 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.007872, allocations: 217.8 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.007886, allocations: 4.375 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.007914, allocations: 8.375 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.008036, allocations: 62.22 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.008048, allocations: 7.922 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.008059, allocations: 0 / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.008066, allocations: 4 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.008132, allocations: 27.97 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.00865, allocations: 407.4 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.00878, allocations: 66.98 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.008822, allocations: 31.42 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.008831, allocations: 4 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.008943, allocations: 85.06 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.008944, allocations: 0 / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002526/0.009197, allocations: 137.6 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.009233, allocations: 71.34 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.009402, allocations: 255.8 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.009426, allocations: 45.69 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.009501, allocations: 158.8 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.009536, allocations: 43.83 kB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.009593, allocations: 55.34 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.009705, allocations: 0.5001 MB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.009764, allocations: 35.97 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.009831, allocations: 59.34 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.009944, allocations: 92.11 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.009947, allocations: 4 kB / 280.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001921/0.01014, allocations: 153.4 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01015, allocations: 8 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01016, allocations: 0 / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.01017, allocations: 0 / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01031, allocations: 43.91 kB / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.01031, allocations: 0 / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.01039, allocations: 31.75 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.0104, allocations: 4 kB / 280.6 MB, free: 9.703 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.0001056/0.01051, allocations: 184.5 kB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.01053, allocations: 15.91 kB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.01057, allocations: 21.45 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.01058, allocations: 4 kB / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.01058, allocations: 0 / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01059, allocations: 3.938 kB / 280.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.01073, allocations: 164.5 kB / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01073, allocations: 0 / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.0108, allocations: 15.98 kB / 281 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.0108, allocations: 0 / 281 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.01082, allocations: 8 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01082, allocations: 0 / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.01082, allocations: 3.984 kB / 281 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.01108, allocations: 188.2 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.01113, allocations: 31.78 kB / 281.2 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.01115, allocations: 4 kB / 281.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.01121, allocations: 11.98 kB / 281.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.01127, allocations: 7.984 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01129, allocations: 7.984 kB / 281.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.01144, allocations: 188.4 kB / 281.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01144, allocations: 4 kB / 281.4 MB, free: 8.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.01167, allocations: 95.72 kB / 281.5 MB, free: 8.695 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.0004661/0.01214, allocations: 285.8 kB / 281.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.01232, allocations: 90.77 kB / 281.9 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01232, allocations: 7.938 kB / 281.9 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.01238, allocations: 43.64 kB / 281.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01257, allocations: 24.11 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.01304, allocations: 318.8 kB / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01308, allocations: 79.77 kB / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.01314, allocations: 29.45 kB / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.01319, allocations: 24.48 kB / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01319, allocations: 0 / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of Templates: time 0.00543/0.01862, allocations: 3.243 MB / 285.6 MB, free: 4.566 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.653487044852227]