Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001935/0.001935, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 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.001865/0.001865, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 53.32 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00313/0.1197, allocations: 1.671 MB / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1222, allocations: 1.267 MB / 429.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1223, allocations: 0 / 429.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1227, allocations: 35.72 kB / 429.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1228, allocations: 35.77 kB / 429.8 MB, free: 1.254 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0008767/0.1237, allocations: 295.2 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.124, allocations: 183.6 kB / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.1241, allocations: 17.05 kB / 430.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1243, allocations: 83.73 kB / 430.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.1249, allocations: 116.4 kB / 430.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.1249, allocations: 12 kB / 430.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.1255, allocations: 283.5 kB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1256, allocations: 63.8 kB / 430.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.747e-05/0.1257, allocations: 71.53 kB / 430.9 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2622/0.3879, allocations: 320.7 kB / 431.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3879, allocations: 0 / 431.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3879, allocations: 1.188 kB / 431.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3879, allocations: 1.594 kB / 431.2 MB, free: 8.43 MB / 350.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.001484/0.3894, allocations: 0.5549 MB / 431.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3894, allocations: 14.56 kB / 431.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.3897, allocations: 30.2 kB / 431.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.3902, allocations: 273.9 kB / 432.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3902, allocations: 5.344 kB / 432.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.3903, allocations: 12.72 kB / 432.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3905, allocations: 104.5 kB / 432.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3905, allocations: 3.75 kB / 432.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3906, allocations: 0.9062 kB / 432.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3906, allocations: 2.844 kB / 432.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.3908, allocations: 77.34 kB / 432.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.3917, allocations: 448.1 kB / 432.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.392, allocations: 119.5 kB / 432.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3922, allocations: 57.58 kB / 432.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3922, allocations: 3.266 kB / 432.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.3924, allocations: 115.1 kB / 433 MB, free: 7.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.3924, allocations: 0 / 433 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005572/0.393, allocations: 240.7 kB / 433.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.393, allocations: 60.83 kB / 433.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.3935, allocations: 246 kB / 433.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3935, allocations: 41.66 kB / 433.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.3936, allocations: 115.5 kB / 433.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.3936, allocations: 48.92 kB / 433.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/0.3937, allocations: 47.17 kB / 433.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.3938, allocations: 332.5 kB / 434.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.394, allocations: 82.14 kB / 434.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3942, allocations: 111.5 kB / 434.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.3945, allocations: 179 kB / 434.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3945, allocations: 0 / 434.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005006/0.395, allocations: 263.6 kB / 434.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.395, allocations: 5.875 kB / 434.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.395, allocations: 0 / 434.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.3951, allocations: 5.5 kB / 434.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3953, allocations: 34.03 kB / 434.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3953, allocations: 2.906 kB / 434.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3955, allocations: 30.38 kB / 434.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3955, allocations: 5.25 kB / 434.8 MB, free: 6.605 MB / 350.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.0001284/0.3956, allocations: 137.8 kB / 435 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.3957, allocations: 14.97 kB / 435 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.3957, allocations: 23.47 kB / 435 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3958, allocations: 5.094 kB / 435 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3958, allocations: 0 / 435 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3958, allocations: 1.188 kB / 435 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.396, allocations: 242.7 kB / 435.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.396, allocations: 3.609 kB / 435.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3962, allocations: 23.41 kB / 435.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3962, allocations: 0 / 435.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.3962, allocations: 6.625 kB / 435.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3962, allocations: 5.188 kB / 435.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3962, allocations: 0 / 435.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.3968, allocations: 275.7 kB / 435.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.3969, allocations: 115.3 kB / 435.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.3969, allocations: 10.42 kB / 435.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3971, allocations: 19.88 kB / 435.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.3972, allocations: 12.42 kB / 435.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3972, allocations: 3.625 kB / 435.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.3975, allocations: 186.5 kB / 435.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3975, allocations: 3.391 kB / 435.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005233/0.3981, allocations: 90.69 kB / 436 MB, free: 5.996 MB / 350.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.0007417/0.3988, allocations: 264.3 kB / 436.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.3992, allocations: 158.4 kB / 436.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3992, allocations: 0 / 436.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3994, allocations: 63.31 kB / 436.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3997, allocations: 15.95 kB / 436.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.4005, allocations: 358.5 kB / 436.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.4008, allocations: 0.7262 MB / 437.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.4009, allocations: 30.44 kB / 437.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.401, allocations: 16.98 kB / 437.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.401, allocations: 0 / 437.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Templates: time 0.009939/0.4109, allocations: 3.067 MB / 440.7 MB, free: 4.785 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.771693792194128]