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.001178/0.001178, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009401/0.0009401, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.937/0.937, allocations: 173.4 MB / 201.1 MB, free: 8.484 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 268 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.229e-05, allocations: 6.25 kB / 268 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002199/0.002221, allocations: 1.669 MB / 269.7 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.003999, allocations: 1.181 MB / 270.8 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.004097, allocations: 0 / 270.8 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.004481, allocations: 43.7 kB / 270.9 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.004742, allocations: 43.7 kB / 270.9 MB, free: 3.176 MB / 250.7 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.0008202/0.005562, allocations: 314.9 kB / 271.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.005805, allocations: 151.5 kB / 271.4 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.005926, allocations: 17.22 kB / 271.4 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.006103, allocations: 95.72 kB / 271.5 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.006594, allocations: 104.9 kB / 271.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.006643, allocations: 12 kB / 271.6 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.007104, allocations: 303.3 kB / 271.9 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.007207, allocations: 51.77 kB / 272 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.007278, allocations: 47.89 kB / 272 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.007772, allocations: 334.9 kB / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.007775, allocations: 0 / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007776, allocations: 0 / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.007782, allocations: 0 / 272.3 MB, free: 1.777 MB / 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.001295/0.009077, allocations: 0.554 MB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.47e-05/0.009172, allocations: 12.92 kB / 272.9 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.009483, allocations: 32.78 kB / 272.9 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.009907, allocations: 213.8 kB / 273.1 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.00993, allocations: 8.375 kB / 273.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.009961, allocations: 11.94 kB / 273.2 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.01014, allocations: 65.66 kB / 273.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01015, allocations: 0 / 273.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.01017, allocations: 3.984 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.01018, allocations: 0 / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.01026, allocations: 31.97 kB / 273.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.01095, allocations: 407.4 kB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.01114, allocations: 67.03 kB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.01119, allocations: 23.67 kB / 273.7 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.0112, allocations: 0 / 273.7 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.0114, allocations: 89.06 kB / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.996e-06/0.01141, allocations: 0 / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003663/0.01177, allocations: 137.7 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.01184, allocations: 59.34 kB / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.01206, allocations: 266.7 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.01209, allocations: 33.7 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.01218, allocations: 166.9 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.01223, allocations: 47.77 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.0123, allocations: 51.36 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.01253, allocations: 0.5078 MB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.0126, allocations: 31.84 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.01267, allocations: 60 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.01279, allocations: 87.52 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01279, allocations: 0 / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002255/0.01302, allocations: 161.4 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.01304, allocations: 8.031 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.01305, allocations: 0 / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01307, allocations: 11.92 kB / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01321, allocations: 39.92 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01322, allocations: 0 / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.0133, allocations: 23.81 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.01332, allocations: 8 kB / 275.5 MB, free: 14.37 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,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.0002788/0.01359, allocations: 176.2 kB / 275.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.01362, allocations: 23.91 kB / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.01366, allocations: 21.47 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01367, allocations: 3.938 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.01367, allocations: 0 / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01368, allocations: 3.984 kB / 275.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.01383, allocations: 168.5 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01384, allocations: 0 / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.01391, allocations: 15.98 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.01392, allocations: 0 / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.01393, allocations: 4 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01394, allocations: 0 / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.01394, allocations: 7.938 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.01419, allocations: 176.2 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.01425, allocations: 35.81 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01427, allocations: 8 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.01433, allocations: 7.984 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.01438, allocations: 11.92 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01439, allocations: 0 / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.0145, allocations: 197.4 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0145, allocations: 0 / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005899/0.01509, allocations: 87.75 kB / 276.4 MB, free: 13.37 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.000555/0.01564, allocations: 292 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.01586, allocations: 103.5 kB / 276.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01586, allocations: 0 / 276.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.01592, allocations: 39.67 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01612, allocations: 15.98 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.01667, allocations: 326.7 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.01672, allocations: 75.83 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.01678, allocations: 37.5 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.01683, allocations: 16.5 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.373e-06/0.01684, allocations: 0 / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Templates: time 0.006155/0.02299, allocations: 3.5 MB / 280.8 MB, free: 8.988 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] 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","",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.5332206240855157]