Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001003/0.001003, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001042/0.001042, allocations: 170.1 kB / 25.33 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9818/0.9818, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40001,variableFilter="time|Hw.x_scaled.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.611e-05, allocations: 6.25 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002066/0.002083, allocations: 1.685 MB / 252.7 MB, free: 5.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.003756, allocations: 1.197 MB / 253.9 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.00384, allocations: 4 kB / 253.9 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.004233, allocations: 31.72 kB / 254 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.004345, allocations: 47.69 kB / 254 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.005064, allocations: 326.8 kB / 254.3 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.005254, allocations: 147.6 kB / 254.5 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.005343, allocations: 17.28 kB / 254.5 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.005473, allocations: 91.78 kB / 254.6 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.005595, allocations: 83.75 kB / 254.7 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.005623, allocations: 12 kB / 254.7 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.006009, allocations: 323.2 kB / 255 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.006091, allocations: 55.81 kB / 255 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.006146, allocations: 47.84 kB / 255.1 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.006565, allocations: 346.9 kB / 255.4 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006568, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006569, allocations: 0 / 255.4 MB, free: 3.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.006574, allocations: 0 / 255.4 MB, free: 3.09 MB / 234.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.0008107/0.007385, allocations: 0.5617 MB / 256 MB, free: 2.492 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.007422, allocations: 11.98 kB / 256 MB, free: 2.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.007589, allocations: 40.77 kB / 256 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.007872, allocations: 206 kB / 256.2 MB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.007891, allocations: 8.375 kB / 256.3 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.007923, allocations: 8.359 kB / 256.3 MB, free: 2.191 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.008077, allocations: 78.08 kB / 256.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.008087, allocations: 192 / 256.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.0081, allocations: 384 / 256.3 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.008108, allocations: 3.938 kB / 256.3 MB, free: 2.105 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.008184, allocations: 31.97 kB / 256.4 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.008756, allocations: 391.6 kB / 256.8 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.008888, allocations: 66.98 kB / 256.8 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.008935, allocations: 23.67 kB / 256.8 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.008945, allocations: 0 / 256.8 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.009071, allocations: 96.58 kB / 256.9 MB, free: 1.445 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.009073, allocations: 0 / 256.9 MB, free: 1.445 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002597/0.009332, allocations: 145.7 kB / 257.1 MB, free: 1.297 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.009371, allocations: 63.33 kB / 257.1 MB, free: 1.223 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.009565, allocations: 262.8 kB / 257.4 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.00959, allocations: 41.67 kB / 257.4 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.009675, allocations: 166.8 kB / 257.6 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.009719, allocations: 47.77 kB / 257.6 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.00978, allocations: 47.36 kB / 257.7 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.009935, allocations: 0.5079 MB / 258.2 MB, free: 116 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.01, allocations: 35.78 kB / 258.2 MB, free: 80 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.01008, allocations: 55.28 kB / 258.3 MB, free: 16 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01021, allocations: 91.36 kB / 258.4 MB, free: 15.92 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01022, allocations: 3.938 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000215/0.01043, allocations: 161.4 kB / 258.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01045, allocations: 4 kB / 258.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01046, allocations: 3.984 kB / 258.6 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.01047, allocations: 0 / 258.6 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.01061, allocations: 43.92 kB / 258.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01062, allocations: 0 / 258.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.01069, allocations: 19.94 kB / 258.6 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.0107, allocations: 8.031 kB / 258.6 MB, free: 15.67 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,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.527e-05/0.0108, allocations: 172.5 kB / 258.8 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.01083, allocations: 19.91 kB / 258.8 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.01087, allocations: 17.47 kB / 258.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01087, allocations: 4 kB / 258.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01088, allocations: 0 / 258.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01088, allocations: 3.984 kB / 258.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.01102, allocations: 176.3 kB / 259 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01103, allocations: 7.938 kB / 259 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.01109, allocations: 19.98 kB / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.0111, allocations: 4 kB / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01111, allocations: 0 / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01111, allocations: 0 / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01111, allocations: 0 / 259 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.01135, allocations: 184.2 kB / 259.2 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.0114, allocations: 31.83 kB / 259.2 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.01142, allocations: 8 kB / 259.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.01148, allocations: 11.98 kB / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01152, allocations: 11.98 kB / 259.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.01153, allocations: 4.031 kB / 259.3 MB, free: 14.94 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.01164, allocations: 189.4 kB / 259.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01164, allocations: 0 / 259.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.01191, allocations: 91.73 kB / 259.6 MB, free: 14.66 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.0005938/0.0125, allocations: 301.9 kB / 259.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.01273, allocations: 91.52 kB / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01274, allocations: 0 / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.01281, allocations: 43.61 kB / 260 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01302, allocations: 28.03 kB / 260 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.01353, allocations: 318 kB / 260.3 MB, free: 13.89 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01357, allocations: 75.83 kB / 260.4 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.171e-05/0.01364, allocations: 29.39 kB / 260.4 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.01369, allocations: 28.48 kB / 260.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01369, allocations: 0 / 260.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of Templates: time 0.005526/0.01922, allocations: 3.363 MB / 263.8 MB, free: 10.38 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/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.433851154986769]