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.001924/0.001924, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001936/0.001936, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.69/1.69, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 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 2.274e-06/2.274e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.256e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003348/0.00338, allocations: 1.672 MB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.006066, allocations: 1.204 MB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.006185, allocations: 3.938 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.00658, allocations: 39.7 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.006727, allocations: 35.78 kB / 275.1 MB, free: 14.82 MB / 266.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.001026/0.007753, allocations: 322.8 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.008156, allocations: 147.6 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.008291, allocations: 17.3 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.008603, allocations: 95.72 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.009409, allocations: 107.2 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.009455, allocations: 12 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.01011, allocations: 315.2 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01023, allocations: 55.81 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.01033, allocations: 47.83 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.01108, allocations: 362.9 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.01109, allocations: 4 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01109, allocations: 0 / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.0111, allocations: 0 / 276.6 MB, free: 13.37 MB / 266.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.00125/0.01235, allocations: 0.5692 MB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.01239, allocations: 11.98 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.01264, allocations: 44.78 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.01306, allocations: 201.1 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.01308, allocations: 4.375 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.01311, allocations: 8.375 kB / 277.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.01331, allocations: 74.16 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.01332, allocations: 4.188 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.01334, allocations: 4.375 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.01334, allocations: 3.938 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.01351, allocations: 47.95 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.01444, allocations: 407.5 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.01469, allocations: 90.97 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.01479, allocations: 39.66 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.01481, allocations: 0 / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.01504, allocations: 101 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.01504, allocations: 0 / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004775/0.01552, allocations: 173.5 kB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.01558, allocations: 59.34 kB / 278.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.016, allocations: 291.8 kB / 278.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.01605, allocations: 37.69 kB / 278.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.0162, allocations: 174.9 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.01627, allocations: 47.64 kB / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.01638, allocations: 63.36 kB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/0.0167, allocations: 0.5079 MB / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01683, allocations: 39.98 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.01699, allocations: 71.34 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.01724, allocations: 115.3 kB / 279.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.01725, allocations: 11.88 kB / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004057/0.01765, allocations: 173.7 kB / 279.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.01768, allocations: 8 kB / 279.9 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.01769, allocations: 3.984 kB / 279.9 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.0177, allocations: 4 kB / 279.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.01792, allocations: 39.92 kB / 280 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01793, allocations: 0 / 280 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.01808, allocations: 23.88 kB / 280 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.0181, allocations: 4 kB / 280 MB, free: 9.738 MB / 266.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 0.0001716/0.01827, allocations: 180.5 kB / 280.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.01832, allocations: 23.89 kB / 280.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.01838, allocations: 21.47 kB / 280.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01838, allocations: 0 / 280.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01839, allocations: 0 / 280.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.01839, allocations: 4 kB / 280.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.01867, allocations: 188.5 kB / 280.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01867, allocations: 0 / 280.4 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.01879, allocations: 16 kB / 280.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.0188, allocations: 3.984 kB / 280.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01882, allocations: 0 / 280.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01882, allocations: 4 kB / 280.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01882, allocations: 4 kB / 280.4 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.0193, allocations: 223.3 kB / 280.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.01941, allocations: 35.78 kB / 280.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.01945, allocations: 8 kB / 280.7 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.01959, allocations: 7.984 kB / 280.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.01964, allocations: 7.984 kB / 280.7 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01966, allocations: 7.984 kB / 280.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002791/0.01994, allocations: 212.3 kB / 280.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01994, allocations: 4.031 kB / 280.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000444/0.02038, allocations: 87.8 kB / 281 MB, free: 8.656 MB / 266.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.0009271/0.02131, allocations: 280.4 kB / 281.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.02168, allocations: 119.5 kB / 281.4 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02168, allocations: 0 / 281.4 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.02181, allocations: 51.41 kB / 281.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.02211, allocations: 31.78 kB / 281.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.02291, allocations: 318.9 kB / 281.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.02304, allocations: 115.5 kB / 281.9 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.582e-05/0.02314, allocations: 25.45 kB / 282 MB, free: 7.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.02321, allocations: 16.5 kB / 282 MB, free: 7.68 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02321, allocations: 0 / 282 MB, free: 7.68 MB / 266.7 MB Notification: Performance of Templates: time 0.009039/0.03225, allocations: 3.24 MB / 285.2 MB, free: 4.461 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 240] 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.412902154959738]