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.001357/0.001357, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001537/0.001537, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.494/1.494, allocations: 230.2 MB / 255.2 MB, free: 15.4 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.001902/0.001902, allocations: 63.91 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1055, allocations: 53.32 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003035/0.1086, allocations: 1.667 MB / 429.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1108, allocations: 1.266 MB / 430.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.1109, allocations: 4 kB / 430.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1112, allocations: 27.78 kB / 430.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1114, allocations: 39.77 kB / 430.8 MB, free: 1.484 MB / 350.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.0007937/0.1122, allocations: 291.1 kB / 431.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1124, allocations: 179.5 kB / 431.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.1125, allocations: 9.109 kB / 431.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.1127, allocations: 91.73 kB / 431.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006227/0.1133, allocations: 121.2 kB / 431.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1134, allocations: 12 kB / 431.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.1138, allocations: 283.5 kB / 431.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.1139, allocations: 55.77 kB / 431.9 MB, free: 476 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.14e-05/0.114, allocations: 67.58 kB / 431.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.1145, allocations: 334.8 kB / 432.3 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1145, allocations: 0 / 432.3 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1145, allocations: 0 / 432.3 MB, free: 72 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1145, allocations: 3.938 kB / 432.3 MB, free: 68 kB / 350.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.001226/0.1158, allocations: 0.5567 MB / 432.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1158, allocations: 11.97 kB / 432.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.116, allocations: 36.78 kB / 432.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.1165, allocations: 265.1 kB / 433.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1165, allocations: 4.375 kB / 433.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1166, allocations: 16.3 kB / 433.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1168, allocations: 111.6 kB / 433.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1168, allocations: 0 / 433.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1168, allocations: 0 / 433.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1168, allocations: 3.938 kB / 433.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.117, allocations: 79.94 kB / 433.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/0.1179, allocations: 448.5 kB / 433.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1182, allocations: 122.5 kB / 433.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1183, allocations: 52.83 kB / 433.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1183, allocations: 0 / 433.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1185, allocations: 119.4 kB / 434.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1185, allocations: 0 / 434.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005304/0.1191, allocations: 243.9 kB / 434.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.1191, allocations: 59.39 kB / 434.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.1196, allocations: 251.7 kB / 434.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1196, allocations: 37.7 kB / 434.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.1197, allocations: 112.1 kB / 434.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.1197, allocations: 43.78 kB / 434.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.1198, allocations: 45.7 kB / 434.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.12, allocations: 338.8 kB / 435.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.1202, allocations: 79.95 kB / 435.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1203, allocations: 109.6 kB / 435.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.1207, allocations: 181.8 kB / 435.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1207, allocations: 0 / 435.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004573/0.1211, allocations: 261.3 kB / 435.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1211, allocations: 4 kB / 435.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1211, allocations: 4 kB / 435.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1212, allocations: 0 / 435.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1213, allocations: 31.92 kB / 435.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1214, allocations: 3.938 kB / 435.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1216, allocations: 35.86 kB / 435.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1216, allocations: 4 kB / 435.9 MB, free: 12.22 MB / 366.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.0001456/0.1217, allocations: 141.9 kB / 436 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.1218, allocations: 15.91 kB / 436 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.1218, allocations: 21.52 kB / 436 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1218, allocations: 3.938 kB / 436 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1218, allocations: 0 / 436 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1218, allocations: 3.938 kB / 436.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.1222, allocations: 249.4 kB / 436.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1222, allocations: 0 / 436.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1223, allocations: 20.02 kB / 436.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1223, allocations: 7.938 kB / 436.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1223, allocations: 4 kB / 436.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1223, allocations: 3.938 kB / 436.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1223, allocations: 0 / 436.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.1228, allocations: 272.9 kB / 436.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.123, allocations: 109 kB / 436.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.123, allocations: 11.98 kB / 436.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1232, allocations: 23.98 kB / 436.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.1232, allocations: 15.92 kB / 436.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1232, allocations: 0 / 436.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003777/0.1236, allocations: 189.5 kB / 436.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1236, allocations: 0 / 436.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.124, allocations: 87.8 kB / 437 MB, free: 10.96 MB / 366.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.0006876/0.1247, allocations: 264.7 kB / 437.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.1251, allocations: 162.3 kB / 437.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1251, allocations: 0 / 437.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1252, allocations: 67.89 kB / 437.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1254, allocations: 16 kB / 437.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.1262, allocations: 379.2 kB / 437.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.1266, allocations: 0.7281 MB / 438.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.1267, allocations: 23.36 kB / 438.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1267, allocations: 0 / 438.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Templates: time 0.00671/0.1334, allocations: 3.55 MB / 442.2 MB, free: 5.754 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.196945194154978]