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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 79.08 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 151.3 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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 1.423e-06/1.423e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.469e-05, allocations: 3.125 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002517/0.002542, allocations: 1.619 MB / 320.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.004631, allocations: 1.147 MB / 321.7 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.004719, allocations: 1.344 kB / 321.7 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.005045, allocations: 38.06 kB / 321.7 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.005167, allocations: 41.75 kB / 321.8 MB, free: 1.684 MB / 286.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.0008331/0.006, allocations: 318 kB / 322.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.006203, allocations: 153.3 kB / 322.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.006289, allocations: 8.391 kB / 322.2 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.006463, allocations: 90.89 kB / 322.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.007071, allocations: 97.73 kB / 322.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.00711, allocations: 13.66 kB / 322.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.007629, allocations: 309.3 kB / 322.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.007723, allocations: 58.89 kB / 322.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.007798, allocations: 41.17 kB / 322.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.008403, allocations: 366.4 kB / 323.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.008407, allocations: 1.656 kB / 323.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008408, allocations: 0 / 323.2 MB, free: 1.141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.008413, allocations: 0 / 323.2 MB, free: 1.141 MB / 286.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.001087/0.0095, allocations: 498.6 kB / 323.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.009539, allocations: 9.312 kB / 323.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.009746, allocations: 27.33 kB / 323.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.01016, allocations: 219.8 kB / 323.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.0102, allocations: 7.969 kB / 323.9 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.01023, allocations: 18.11 kB / 324 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.01043, allocations: 97.45 kB / 324.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.01044, allocations: 1.938 kB / 324.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.01045, allocations: 4 kB / 324.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.01046, allocations: 1.531 kB / 324.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.01066, allocations: 77.62 kB / 324.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007387/0.01139, allocations: 369.7 kB / 324.5 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.01166, allocations: 115.3 kB / 324.6 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.01176, allocations: 56.23 kB / 324.7 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.01178, allocations: 2.031 kB / 324.7 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.01199, allocations: 119.4 kB / 324.8 MB, free: 100 kB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.01199, allocations: 0 / 324.8 MB, free: 100 kB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.000502/0.01249, allocations: 235.1 kB / 325 MB, free: 4 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.01258, allocations: 58.56 kB / 325.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.01305, allocations: 253.7 kB / 325.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.0131, allocations: 37.02 kB / 325.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.0132, allocations: 111.3 kB / 325.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.01327, allocations: 53.95 kB / 325.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.01336, allocations: 44.78 kB / 325.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.01353, allocations: 338.5 kB / 325.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.01371, allocations: 86.38 kB / 326 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.01392, allocations: 106.7 kB / 326.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.01428, allocations: 181.5 kB / 326.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01429, allocations: 0.6094 kB / 326.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004818/0.01477, allocations: 254.1 kB / 326.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01479, allocations: 6.094 kB / 326.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01479, allocations: 3.938 kB / 326.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.01481, allocations: 10.41 kB / 326.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.015, allocations: 32.25 kB / 326.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.015, allocations: 5.438 kB / 326.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.01521, allocations: 30.17 kB / 326.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.01523, allocations: 8.828 kB / 326.6 MB, free: 14.98 MB / 302.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.0001537/0.01538, allocations: 149.3 kB / 326.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.01541, allocations: 14.81 kB / 326.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.01547, allocations: 26.06 kB / 326.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01548, allocations: 3.938 kB / 326.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01548, allocations: 1.094 kB / 326.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01549, allocations: 0.6562 kB / 326.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.01572, allocations: 166.3 kB / 327 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01572, allocations: 0 / 327 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.01584, allocations: 19.23 kB / 327 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01584, allocations: 0.9375 kB / 327 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.01586, allocations: 7.359 kB / 327 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01587, allocations: 1.031 kB / 327 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01587, allocations: 3.938 kB / 327 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.0164, allocations: 282.9 kB / 327.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.01648, allocations: 31.98 kB / 327.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.01651, allocations: 4.578 kB / 327.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.0167, allocations: 20.64 kB / 327.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.01675, allocations: 12.83 kB / 327.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01676, allocations: 3.094 kB / 327.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003498/0.01711, allocations: 188.8 kB / 327.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01711, allocations: 4 kB / 327.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000465/0.01758, allocations: 86.05 kB / 327.6 MB, free: 14.36 MB / 302.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.0007336/0.01831, allocations: 278.4 kB / 327.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.01874, allocations: 161.4 kB / 328 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01874, allocations: 0.9375 kB / 328 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.01889, allocations: 63.66 kB / 328.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01914, allocations: 14 kB / 328.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.01992, allocations: 352.4 kB / 328.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.02006, allocations: 116.2 kB / 328.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.02018, allocations: 32.09 kB / 328.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.02024, allocations: 16.62 kB / 328.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.02024, allocations: 1.312 kB / 328.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Templates: time 0.008438/0.02868, allocations: 3.13 MB / 331.7 MB, free: 12.65 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.16281932592392]