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.001399/0.001399, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001698/0.001698, allocations: 165 kB / 24.56 MB, free: 12 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.089/1.089, allocations: 177.1 MB / 205 MB, free: 5.598 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.964e-06/1.964e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.845e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003069/0.003097, allocations: 1.702 MB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.005242, allocations: 1.208 MB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.005354, allocations: 4 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.005742, allocations: 39.7 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.005875, allocations: 39.7 kB / 276 MB, free: 14.5 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.0009067/0.006782, allocations: 326.8 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.00703, allocations: 151.5 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.007129, allocations: 13.31 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.00737, allocations: 99.7 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.007868, allocations: 98.67 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.007918, allocations: 12 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.008465, allocations: 311.2 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.008559, allocations: 55.81 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.008637, allocations: 43.89 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.009231, allocations: 338.9 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.009235, allocations: 0 / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009236, allocations: 4 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.009242, allocations: 0 / 277.4 MB, free: 13.08 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.0009948/0.01024, allocations: 0.5539 MB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.01028, allocations: 12.03 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.01052, allocations: 36.78 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.01085, allocations: 213.8 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.01087, allocations: 8.375 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.0109, allocations: 4.375 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.01107, allocations: 70.2 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.01108, allocations: 3.938 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.01109, allocations: 0 / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.0111, allocations: 0 / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.01119, allocations: 31.97 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006948/0.01189, allocations: 407.4 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.01206, allocations: 66.98 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.01212, allocations: 23.67 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.01214, allocations: 0 / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.01229, allocations: 92.69 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.01229, allocations: 0 / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003382/0.01263, allocations: 141.6 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.01267, allocations: 63.34 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.01292, allocations: 263.8 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.01295, allocations: 33.7 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.01304, allocations: 170.8 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.01309, allocations: 39.84 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.01318, allocations: 51.34 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.01336, allocations: 0.5001 MB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.01346, allocations: 27.98 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.657e-05/0.01355, allocations: 59.34 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.01372, allocations: 96.11 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01372, allocations: 0 / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002704/0.01399, allocations: 161.4 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.01401, allocations: 4 kB / 280.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01402, allocations: 0 / 280.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01403, allocations: 4 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.01422, allocations: 39.92 kB / 280.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01422, allocations: 0 / 280.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01433, allocations: 27.75 kB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.01435, allocations: 8 kB / 280.6 MB, free: 9.688 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.0001227/0.01447, allocations: 188.5 kB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01451, allocations: 19.91 kB / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.01455, allocations: 25.45 kB / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01455, allocations: 0 / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01456, allocations: 0 / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.01456, allocations: 3.938 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.01473, allocations: 164.5 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01474, allocations: 0 / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.01482, allocations: 15.98 kB / 281 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01483, allocations: 4 kB / 281 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01484, allocations: 4 kB / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01485, allocations: 0 / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01485, allocations: 0 / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.01514, allocations: 187.7 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.01521, allocations: 39.77 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.01524, allocations: 8 kB / 281.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.01532, allocations: 7.984 kB / 281.2 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.01537, allocations: 7.984 kB / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01538, allocations: 0 / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.01552, allocations: 200.4 kB / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01552, allocations: 0 / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.0159, allocations: 87.73 kB / 281.5 MB, free: 8.68 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.0006703/0.01657, allocations: 293.1 kB / 281.8 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.0168, allocations: 90.95 kB / 281.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0168, allocations: 3.938 kB / 281.9 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.01687, allocations: 35.67 kB / 281.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.0172, allocations: 31.38 kB / 282 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.01783, allocations: 318.8 kB / 282.3 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.729e-05/0.01788, allocations: 83.75 kB / 282.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.01797, allocations: 29.44 kB / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.01802, allocations: 16.5 kB / 282.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01802, allocations: 0 / 282.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of Templates: time 0.008443/0.02647, allocations: 3.551 MB / 285.9 MB, free: 4.242 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.453330357093364]