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.001753/0.001753, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002015/0.002015, allocations: 169.3 kB / 24.28 MB, free: 152 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.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.392e-06/1.392e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.772e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003068/0.003096, allocations: 1.672 MB / 274 MB, free: 160 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.005459, allocations: 1.204 MB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.005538, allocations: 4 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.005883, allocations: 35.72 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.006014, allocations: 39.75 kB / 275.3 MB, free: 14.86 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.0008614/0.006875, allocations: 326.7 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.007123, allocations: 147.6 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.007208, allocations: 9.312 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.007534, allocations: 107.7 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.008145, allocations: 92.09 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.008186, allocations: 12 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005665/0.008753, allocations: 307.3 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.008857, allocations: 59.75 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.06e-05/0.008938, allocations: 43.83 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.009554, allocations: 370.9 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.009557, allocations: 0 / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009558, allocations: 0 / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.009564, allocations: 4 kB / 276.7 MB, free: 13.42 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.001173/0.01074, allocations: 0.5614 MB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.01078, allocations: 8.031 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.01103, allocations: 40.78 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.01145, allocations: 209.1 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01147, allocations: 4.375 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.0115, allocations: 8.375 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.01171, allocations: 74.16 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.01173, allocations: 3.938 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.01174, allocations: 0 / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01174, allocations: 0 / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.01191, allocations: 51.97 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.01283, allocations: 407.6 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.01307, allocations: 94.91 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.01317, allocations: 31.67 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.01319, allocations: 0 / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.01339, allocations: 101 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.01339, allocations: 4 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004638/0.01386, allocations: 161.6 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.01392, allocations: 67.39 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.01431, allocations: 291.8 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.01435, allocations: 37.7 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.01449, allocations: 170.9 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.01456, allocations: 43.66 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01467, allocations: 67.33 kB / 279.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002836/0.01495, allocations: 0.5079 MB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.01508, allocations: 43.97 kB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.01523, allocations: 75.34 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.01548, allocations: 120.1 kB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01549, allocations: 3.938 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003898/0.01588, allocations: 181.4 kB / 280 MB, free: 9.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01589, allocations: 4 kB / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.0159, allocations: 0 / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01592, allocations: 0 / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.01613, allocations: 51.94 kB / 280.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01614, allocations: 0 / 280.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.01628, allocations: 23.81 kB / 280.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.01631, allocations: 8 kB / 280.1 MB, free: 9.785 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.0001714/0.01648, allocations: 176.6 kB / 280.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.01652, allocations: 19.84 kB / 280.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.01658, allocations: 21.45 kB / 280.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01658, allocations: 0 / 280.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01658, allocations: 0 / 280.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01659, allocations: 7.938 kB / 280.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.01683, allocations: 180.5 kB / 280.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01683, allocations: 4 kB / 280.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.01695, allocations: 11.98 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.01696, allocations: 4 kB / 280.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.01698, allocations: 4 kB / 280.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01698, allocations: 3.984 kB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01699, allocations: 0 / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.01745, allocations: 219.9 kB / 280.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.01755, allocations: 39.77 kB / 280.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.01758, allocations: 8.031 kB / 280.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01771, allocations: 11.98 kB / 280.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.01776, allocations: 7.984 kB / 280.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01778, allocations: 4 kB / 280.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.01804, allocations: 216.3 kB / 281 MB, free: 8.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01804, allocations: 0 / 281 MB, free: 8.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.01845, allocations: 91.73 kB / 281.1 MB, free: 8.711 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.000843/0.01929, allocations: 280.6 kB / 281.4 MB, free: 8.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.01962, allocations: 115.6 kB / 281.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01962, allocations: 4.062 kB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.01974, allocations: 55.59 kB / 281.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.02, allocations: 25.39 kB / 281.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.02073, allocations: 326.9 kB / 281.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.02086, allocations: 119.4 kB / 282 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.06e-05/0.02095, allocations: 29.45 kB / 282.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.02102, allocations: 20.5 kB / 282.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02102, allocations: 0 / 282.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of Templates: time 0.008474/0.02949, allocations: 3.247 MB / 285.3 MB, free: 4.508 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","/var/lib/jenkins/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: 5.239364146022126]