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.0008799/0.0008799, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003244/0.003244, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8783/0.8783, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 2.053e-06/2.053e-06, allocations: 0 / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.369e-05, allocations: 7.203 kB / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.001876/0.0019, allocations: 1.651 MB / 327.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.003322, allocations: 1.184 MB / 328.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.003399, allocations: 4 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.003711, allocations: 39.66 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.003796, allocations: 35.77 kB / 328.7 MB, free: 12.32 MB / 298.7 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.0005468/0.004343, allocations: 314.9 kB / 329 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004524, allocations: 163.4 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.00461, allocations: 21.25 kB / 329.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.004769, allocations: 99.77 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.005166, allocations: 82.72 kB / 329.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.005199, allocations: 16 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.005519, allocations: 311.2 kB / 329.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.005587, allocations: 51.81 kB / 329.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.005639, allocations: 47.89 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.006019, allocations: 366.9 kB / 330.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006023, allocations: 7.984 kB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006024, allocations: 0 / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.006027, allocations: 0 / 330.2 MB, free: 10.87 MB / 298.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.0007045/0.006732, allocations: 492.9 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.006766, allocations: 15.98 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.006889, allocations: 28.78 kB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.007147, allocations: 222.3 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.007162, allocations: 8.375 kB / 330.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.007186, allocations: 12.38 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.007322, allocations: 98.19 kB / 331 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.007331, allocations: 192 / 331 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007343, allocations: 4.375 kB / 331 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.007348, allocations: 7.938 kB / 331 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.007456, allocations: 75.88 kB / 331.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.007928, allocations: 376.3 kB / 331.5 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.008083, allocations: 110.5 kB / 331.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.144e-05/0.008145, allocations: 56.83 kB / 331.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.008154, allocations: 0 / 331.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.008295, allocations: 131.2 kB / 331.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.008296, allocations: 0 / 331.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000297/0.008593, allocations: 225.6 kB / 332 MB, free: 8.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.008625, allocations: 59.41 kB / 332 MB, free: 8.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.008857, allocations: 251.8 kB / 332.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.008878, allocations: 37.7 kB / 332.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.008936, allocations: 112.3 kB / 332.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.008971, allocations: 55.5 kB / 332.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.009022, allocations: 49.7 kB / 332.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.009108, allocations: 330.8 kB / 332.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.009202, allocations: 83.95 kB / 332.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.009304, allocations: 105.7 kB / 333 MB, free: 7.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.00948, allocations: 177.8 kB / 333.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009482, allocations: 3.938 kB / 333.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002439/0.009726, allocations: 257.3 kB / 333.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.009739, allocations: 15.31 kB / 333.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009745, allocations: 0 / 333.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.009756, allocations: 0 / 333.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.009849, allocations: 35.86 kB / 333.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.009853, allocations: 0 / 333.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.009939, allocations: 27.92 kB / 333.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.009949, allocations: 4 kB / 333.5 MB, free: 7.285 MB / 298.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 8.112e-05/0.01003, allocations: 145.7 kB / 333.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.01005, allocations: 19.91 kB / 333.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.01007, allocations: 21.45 kB / 333.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01008, allocations: 4 kB / 333.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01008, allocations: 0 / 333.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01008, allocations: 3.984 kB / 333.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.0102, allocations: 169.2 kB / 333.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.0102, allocations: 3.938 kB / 333.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.01026, allocations: 15.98 kB / 333.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.01026, allocations: 0 / 333.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01027, allocations: 8 kB / 333.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.01027, allocations: 0 / 333.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01028, allocations: 4 kB / 333.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.01056, allocations: 280.8 kB / 334.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.0106, allocations: 31.81 kB / 334.2 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01062, allocations: 7.984 kB / 334.2 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.0107, allocations: 19.98 kB / 334.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.01072, allocations: 8.172 kB / 334.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.01073, allocations: 3.984 kB / 334.3 MB, free: 6.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.01089, allocations: 197.4 kB / 334.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01089, allocations: 0 / 334.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.0111, allocations: 87.8 kB / 334.6 MB, free: 6.223 MB / 298.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.0003473/0.01145, allocations: 272.1 kB / 334.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01168, allocations: 170.8 kB / 335 MB, free: 5.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01168, allocations: 0 / 335 MB, free: 5.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.01175, allocations: 59.91 kB / 335 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.0119, allocations: 22.42 kB / 335.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.01237, allocations: 372.1 kB / 335.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.208e-05/0.01245, allocations: 115.4 kB / 335.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.01249, allocations: 20.5 kB / 335.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01249, allocations: 0 / 335.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of Templates: time 0.00382/0.01631, allocations: 3.649 MB / 339.2 MB, free: 1.52 MB / 298.7 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/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_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: 5.541746102273464]