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.0009533/0.0009533, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004074/0.004074, allocations: 163.2 kB / 24.7 MB, free: 8.891 MB / 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 0.8988/0.8988, allocations: 177.1 MB / 205 MB, free: 5.738 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.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.653e-06/1.653e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.065e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001898/0.001919, allocations: 1.652 MB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.003308, allocations: 1.196 MB / 328.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.003377, allocations: 0 / 328.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.003689, allocations: 35.72 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.003773, allocations: 39.77 kB / 328.8 MB, free: 12.48 MB / 298.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.0005092/0.004282, allocations: 322.8 kB / 329.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004446, allocations: 147.6 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.004539, allocations: 13.25 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.0047, allocations: 91.78 kB / 329.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.005078, allocations: 99.73 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.005105, allocations: 12 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.005409, allocations: 311.2 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.005481, allocations: 55.81 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.005531, allocations: 39.84 kB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.005914, allocations: 375 kB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005917, allocations: 0 / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.005918, allocations: 0 / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.005923, allocations: 0 / 330.2 MB, free: 11.04 MB / 298.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.0007185/0.006642, allocations: 496.8 kB / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.006673, allocations: 8.031 kB / 330.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.006797, allocations: 32.78 kB / 330.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.007067, allocations: 222.3 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.007082, allocations: 8.375 kB / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.007104, allocations: 8.359 kB / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.007242, allocations: 106.2 kB / 331.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.007252, allocations: 7.875 kB / 331.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.007262, allocations: 0 / 331.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.007266, allocations: 0 / 331.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.007379, allocations: 83.88 kB / 331.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.007854, allocations: 368.3 kB / 331.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.008026, allocations: 118.5 kB / 331.6 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.008087, allocations: 52.83 kB / 331.7 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.0081, allocations: 4 kB / 331.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.008237, allocations: 119.4 kB / 331.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.008238, allocations: 0 / 331.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003081/0.008546, allocations: 233.5 kB / 332 MB, free: 9.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.008583, allocations: 63.39 kB / 332.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.00881, allocations: 251.8 kB / 332.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.008835, allocations: 37.7 kB / 332.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.008894, allocations: 112.3 kB / 332.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.008929, allocations: 47.58 kB / 332.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.00898, allocations: 49.7 kB / 332.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.00906, allocations: 330.8 kB / 332.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.504e-05/0.009155, allocations: 87.81 kB / 333 MB, free: 8.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.009258, allocations: 104.1 kB / 333.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.00944, allocations: 191 kB / 333.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009443, allocations: 0 / 333.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002515/0.009694, allocations: 257.3 kB / 333.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.009708, allocations: 11.94 kB / 333.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009714, allocations: 0 / 333.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.009725, allocations: 4.031 kB / 333.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.00982, allocations: 31.92 kB / 333.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.009825, allocations: 0 / 333.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.009911, allocations: 31.86 kB / 333.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.009922, allocations: 8 kB / 333.6 MB, free: 7.449 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.522e-05/0.01001, allocations: 137.8 kB / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.01003, allocations: 15.91 kB / 333.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.01006, allocations: 25.45 kB / 333.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01006, allocations: 4 kB / 333.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01006, allocations: 3.938 kB / 333.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01006, allocations: 3.938 kB / 333.8 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.01019, allocations: 173.2 kB / 334 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01019, allocations: 0 / 334 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.01025, allocations: 15.98 kB / 334 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.01025, allocations: 96 / 334 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.01026, allocations: 3.938 kB / 334 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.01026, allocations: 0 / 334 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01027, allocations: 4 kB / 334 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.01056, allocations: 284.8 kB / 334.3 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.0106, allocations: 31.81 kB / 334.3 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01062, allocations: 8 kB / 334.3 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.0107, allocations: 19.97 kB / 334.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.01074, allocations: 11.98 kB / 334.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01075, allocations: 0 / 334.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.01091, allocations: 193.4 kB / 334.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01091, allocations: 0 / 334.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.01113, allocations: 95.8 kB / 334.6 MB, free: 6.387 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.0003967/0.01152, allocations: 278.3 kB / 334.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.01176, allocations: 163.8 kB / 335.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01177, allocations: 0 / 335.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.01183, allocations: 55.91 kB / 335.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.01198, allocations: 26.73 kB / 335.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.01245, allocations: 364.1 kB / 335.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.982e-05/0.01252, allocations: 119.4 kB / 335.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.01257, allocations: 24.5 kB / 335.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01257, allocations: 3.938 kB / 335.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of Templates: time 0.00381/0.01638, allocations: 3.635 MB / 339.3 MB, free: 1.707 MB / 298.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=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/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.72074284311384]