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.001509/0.001509, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00186/0.00186, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.119/1.119, allocations: 177 MB / 205.1 MB, free: 5.484 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.964e-06/1.964e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.819e-05, allocations: 2.312 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003297/0.003325, allocations: 1.694 MB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.004955, allocations: 1.204 MB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.005037, allocations: 3.938 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.005347, allocations: 39.66 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.005432, allocations: 39.77 kB / 276.3 MB, free: 14.24 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.0005226/0.005955, allocations: 318.9 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.006119, allocations: 151.5 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.006209, allocations: 13.3 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.006373, allocations: 95.72 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.006717, allocations: 105.2 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.006745, allocations: 16 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.007075, allocations: 311.2 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.007139, allocations: 55.81 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.007184, allocations: 43.89 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.007527, allocations: 334.9 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.00753, allocations: 0 / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007531, allocations: 0 / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.007535, allocations: 0 / 277.7 MB, free: 12.83 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.0006192/0.008154, allocations: 0.5539 MB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.008196, allocations: 11.98 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.008337, allocations: 32.78 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.008555, allocations: 205.9 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.008565, allocations: 384 / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.008584, allocations: 16.36 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.993e-05/0.008684, allocations: 62.22 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.008692, allocations: 192 / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.0087, allocations: 384 / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.008708, allocations: 7.938 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.008754, allocations: 19.97 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.009156, allocations: 364 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.673e-05/0.009253, allocations: 59.05 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.009281, allocations: 27.67 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.009289, allocations: 0 / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.436e-05/0.009383, allocations: 96.95 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 9.31e-07/0.009384, allocations: 0 / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001986/0.009583, allocations: 133.6 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.009614, allocations: 59.34 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.009753, allocations: 255.7 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.009773, allocations: 33.7 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.009837, allocations: 170.8 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.00987, allocations: 43.83 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.009925, allocations: 59.31 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.01005, allocations: 0.5001 MB / 280.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.01009, allocations: 19.98 kB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.01014, allocations: 59.31 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.01022, allocations: 79.5 kB / 280.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01022, allocations: 0 / 280.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001537/0.01038, allocations: 149.3 kB / 280.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.01039, allocations: 4 kB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.0104, allocations: 0 / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.01041, allocations: 4.031 kB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01051, allocations: 39.92 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01052, allocations: 4 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.01057, allocations: 15.83 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.01059, allocations: 8 kB / 280.8 MB, free: 9.559 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 9.251e-05/0.01068, allocations: 176.4 kB / 280.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.0107, allocations: 15.91 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.01074, allocations: 25.45 kB / 281 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.01074, allocations: 4 kB / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01074, allocations: 4 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01075, allocations: 0 / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.01095, allocations: 137.1 kB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01095, allocations: 0 / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.01101, allocations: 15.98 kB / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01101, allocations: 0 / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01102, allocations: 4 kB / 281.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.01102, allocations: 4 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01102, allocations: 0 / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.01121, allocations: 172.2 kB / 281.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.01126, allocations: 39.81 kB / 281.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.01128, allocations: 7.984 kB / 281.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.01132, allocations: 4 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.01136, allocations: 11.98 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.01136, allocations: 0 / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.454e-05/0.01145, allocations: 188.3 kB / 281.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01145, allocations: 0 / 281.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01166, allocations: 83.8 kB / 281.6 MB, free: 8.625 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.0004387/0.0121, allocations: 301.3 kB / 281.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01223, allocations: 75.58 kB / 282 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01223, allocations: 4.062 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.01228, allocations: 39.66 kB / 282.1 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.0001576/0.01244, allocations: 23.92 kB / 282.1 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.01283, allocations: 310.8 kB / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.01287, allocations: 79.81 kB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.676e-05/0.01292, allocations: 17.48 kB / 282.5 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.01299, allocations: 90.19 kB / 282.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01299, allocations: 0 / 282.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of Templates: time 0.004996/0.01799, allocations: 3.6 MB / 286.2 MB, free: 4.09 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","",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.597799810115248]