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.001326/0.001326, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001557/0.001557, allocations: 166.4 kB / 25.61 MB, free: 8.594 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.8729/0.8729, allocations: 177.1 MB / 206 MB, free: 4.48 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.413e-06/1.413e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.691e-05, allocations: 2.312 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002771/0.002798, allocations: 1.671 MB / 275.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.004647, allocations: 1.214 MB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.004741, allocations: 2.406 kB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.005039, allocations: 35.72 kB / 277.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.931e-05/0.005139, allocations: 39.7 kB / 277.2 MB, free: 1.465 MB / 250.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.003774/0.008913, allocations: 326.8 kB / 277.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.009137, allocations: 151.6 kB / 277.6 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.009217, allocations: 13.25 kB / 277.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.009405, allocations: 95.77 kB / 277.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.009832, allocations: 99.97 kB / 277.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.00987, allocations: 12 kB / 277.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.01024, allocations: 311.2 kB / 278.1 MB, free: 492 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.01031, allocations: 55.81 kB / 278.2 MB, free: 436 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.01036, allocations: 47.83 kB / 278.2 MB, free: 388 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.01075, allocations: 335 kB / 278.6 MB, free: 52 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01076, allocations: 7.875 kB / 278.6 MB, free: 44 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01076, allocations: 0 / 278.6 MB, free: 44 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.01076, allocations: 0 / 278.6 MB, free: 44 kB / 250.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.000621/0.01138, allocations: 0.5423 MB / 279.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.01141, allocations: 16.03 kB / 279.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.01155, allocations: 32.78 kB / 279.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.01176, allocations: 201.9 kB / 279.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.01177, allocations: 4.375 kB / 279.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.01179, allocations: 12.38 kB / 279.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.571e-05/0.01188, allocations: 62.16 kB / 279.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.01189, allocations: 3.938 kB / 279.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.0119, allocations: 0 / 279.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.0119, allocations: 0 / 279.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.01195, allocations: 27.97 kB / 279.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.01234, allocations: 356.2 kB / 279.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.605e-05/0.01244, allocations: 62.97 kB / 279.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.01247, allocations: 23.62 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.01247, allocations: 3.938 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.621e-05/0.01257, allocations: 89 kB / 280 MB, free: 14.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.01257, allocations: 0 / 280 MB, free: 14.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001982/0.01277, allocations: 132.5 kB / 280.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.0128, allocations: 59.39 kB / 280.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.01294, allocations: 251.7 kB / 280.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01296, allocations: 41.69 kB / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.01302, allocations: 162.8 kB / 280.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.01305, allocations: 47.77 kB / 280.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.01311, allocations: 55.33 kB / 280.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01323, allocations: 0.5079 MB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.01327, allocations: 19.98 kB / 281.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.01332, allocations: 65.02 kB / 281.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.331e-05/0.0134, allocations: 81.03 kB / 281.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0134, allocations: 0 / 281.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001552/0.01356, allocations: 141 kB / 281.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.01357, allocations: 10.19 kB / 281.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01358, allocations: 3.984 kB / 281.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.01359, allocations: 0 / 281.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01369, allocations: 35.98 kB / 281.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.01369, allocations: 3.938 kB / 281.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.01376, allocations: 23.91 kB / 281.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01377, allocations: 15.88 kB / 281.6 MB, free: 12.78 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,whiteNoise.localSeed,globalSeed.seed,whiteNoise.actualGlobalSeed,globalSeed.id_impure,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.377e-05/0.01385, allocations: 168.5 kB / 281.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.01388, allocations: 15.91 kB / 281.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.01391, allocations: 25.45 kB / 281.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01391, allocations: 0 / 281.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01391, allocations: 0 / 281.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01391, allocations: 0 / 281.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.01403, allocations: 145.1 kB / 282 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01403, allocations: 4 kB / 282 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.01408, allocations: 19.92 kB / 282 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01408, allocations: 0 / 282 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01409, allocations: 4 kB / 282 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0141, allocations: 3.984 kB / 282 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0141, allocations: 0 / 282 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.01429, allocations: 172.2 kB / 282.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.01433, allocations: 39.77 kB / 282.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01435, allocations: 4 kB / 282.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.0144, allocations: 4 kB / 282.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.01442, allocations: 12.02 kB / 282.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01443, allocations: 7.984 kB / 282.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.364e-05/0.01452, allocations: 180.4 kB / 282.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01452, allocations: 0 / 282.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01475, allocations: 83.8 kB / 282.5 MB, free: 11.85 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.0004503/0.0152, allocations: 289.8 kB / 282.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01534, allocations: 83.52 kB / 282.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.01535, allocations: 0 / 282.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.01539, allocations: 47.53 kB / 282.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.01556, allocations: 28.05 kB / 282.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.01594, allocations: 306.9 kB / 283.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.01597, allocations: 75.83 kB / 283.3 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.809e-05/0.01602, allocations: 13.48 kB / 283.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.0161, allocations: 90.19 kB / 283.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0161, allocations: 0 / 283.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of Templates: time 0.005335/0.02143, allocations: 3.648 MB / 287.1 MB, free: 7.285 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.0735070812515914]