Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000961/0.000961, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.052/1.052, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.585e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00184/0.001856, allocations: 1.698 MB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.003345, allocations: 1.223 MB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.003424, allocations: 0 / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.003737, allocations: 35.72 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.00383, allocations: 39.77 kB / 275.9 MB, free: 14.43 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006475/0.004478, allocations: 330.7 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.004668, allocations: 147.6 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.004744, allocations: 5.312 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.004908, allocations: 99.75 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.005251, allocations: 100.4 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.005285, allocations: 12 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.005654, allocations: 311.2 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.005725, allocations: 55.81 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.005779, allocations: 47.83 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.006162, allocations: 327 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006164, allocations: 0 / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006165, allocations: 0 / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.006169, allocations: 0 / 277.3 MB, free: 13.03 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.0007353/0.006904, allocations: 0.5694 MB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.006944, allocations: 11.98 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.007125, allocations: 36.78 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.007401, allocations: 205.9 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.007419, allocations: 4.375 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.007445, allocations: 12.38 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.007594, allocations: 73.09 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007604, allocations: 192 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.007617, allocations: 4.312 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.007625, allocations: 7.938 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.067e-05/0.007695, allocations: 27.97 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.008223, allocations: 395.5 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.008365, allocations: 70.97 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.008412, allocations: 27.67 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.008423, allocations: 4 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.00855, allocations: 80.97 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.008552, allocations: 0 / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002812/0.008834, allocations: 145.7 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.008883, allocations: 59.41 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.009071, allocations: 259.8 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.009094, allocations: 33.7 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.009174, allocations: 170.8 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.009213, allocations: 51.75 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.00928, allocations: 55.34 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.009408, allocations: 0.5001 MB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.009467, allocations: 27.98 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.009535, allocations: 55.34 kB / 280.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.009647, allocations: 91.52 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.00965, allocations: 3.938 kB / 280.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001852/0.009835, allocations: 161.3 kB / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.009848, allocations: 12.03 kB / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.009854, allocations: 0 / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.009866, allocations: 0 / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.009989, allocations: 35.98 kB / 280.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.009996, allocations: 4 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.01007, allocations: 23.88 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01008, allocations: 4 kB / 280.5 MB, free: 9.621 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.0001015/0.01018, allocations: 188.4 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.0102, allocations: 15.91 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.01024, allocations: 21.47 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01024, allocations: 0 / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01025, allocations: 3.984 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01025, allocations: 4 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.0104, allocations: 172.5 kB / 280.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.0104, allocations: 0 / 280.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.01046, allocations: 19.92 kB / 280.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.01046, allocations: 0 / 280.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01048, allocations: 4 kB / 280.9 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01048, allocations: 0 / 280.9 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01048, allocations: 4 kB / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.01073, allocations: 187.8 kB / 281.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.01078, allocations: 39.77 kB / 281.1 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.0108, allocations: 4 kB / 281.2 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.01085, allocations: 7.984 kB / 281.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.01088, allocations: 15.92 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01089, allocations: 4 kB / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.01101, allocations: 188.4 kB / 281.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01101, allocations: 0 / 281.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.01126, allocations: 91.8 kB / 281.5 MB, free: 8.605 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.000494/0.01176, allocations: 288.2 kB / 281.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01191, allocations: 91.52 kB / 281.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01191, allocations: 0 / 281.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.01196, allocations: 39.61 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.01211, allocations: 27.42 kB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.01248, allocations: 310.9 kB / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.01252, allocations: 75.83 kB / 282.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.01257, allocations: 33.5 kB / 282.3 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.01261, allocations: 24.5 kB / 282.3 MB, free: 7.695 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01261, allocations: 0 / 282.3 MB, free: 7.695 MB / 266.7 MB Notification: Performance of Templates: time 0.005079/0.01769, allocations: 3.552 MB / 285.9 MB, free: 4.164 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.591527115087956]