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.001469/0.001469, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001322/0.001322, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.488/1.488, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.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 0.001508/0.001508, allocations: 47.91 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3695, allocations: 52.14 MB / 420.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003361/0.3728, allocations: 1.662 MB / 422.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3753, allocations: 1.222 MB / 423.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3754, allocations: 4 kB / 423.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.3758, allocations: 43.7 kB / 423.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.376, allocations: 43.75 kB / 423.8 MB, free: 12.18 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.0009689/0.3769, allocations: 283.2 kB / 424.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3773, allocations: 183.5 kB / 424.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3774, allocations: 13.12 kB / 424.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.3776, allocations: 79.73 kB / 424.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007685/0.3784, allocations: 118.5 kB / 424.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.3785, allocations: 12 kB / 424.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.379, allocations: 279.5 kB / 424.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3791, allocations: 55.81 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3792, allocations: 67.59 kB / 424.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000667/0.3799, allocations: 324.1 kB / 425.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3799, allocations: 8 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3799, allocations: 3.938 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3799, allocations: 0 / 425.2 MB, free: 10.79 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.00143/0.3813, allocations: 0.5567 MB / 425.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3814, allocations: 15.83 kB / 425.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.3816, allocations: 28.83 kB / 425.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.3822, allocations: 284.6 kB / 426.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.3822, allocations: 0 / 426.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.3822, allocations: 12 kB / 426.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3825, allocations: 101.6 kB / 426.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3825, allocations: 7.938 kB / 426.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3825, allocations: 4 kB / 426.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3825, allocations: 0 / 426.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.3827, allocations: 75.94 kB / 426.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.3836, allocations: 460.5 kB / 426.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.3839, allocations: 118.5 kB / 426.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.384, allocations: 52.83 kB / 426.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.384, allocations: 0 / 426.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.3843, allocations: 123.4 kB / 427.1 MB, free: 8.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.3843, allocations: 4 kB / 427.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005283/0.3848, allocations: 225.5 kB / 427.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3848, allocations: 67.27 kB / 427.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.3853, allocations: 251.7 kB / 427.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3853, allocations: 37.7 kB / 427.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.3854, allocations: 116.2 kB / 427.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.3855, allocations: 51.64 kB / 427.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.3855, allocations: 45.69 kB / 427.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3857, allocations: 330.8 kB / 428.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3859, allocations: 83.94 kB / 428.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.386, allocations: 105.7 kB / 428.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.3863, allocations: 177.8 kB / 428.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3863, allocations: 0 / 428.5 MB, free: 7.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004372/0.3868, allocations: 261.3 kB / 428.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3868, allocations: 4 kB / 428.8 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3868, allocations: 3.984 kB / 428.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3868, allocations: 4 kB / 428.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.387, allocations: 35.91 kB / 428.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.387, allocations: 4 kB / 428.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3872, allocations: 31.91 kB / 428.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3872, allocations: 7.984 kB / 428.9 MB, free: 6.926 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.000141/0.3873, allocations: 137.8 kB / 429 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.3874, allocations: 23.8 kB / 429 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.3874, allocations: 17.53 kB / 429 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3874, allocations: 4 kB / 429 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3875, allocations: 0 / 429 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3875, allocations: 7.922 kB / 429 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3877, allocations: 241.7 kB / 429.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3877, allocations: 7.875 kB / 429.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3878, allocations: 15.98 kB / 429.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3878, allocations: 0 / 429.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3879, allocations: 0 / 429.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3879, allocations: 3.984 kB / 429.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3879, allocations: 4 kB / 429.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.3883, allocations: 280.6 kB / 429.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3884, allocations: 116.9 kB / 429.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3885, allocations: 8 kB / 429.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3886, allocations: 15.97 kB / 429.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3887, allocations: 8 kB / 429.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.3887, allocations: 7.984 kB / 429.7 MB, free: 5.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.389, allocations: 180.2 kB / 429.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.389, allocations: 4 kB / 429.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.3894, allocations: 87.8 kB / 430 MB, free: 5.676 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.0006442/0.39, allocations: 260.9 kB / 430.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3904, allocations: 155.8 kB / 430.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.3904, allocations: 0 / 430.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3905, allocations: 63.91 kB / 430.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3907, allocations: 23.59 kB / 430.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.3914, allocations: 377.7 kB / 430.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3918, allocations: 0.7357 MB / 431.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.585e-05/0.3919, allocations: 33.39 kB / 431.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.3919, allocations: 15.44 kB / 431.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3919, allocations: 4 kB / 431.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of Templates: time 0.00704/0.3989, allocations: 3.043 MB / 434.7 MB, free: 0.9648 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/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.286199426278472]