Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001324/0.001324, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.002387/0.002387, allocations: 170.6 kB / 25.6 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.728e-05, allocations: 6.25 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002706/0.002733, allocations: 1.67 MB / 253.1 MB, free: 5.566 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.004708, allocations: 1.185 MB / 254.3 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.004823, allocations: 4 kB / 254.3 MB, free: 4.363 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.005157, allocations: 35.72 kB / 254.4 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.005258, allocations: 39.7 kB / 254.4 MB, free: 4.289 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.006087, allocations: 326.8 kB / 254.7 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.006337, allocations: 151.6 kB / 254.9 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.006461, allocations: 9.312 kB / 254.9 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.006642, allocations: 95.77 kB / 255 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.006816, allocations: 87.73 kB / 255.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.006855, allocations: 12 kB / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.007321, allocations: 319.2 kB / 255.4 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/0.007418, allocations: 55.81 kB / 255.4 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.007474, allocations: 47.83 kB / 255.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.00798, allocations: 342.9 kB / 255.8 MB, free: 2.871 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.007984, allocations: 0 / 255.8 MB, free: 2.871 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.007986, allocations: 0 / 255.8 MB, free: 2.871 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.007993, allocations: 4 kB / 255.8 MB, free: 2.867 MB / 234.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.0008033/0.008796, allocations: 0.5538 MB / 256.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.008854, allocations: 11.98 kB / 256.4 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.009022, allocations: 36.83 kB / 256.4 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.009265, allocations: 201.9 kB / 256.6 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.009279, allocations: 4.375 kB / 256.6 MB, free: 1.996 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.009302, allocations: 12.38 kB / 256.6 MB, free: 1.984 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.009415, allocations: 62.22 kB / 256.7 MB, free: 1.918 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.009424, allocations: 192 / 256.7 MB, free: 1.918 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.009433, allocations: 4.359 kB / 256.7 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.009439, allocations: 3.938 kB / 256.7 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.00949, allocations: 27.92 kB / 256.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.009955, allocations: 352.2 kB / 257.1 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.01007, allocations: 66.97 kB / 257.1 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.0101, allocations: 19.67 kB / 257.2 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.01011, allocations: 4 kB / 257.2 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.01024, allocations: 80.97 kB / 257.2 MB, free: 1.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.01024, allocations: 0 / 257.2 MB, free: 1.309 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002272/0.01046, allocations: 141.6 kB / 257.4 MB, free: 1.164 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.0105, allocations: 59.41 kB / 257.4 MB, free: 1.094 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01068, allocations: 262.7 kB / 257.7 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.01072, allocations: 37.7 kB / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.0108, allocations: 162.8 kB / 257.9 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.01084, allocations: 47.75 kB / 257.9 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.0109, allocations: 55.33 kB / 258 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.01106, allocations: 0.504 MB / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.0111, allocations: 23.84 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.01116, allocations: 55.27 kB / 258.6 MB, free: 15.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.01124, allocations: 79.28 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01124, allocations: 4 kB / 258.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001629/0.01141, allocations: 153.3 kB / 258.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01142, allocations: 4 kB / 258.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01143, allocations: 0 / 258.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.01144, allocations: 0 / 258.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01154, allocations: 31.98 kB / 258.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01154, allocations: 4 kB / 258.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.0116, allocations: 11.95 kB / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01162, allocations: 7.984 kB / 258.9 MB, free: 15.6 MB / 250.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 0.0001124/0.01173, allocations: 188.4 kB / 259.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.01175, allocations: 15.91 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.01179, allocations: 21.45 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01179, allocations: 4 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01179, allocations: 0 / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01179, allocations: 3.938 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.01192, allocations: 145.1 kB / 259.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01192, allocations: 0 / 259.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.01198, allocations: 15.98 kB / 259.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01198, allocations: 0 / 259.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01199, allocations: 11.94 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.012, allocations: 0 / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.012, allocations: 0 / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.0122, allocations: 164.2 kB / 259.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.01225, allocations: 35.78 kB / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.01227, allocations: 11.98 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.01232, allocations: 4 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.01235, allocations: 7.984 kB / 259.5 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.01236, allocations: 3.938 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.01246, allocations: 185.4 kB / 259.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01246, allocations: 4 kB / 259.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.01276, allocations: 87.8 kB / 259.8 MB, free: 14.64 MB / 250.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.0006047/0.01336, allocations: 309.7 kB / 260.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01352, allocations: 79.58 kB / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01352, allocations: 0 / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.01358, allocations: 39.59 kB / 260.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01377, allocations: 23.92 kB / 260.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.01428, allocations: 322 kB / 260.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.529e-05/0.01432, allocations: 75.83 kB / 260.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.01438, allocations: 21.47 kB / 260.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.01446, allocations: 82.2 kB / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01446, allocations: 0 / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of Templates: time 0.005985/0.02045, allocations: 3.74 MB / 264.4 MB, free: 9.949 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/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.695245406124741]