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.0009643/0.0009643, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0008683/0.0008683, allocations: 134.6 kB / 25.59 MB, free: 8.906 MB / 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.9793/0.9793, allocations: 173.4 MB / 202.3 MB, free: 7.891 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.572e-06/1.572e-06, allocations: 0 / 269.2 MB, free: 9.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.199e-05, allocations: 6.25 kB / 269.2 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00215/0.002172, allocations: 1.66 MB / 270.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.003713, allocations: 1.168 MB / 272 MB, free: 6.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.003812, allocations: 4.5 kB / 272 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.004143, allocations: 40.45 kB / 272.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.004243, allocations: 40.39 kB / 272.1 MB, free: 6.809 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.0006241/0.004868, allocations: 317.5 kB / 272.4 MB, free: 6.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005035, allocations: 147.6 kB / 272.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.005113, allocations: 21.19 kB / 272.6 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.005245, allocations: 99.66 kB / 272.7 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.005646, allocations: 101.3 kB / 272.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.00569, allocations: 12 kB / 272.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.006055, allocations: 307.3 kB / 273.1 MB, free: 5.832 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.006122, allocations: 53.22 kB / 273.1 MB, free: 5.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.006169, allocations: 43.84 kB / 273.2 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.006557, allocations: 334.9 kB / 273.5 MB, free: 5.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006559, allocations: 0 / 273.5 MB, free: 5.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.00656, allocations: 0.6875 kB / 273.5 MB, free: 5.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006564, allocations: 0 / 273.5 MB, free: 5.41 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.0006842/0.007248, allocations: 0.5407 MB / 274.1 MB, free: 4.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.007281, allocations: 10.97 kB / 274.1 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.007437, allocations: 36.78 kB / 274.1 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.007655, allocations: 205.8 kB / 274.3 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.007671, allocations: 4.375 kB / 274.3 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.007692, allocations: 19.94 kB / 274.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.007808, allocations: 57.66 kB / 274.4 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.007818, allocations: 0 / 274.4 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.007829, allocations: 0 / 274.4 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.007836, allocations: 4 kB / 274.4 MB, free: 4.469 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.007888, allocations: 23.95 kB / 274.4 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.008323, allocations: 364 kB / 274.8 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.008469, allocations: 67.02 kB / 274.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.008517, allocations: 23.67 kB / 274.9 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.008526, allocations: 0 / 274.9 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.008678, allocations: 88.42 kB / 274.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 9.91e-07/0.008679, allocations: 3.938 kB / 275 MB, free: 3.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002096/0.008889, allocations: 129.7 kB / 275.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.008928, allocations: 59.34 kB / 275.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.009064, allocations: 258.7 kB / 275.4 MB, free: 3.383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.009085, allocations: 33.7 kB / 275.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.009147, allocations: 170.8 kB / 275.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.009182, allocations: 43.77 kB / 275.6 MB, free: 3.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.009238, allocations: 55.33 kB / 275.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.009348, allocations: 0.5078 MB / 276.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.009386, allocations: 23.84 kB / 276.2 MB, free: 2.523 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.009444, allocations: 51.33 kB / 276.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.59e-05/0.00953, allocations: 81.91 kB / 276.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009532, allocations: 0 / 276.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001581/0.00969, allocations: 134.6 kB / 276.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.009702, allocations: 8 kB / 276.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.009707, allocations: 4.031 kB / 276.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.009714, allocations: 0 / 276.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.009828, allocations: 43.84 kB / 276.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.009832, allocations: 4 kB / 276.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.009897, allocations: 19.84 kB / 276.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.009907, allocations: 4 kB / 276.6 MB, free: 2.16 MB / 250.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,whiteNoise.localSeed,globalSeed.seed,whiteNoise.actualGlobalSeed,globalSeed.id_impure,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.0001569/0.01006, allocations: 172.3 kB / 276.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.01009, allocations: 23.89 kB / 276.8 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.01012, allocations: 21.47 kB / 276.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01012, allocations: 0 / 276.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01013, allocations: 7.875 kB / 276.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01013, allocations: 0 / 276.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.01024, allocations: 145.1 kB / 276.9 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01024, allocations: 0 / 276.9 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.0103, allocations: 16 kB / 276.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.0103, allocations: 4 kB / 276.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01031, allocations: 0 / 276.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01032, allocations: 4 kB / 276.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01032, allocations: 0 / 276.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.01052, allocations: 183.2 kB / 277.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.01056, allocations: 27.83 kB / 277.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01058, allocations: 4 kB / 277.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.01064, allocations: 11.98 kB / 277.2 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.01067, allocations: 7.984 kB / 277.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.01067, allocations: 0 / 277.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.202e-05/0.01075, allocations: 181.3 kB / 277.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01075, allocations: 4 kB / 277.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.01098, allocations: 79.8 kB / 277.4 MB, free: 1.227 MB / 250.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.0004507/0.01143, allocations: 289.9 kB / 277.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.01156, allocations: 83.58 kB / 277.8 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01156, allocations: 0 / 277.8 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.01161, allocations: 39.66 kB / 277.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.01178, allocations: 29.97 kB / 277.9 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.01217, allocations: 326.7 kB / 278.2 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.01221, allocations: 75.83 kB / 278.3 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.01226, allocations: 21.53 kB / 278.3 MB, free: 360 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.01233, allocations: 86.2 kB / 278.4 MB, free: 272 kB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01233, allocations: 0 / 278.4 MB, free: 272 kB / 250.7 MB Notification: Performance of Templates: time 0.005445/0.01778, allocations: 3.585 MB / 281.9 MB, free: 12.71 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.3690147730521858]