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.001589/0.001589, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 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.001793/0.001793, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 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.499/1.499, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|Hw.x_scaled.2.",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.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 51.92 kB / 348.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3567, allocations: 49.15 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003086/0.3597, allocations: 1.668 MB / 399.3 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.3624, allocations: 1.254 MB / 400.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.3626, allocations: 6.094 kB / 400.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.3631, allocations: 34.39 kB / 400.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.3632, allocations: 38.38 kB / 400.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.3645, allocations: 313.4 kB / 400.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.3649, allocations: 205.6 kB / 401.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3651, allocations: 19.45 kB / 401.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.3653, allocations: 92.55 kB / 401.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.3656, allocations: 107.3 kB / 401.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.3656, allocations: 13.47 kB / 401.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008364/0.3665, allocations: 330.2 kB / 401.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3666, allocations: 53.31 kB / 401.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.3667, allocations: 73.67 kB / 401.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007432/0.3675, allocations: 333.7 kB / 402.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3675, allocations: 1.469 kB / 402.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3675, allocations: 0 / 402.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3675, allocations: 0 / 402.1 MB, free: 6.867 MB / 318.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.001457/0.369, allocations: 0.4939 MB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.369, allocations: 13.73 kB / 402.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.3693, allocations: 27.14 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.3698, allocations: 219.6 kB / 402.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3698, allocations: 7.125 kB / 402.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.3698, allocations: 6.844 kB / 402.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3701, allocations: 111.9 kB / 403 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3701, allocations: 0 / 403 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3701, allocations: 1.625 kB / 403 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3701, allocations: 1.625 kB / 403 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.3704, allocations: 78.67 kB / 403.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009615/0.3713, allocations: 431.8 kB / 403.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3716, allocations: 115.1 kB / 403.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3717, allocations: 59.73 kB / 403.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3718, allocations: 1.094 kB / 403.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.372, allocations: 119.4 kB / 403.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.372, allocations: 0 / 403.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005781/0.3726, allocations: 233 kB / 404 MB, free: 5.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.3726, allocations: 59.11 kB / 404.1 MB, free: 5.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.3731, allocations: 249.7 kB / 404.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3731, allocations: 39.52 kB / 404.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.3732, allocations: 119.9 kB / 404.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.3733, allocations: 46.06 kB / 404.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.3734, allocations: 48.48 kB / 404.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.3735, allocations: 334.5 kB / 404.9 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3737, allocations: 91.06 kB / 405 MB, free: 4.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.3739, allocations: 109.5 kB / 405.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.3742, allocations: 178.8 kB / 405.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3742, allocations: 0 / 405.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005131/0.3747, allocations: 263.7 kB / 405.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3748, allocations: 4.938 kB / 405.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3748, allocations: 5.938 kB / 405.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.3748, allocations: 1.094 kB / 405.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.375, allocations: 36.2 kB / 405.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.375, allocations: 5.844 kB / 405.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.3752, allocations: 31.08 kB / 405.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.3752, allocations: 5.141 kB / 405.6 MB, free: 4.641 MB / 318.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.0001338/0.3754, allocations: 141.6 kB / 405.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.3754, allocations: 13.66 kB / 405.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.3755, allocations: 20.39 kB / 405.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3755, allocations: 5.312 kB / 405.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3755, allocations: 1.406 kB / 405.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3755, allocations: 0.7969 kB / 405.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3758, allocations: 215.3 kB / 406 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3758, allocations: 3.938 kB / 406 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3759, allocations: 15.97 kB / 406 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3759, allocations: 0 / 406 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3759, allocations: 7.625 kB / 406 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3759, allocations: 3.938 kB / 406 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3759, allocations: 2.203 kB / 406 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.3764, allocations: 276.8 kB / 406.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.3765, allocations: 36.19 kB / 406.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.3766, allocations: 5.562 kB / 406.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.3768, allocations: 24.16 kB / 406.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.3768, allocations: 16.62 kB / 406.4 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3768, allocations: 3.328 kB / 406.4 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.3772, allocations: 183.1 kB / 406.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3772, allocations: 1.5 kB / 406.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005639/0.3777, allocations: 89.22 kB / 406.6 MB, free: 3.984 MB / 318.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.0008405/0.3786, allocations: 282.5 kB / 406.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.379, allocations: 166.3 kB / 407.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.379, allocations: 0 / 407.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3792, allocations: 59.56 kB / 407.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3794, allocations: 20.52 kB / 407.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/0.3802, allocations: 391 kB / 407.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3805, allocations: 0.7308 MB / 408.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.3806, allocations: 18.66 kB / 408.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3806, allocations: 0 / 408.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of Templates: time 0.008604/0.3892, allocations: 3.638 MB / 411.9 MB, free: 1.301 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 10.504869814030826]