Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2308, allocations: 53.4 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.0029/0.2337, allocations: 1.676 MB / 434.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.236, allocations: 1.282 MB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2361, allocations: 3.938 kB / 435.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.2365, allocations: 35.78 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.2366, allocations: 35.77 kB / 435.5 MB, free: 3.73 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.000964/0.2376, allocations: 315 kB / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.2379, allocations: 195.6 kB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.238, allocations: 13.27 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.2383, allocations: 103.6 kB / 436.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006358/0.2389, allocations: 118.3 kB / 436.2 MB, free: 3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.239, allocations: 16 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005926/0.2396, allocations: 319.4 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2397, allocations: 59.75 kB / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/0.2398, allocations: 63.59 kB / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.2404, allocations: 340 kB / 437 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2404, allocations: 0 / 437 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2404, allocations: 0 / 437 MB, free: 2.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2404, allocations: 0 / 437 MB, free: 2.227 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.00126/0.2416, allocations: 488.9 kB / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2417, allocations: 12.02 kB / 437.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.2419, allocations: 28.8 kB / 437.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.2424, allocations: 219.1 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.2424, allocations: 8.375 kB / 437.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2424, allocations: 8.359 kB / 437.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2427, allocations: 109.9 kB / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2427, allocations: 3.938 kB / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2427, allocations: 0 / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2427, allocations: 3.984 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.2429, allocations: 83.92 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008937/0.2438, allocations: 423.5 kB / 438.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.2441, allocations: 118.5 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2442, allocations: 60.83 kB / 438.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2442, allocations: 3.984 kB / 438.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.2445, allocations: 111.3 kB / 438.6 MB, free: 460 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2445, allocations: 0 / 438.6 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005618/0.245, allocations: 237.1 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.2451, allocations: 63.39 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.2456, allocations: 247.8 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.2456, allocations: 33.7 kB / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.2457, allocations: 116.1 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2458, allocations: 43.78 kB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.2459, allocations: 49.69 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2461, allocations: 334.8 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.2463, allocations: 87.94 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.2465, allocations: 109.4 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.2468, allocations: 185.7 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2468, allocations: 0 / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004653/0.2473, allocations: 249.3 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2473, allocations: 12.03 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2473, allocations: 0 / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2473, allocations: 0 / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.2475, allocations: 39.91 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2475, allocations: 0 / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2477, allocations: 27.81 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2478, allocations: 11.98 kB / 440.4 MB, free: 14.58 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.0001552/0.2479, allocations: 141.8 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2479, allocations: 15.91 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.248, allocations: 21.47 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.248, allocations: 3.938 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.248, allocations: 0 / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.248, allocations: 3.984 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.2483, allocations: 208.7 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2483, allocations: 3.938 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2484, allocations: 19.98 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2484, allocations: 4 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.2484, allocations: 11.98 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.2485, allocations: 7.875 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2485, allocations: 0 / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.249, allocations: 268.9 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.2491, allocations: 35.8 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.2491, allocations: 8 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.2493, allocations: 27.97 kB / 441.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2493, allocations: 7.984 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2493, allocations: 4 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003443/0.2497, allocations: 189.4 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2497, allocations: 0 / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.2501, allocations: 87.8 kB / 441.5 MB, free: 13.46 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.0007016/0.2508, allocations: 256.1 kB / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.2512, allocations: 175.4 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2512, allocations: 0 / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.2513, allocations: 59.91 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.2516, allocations: 18.73 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008124/0.2524, allocations: 391.5 kB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2528, allocations: 0.7319 MB / 443.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.2528, allocations: 15.44 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2528, allocations: 0 / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Templates: time 0.007376/0.2602, allocations: 3.563 MB / 446.7 MB, free: 8.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.033366388874128]