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.001545/0.001545, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001772/0.001772, allocations: 145.5 kB / 24.54 MB, free: 36 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.978/0.978, allocations: 173.4 MB / 201.1 MB, free: 9.344 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.773e-06/1.773e-06, allocations: 3.938 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.575e-05, allocations: 2.312 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002322/0.002358, allocations: 1.677 MB / 269.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.003941, allocations: 1.185 MB / 270.9 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.004024, allocations: 4 kB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.004398, allocations: 31.72 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.522e-05/0.004494, allocations: 43.75 kB / 270.9 MB, free: 3.473 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.0006361/0.00513, allocations: 318.9 kB / 271.3 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.0053, allocations: 147.6 kB / 271.4 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.005404, allocations: 13.25 kB / 271.4 MB, free: 3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.00557, allocations: 95.7 kB / 271.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.006139, allocations: 101.8 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.006177, allocations: 12 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.006601, allocations: 307.3 kB / 271.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.006681, allocations: 47.81 kB / 272 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.006747, allocations: 51.83 kB / 272 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.007183, allocations: 330.9 kB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.007187, allocations: 4 kB / 272.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.007188, allocations: 0 / 272.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.007194, allocations: 0 / 272.3 MB, free: 2.074 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.0008941/0.008088, allocations: 0.554 MB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.008136, allocations: 8.922 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.008339, allocations: 40.78 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.008652, allocations: 209.8 kB / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.008674, allocations: 8.375 kB / 273.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.008708, allocations: 11.94 kB / 273.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.008872, allocations: 69.58 kB / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.008881, allocations: 0 / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.008894, allocations: 0 / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.008902, allocations: 4 kB / 273.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/0.008977, allocations: 27.97 kB / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.009548, allocations: 403.4 kB / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.009701, allocations: 63.05 kB / 273.7 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.009759, allocations: 27.67 kB / 273.7 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.009771, allocations: 4 kB / 273.7 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.009905, allocations: 85.05 kB / 273.8 MB, free: 448 kB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/0.009908, allocations: 4 kB / 273.8 MB, free: 444 kB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002914/0.0102, allocations: 137.2 kB / 274 MB, free: 304 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.01025, allocations: 71.33 kB / 274 MB, free: 220 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.01045, allocations: 254.8 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.01048, allocations: 41.69 kB / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.01056, allocations: 162.8 kB / 274.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.01061, allocations: 47.78 kB / 274.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.01067, allocations: 55.3 kB / 274.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.01083, allocations: 0.5078 MB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.01089, allocations: 31.84 kB / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.01097, allocations: 60 kB / 275.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.01109, allocations: 87.52 kB / 275.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01109, allocations: 0 / 275.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002055/0.0113, allocations: 157.4 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.01132, allocations: 8 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01132, allocations: 0 / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.01134, allocations: 3.938 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.01147, allocations: 39.91 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01148, allocations: 8 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.01155, allocations: 27.91 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01157, allocations: 4 kB / 275.5 MB, free: 14.67 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 9.993e-05/0.01167, allocations: 176.2 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.01169, allocations: 19.91 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.01173, allocations: 21.45 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01173, allocations: 7.938 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01174, allocations: 0 / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01174, allocations: 0 / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.01189, allocations: 168.5 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01189, allocations: 0 / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.01195, allocations: 20 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01196, allocations: 0 / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.01197, allocations: 7.984 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01198, allocations: 0 / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01198, allocations: 3.938 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.01222, allocations: 180.2 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.01227, allocations: 35.77 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.01229, allocations: 7.984 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.537e-05/0.01235, allocations: 11.98 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.01239, allocations: 11.92 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.0124, allocations: 8.031 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01251, allocations: 189.4 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01251, allocations: 0 / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.01278, allocations: 91.75 kB / 276.5 MB, free: 13.66 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.0005342/0.01331, allocations: 290.1 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.01351, allocations: 95.02 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01351, allocations: 0 / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/0.01356, allocations: 35.67 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.01377, allocations: 23.98 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.01426, allocations: 318.9 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/0.01431, allocations: 75.83 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.898e-05/0.01437, allocations: 33.44 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.01441, allocations: 16.5 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01441, allocations: 0 / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Templates: time 0.005456/0.01987, allocations: 3.204 MB / 280.5 MB, free: 9.578 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.510516457259655]