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.0009702/0.0009702, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001198/0.001198, allocations: 165 kB / 24.91 MB, free: 9.195 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.961/0.961, allocations: 177 MB / 205.2 MB, free: 5.473 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.693e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002896/0.002923, allocations: 1.726 MB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.004393, allocations: 1.235 MB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.004454, allocations: 0 / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.004681, allocations: 35.72 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.554e-05/0.004757, allocations: 39.7 kB / 276.5 MB, free: 14.12 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.0004772/0.005234, allocations: 298.9 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.005383, allocations: 155.5 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.005438, allocations: 13.91 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.005566, allocations: 99.77 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.005831, allocations: 93.67 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.005856, allocations: 16 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.006231, allocations: 339.2 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.006282, allocations: 55.81 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.006321, allocations: 47.83 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.006642, allocations: 330.9 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006643, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006644, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.006648, allocations: 0 / 277.9 MB, free: 12.71 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.0004291/0.007077, allocations: 431.5 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.334e-05/0.007101, allocations: 15.98 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.007221, allocations: 32.84 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.007387, allocations: 187.1 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.007395, allocations: 4.375 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.007411, allocations: 12.38 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.00749, allocations: 65.03 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.007497, allocations: 192 / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.007505, allocations: 4.375 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.00751, allocations: 3.938 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.007553, allocations: 27.92 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.007894, allocations: 253.7 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.3e-05/0.007987, allocations: 96.12 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.008014, allocations: 28.47 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.008022, allocations: 8.031 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.024e-05/0.008112, allocations: 86.16 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.008113, allocations: 0 / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001406/0.008254, allocations: 93.67 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.008287, allocations: 59.39 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.008393, allocations: 188.5 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.008413, allocations: 41.69 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.008455, allocations: 108 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.008484, allocations: 39.81 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.008529, allocations: 45.67 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.008599, allocations: 334.8 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.008631, allocations: 18.83 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.008676, allocations: 45.67 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.008759, allocations: 87.45 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.00876, allocations: 0 / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001195/0.008879, allocations: 116.3 kB / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.00889, allocations: 8 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.008895, allocations: 3.984 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.008904, allocations: 0 / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.009002, allocations: 35.95 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.009005, allocations: 8 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.009062, allocations: 23.78 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.009072, allocations: 4 kB / 280.3 MB, free: 10.07 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,whiteNoise.localSeed,globalSeed.seed,whiteNoise.actualGlobalSeed,globalSeed.id_impure,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 7.115e-05/0.009143, allocations: 132.5 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.00916, allocations: 15.98 kB / 280.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.009187, allocations: 17.47 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.009189, allocations: 0 / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.00919, allocations: 0 / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.009193, allocations: 4 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.283e-05/0.009286, allocations: 101.8 kB / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.009287, allocations: 4 kB / 280.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/0.009336, allocations: 11.98 kB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.009339, allocations: 7.938 kB / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.009347, allocations: 0 / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009348, allocations: 0 / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009349, allocations: 0 / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.009488, allocations: 133.5 kB / 280.8 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.009529, allocations: 35.72 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.009548, allocations: 8 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.009595, allocations: 8.016 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.009623, allocations: 7.984 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.00963, allocations: 8 kB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.009683, allocations: 66.03 kB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009683, allocations: 0 / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.009876, allocations: 87.8 kB / 281 MB, free: 9.383 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.0004225/0.0103, allocations: 295.6 kB / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.01042, allocations: 72.77 kB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01042, allocations: 4 kB / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.01046, allocations: 32.91 kB / 281.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.01057, allocations: 25.84 kB / 281.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.01096, allocations: 316 kB / 281.7 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.011, allocations: 75.83 kB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.01106, allocations: 21.47 kB / 281.8 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.01113, allocations: 67.36 kB / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01113, allocations: 4 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of Templates: time 0.004972/0.0161, allocations: 3.554 MB / 285.4 MB, free: 4.938 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0449042972177267]