Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 104 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 189.9 kB / 22.75 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 51.92 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2612, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002926/0.2642, allocations: 1.653 MB / 422.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2663, allocations: 1.214 MB / 424.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.2664, allocations: 4 kB / 424.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.2667, allocations: 35.73 kB / 424.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2668, allocations: 43.75 kB / 424.2 MB, free: 12.2 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0007479/0.2676, allocations: 279.2 kB / 424.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.2678, allocations: 183.5 kB / 424.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.2679, allocations: 13.06 kB / 424.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2681, allocations: 83.73 kB / 424.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.2687, allocations: 118.7 kB / 424.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2687, allocations: 16 kB / 424.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.2692, allocations: 279.5 kB / 425.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2693, allocations: 55.81 kB / 425.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2694, allocations: 67.58 kB / 425.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.2699, allocations: 321.3 kB / 425.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2699, allocations: 0 / 425.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2699, allocations: 4 kB / 425.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2699, allocations: 0 / 425.6 MB, free: 10.81 MB / 334.1 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.001198/0.2711, allocations: 0.5605 MB / 426.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2711, allocations: 11.89 kB / 426.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.2713, allocations: 28.83 kB / 426.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.2718, allocations: 292.5 kB / 426.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2718, allocations: 4 kB / 426.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.2719, allocations: 12 kB / 426.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.2721, allocations: 97.62 kB / 426.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2721, allocations: 0 / 426.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2721, allocations: 0 / 426.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.2721, allocations: 4 kB / 426.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2723, allocations: 79.94 kB / 426.7 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.2732, allocations: 456.5 kB / 427.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.2734, allocations: 118.5 kB / 427.3 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2736, allocations: 56.81 kB / 427.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.2736, allocations: 8 kB / 427.3 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.2738, allocations: 119.4 kB / 427.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2738, allocations: 0 / 427.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004899/0.2743, allocations: 224.9 kB / 427.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2743, allocations: 67.31 kB / 427.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.2748, allocations: 259.6 kB / 428 MB, free: 8.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2748, allocations: 37.7 kB / 428 MB, free: 8.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.2749, allocations: 120.2 kB / 428.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.2749, allocations: 43.64 kB / 428.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.275, allocations: 45.7 kB / 428.2 MB, free: 8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2752, allocations: 330.8 kB / 428.6 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.2753, allocations: 83.94 kB / 428.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.2755, allocations: 105.7 kB / 428.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.2758, allocations: 181.8 kB / 428.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2758, allocations: 0 / 428.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004452/0.2763, allocations: 253.3 kB / 429.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2763, allocations: 4 kB / 429.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2763, allocations: 0 / 429.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2763, allocations: 8.031 kB / 429.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.2765, allocations: 35.91 kB / 429.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2765, allocations: 0 / 429.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.2767, allocations: 27.88 kB / 429.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.2767, allocations: 11.98 kB / 429.3 MB, free: 6.953 MB / 334.1 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.0001323/0.2768, allocations: 133.8 kB / 429.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.2769, allocations: 27.8 kB / 429.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.2769, allocations: 21.53 kB / 429.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2769, allocations: 7.938 kB / 429.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2769, allocations: 0 / 429.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2769, allocations: 3.984 kB / 429.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.2772, allocations: 233.6 kB / 429.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.2772, allocations: 7.922 kB / 429.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.2773, allocations: 15.98 kB / 429.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2773, allocations: 3.938 kB / 429.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2773, allocations: 7.984 kB / 429.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2773, allocations: 96 / 429.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.2773, allocations: 11.94 kB / 429.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.2778, allocations: 273 kB / 430 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2779, allocations: 116.9 kB / 430.1 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.278, allocations: 4 kB / 430.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2782, allocations: 23.97 kB / 430.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.2782, allocations: 12.05 kB / 430.1 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2782, allocations: 4 kB / 430.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.2785, allocations: 184.2 kB / 430.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2785, allocations: 0 / 430.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000371/0.2789, allocations: 83.8 kB / 430.4 MB, free: 5.695 MB / 334.1 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.0006304/0.2795, allocations: 260.9 kB / 430.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.2799, allocations: 163 kB / 430.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2799, allocations: 64 / 430.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.28, allocations: 63.91 kB / 430.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.2803, allocations: 23.92 kB / 430.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.281, allocations: 395.4 kB / 431.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2814, allocations: 0.7358 MB / 432 MB, free: 4.047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.2814, allocations: 15.44 kB / 432 MB, free: 4.031 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2814, allocations: 0 / 432 MB, free: 4.031 MB / 334.1 MB Notification: Performance of Templates: time 0.006518/0.288, allocations: 3.509 MB / 435.5 MB, free: 0.5234 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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