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.001501/0.001501, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00158/0.00158, allocations: 209 kB / 24.48 MB, free: 3.938 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.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.001615/0.001615, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2564, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003046/0.2595, allocations: 1.65 MB / 434 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2617, allocations: 1.193 MB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.2618, allocations: 0 / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.2621, allocations: 31.77 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2623, allocations: 47.7 kB / 435.2 MB, free: 3.793 MB / 334.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.0008077/0.2631, allocations: 303.2 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.2634, allocations: 199.5 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.2635, allocations: 13.27 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.2637, allocations: 95.66 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.2643, allocations: 106.8 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.2644, allocations: 12 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.2649, allocations: 315.4 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-05/0.265, allocations: 47.89 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.2651, allocations: 59.64 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.2656, allocations: 341.6 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2656, allocations: 4 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2656, allocations: 0 / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2656, allocations: 0 / 436.7 MB, free: 2.332 MB / 334.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.001145/0.2667, allocations: 488.9 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2668, allocations: 8.031 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.267, allocations: 36.78 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.2674, allocations: 219 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2675, allocations: 4.375 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.2675, allocations: 16.11 kB / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.2677, allocations: 97.64 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2677, allocations: 3.938 kB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2677, allocations: 8 kB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2677, allocations: 0 / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.2679, allocations: 83.86 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008101/0.2687, allocations: 372.2 kB / 438 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.269, allocations: 110.5 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2691, allocations: 56.83 kB / 438.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2691, allocations: 11.97 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.2693, allocations: 119.3 kB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.2693, allocations: 0 / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004935/0.2698, allocations: 237.5 kB / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.2699, allocations: 59.39 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.2703, allocations: 243.8 kB / 438.8 MB, free: 60 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2703, allocations: 41.7 kB / 438.9 MB, free: 12 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.2704, allocations: 108.1 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.2705, allocations: 47.78 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.2705, allocations: 49.69 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2707, allocations: 330.8 kB / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2708, allocations: 79.95 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.271, allocations: 107.3 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.2713, allocations: 181.6 kB / 439.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2713, allocations: 4 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004379/0.2718, allocations: 257.5 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2718, allocations: 8 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2718, allocations: 0 / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2718, allocations: 3.938 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.272, allocations: 35.92 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.272, allocations: 0 / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.2722, allocations: 31.86 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2722, allocations: 8.031 kB / 440.1 MB, free: 14.75 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.0001317/0.2723, allocations: 141.8 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.2723, allocations: 15.91 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.2724, allocations: 25.39 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2724, allocations: 3.938 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2724, allocations: 0 / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2724, allocations: 0 / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.2726, allocations: 173.3 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2726, allocations: 3.938 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2727, allocations: 19.98 kB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2727, allocations: 0 / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2728, allocations: 4 kB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2728, allocations: 4 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2728, allocations: 3.938 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.2733, allocations: 280.1 kB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.2733, allocations: 31.81 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.2734, allocations: 11.98 kB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2735, allocations: 15.98 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2736, allocations: 19.97 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.2736, allocations: 0 / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.2739, allocations: 193.4 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2739, allocations: 0 / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.2743, allocations: 83.8 kB / 441.1 MB, free: 13.68 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.000639/0.2749, allocations: 266.4 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.2753, allocations: 163.8 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2753, allocations: 0 / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2755, allocations: 67.97 kB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2757, allocations: 22.8 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.2764, allocations: 387.3 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.2765, allocations: 115.3 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.2766, allocations: 15.44 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2766, allocations: 0 / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Templates: time 0.006595/0.2832, allocations: 3.607 MB / 445.7 MB, free: 9.039 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/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: 10.115299629047513]