Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2787, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003223/0.2819, allocations: 1.649 MB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.2843, allocations: 1.189 MB / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2844, allocations: 0 / 435.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.2847, allocations: 31.72 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.2849, allocations: 47.75 kB / 435.2 MB, free: 3.781 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.0008975/0.2858, allocations: 311.1 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.2861, allocations: 199.5 kB / 435.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2862, allocations: 13.27 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.2865, allocations: 91.67 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006893/0.2872, allocations: 111.6 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.211e-05/0.2873, allocations: 15.98 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.2879, allocations: 327.4 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.288, allocations: 51.83 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.2881, allocations: 59.7 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.2887, allocations: 329.7 kB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2887, allocations: 0 / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2887, allocations: 0 / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2887, allocations: 0 / 436.7 MB, free: 2.305 MB / 334.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.001347/0.2901, allocations: 496.9 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2901, allocations: 11.97 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.2903, allocations: 36.78 kB / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.2908, allocations: 215.1 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2908, allocations: 4.375 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.2909, allocations: 12.12 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.2911, allocations: 101.6 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2911, allocations: 4 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2911, allocations: 4 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2911, allocations: 0 / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.2913, allocations: 79.88 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.2921, allocations: 376.2 kB / 438 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.2924, allocations: 110.5 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2925, allocations: 60.86 kB / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2925, allocations: 0 / 438.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.2928, allocations: 119.3 kB / 438.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2928, allocations: 0 / 438.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005146/0.2933, allocations: 241.1 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.2933, allocations: 59.41 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.2937, allocations: 251.8 kB / 438.9 MB, free: 28 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.2938, allocations: 33.8 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.2939, allocations: 116.1 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.2939, allocations: 47.78 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.294, allocations: 41.7 kB / 439.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2942, allocations: 338.8 kB / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.2943, allocations: 79.95 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.2945, allocations: 107.3 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.2948, allocations: 181.6 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2948, allocations: 0 / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004584/0.2953, allocations: 263.6 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2953, allocations: 6.969 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2953, allocations: 4 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.2953, allocations: 7.938 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2955, allocations: 27.92 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.2955, allocations: 4 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2957, allocations: 39.83 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2957, allocations: 4 kB / 440.1 MB, free: 14.71 MB / 350.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.0001391/0.2959, allocations: 145.8 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2959, allocations: 11.91 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.296, allocations: 25.45 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.296, allocations: 3.938 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.296, allocations: 0 / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.296, allocations: 0 / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.2962, allocations: 173.2 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2962, allocations: 0 / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.2963, allocations: 15.98 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2963, allocations: 4 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2963, allocations: 4 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2963, allocations: 0 / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2963, allocations: 3.938 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.2968, allocations: 276.9 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.2969, allocations: 35.81 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.297, allocations: 12.06 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.2971, allocations: 15.97 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.2972, allocations: 11.92 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2972, allocations: 4 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.2975, allocations: 193.4 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2975, allocations: 0 / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.2979, allocations: 83.8 kB / 441.1 MB, free: 13.66 MB / 350.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.0006398/0.2985, allocations: 271.2 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004049/0.299, allocations: 171.7 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.299, allocations: 3.938 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.2991, allocations: 59.97 kB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2993, allocations: 14.81 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.3, allocations: 391.3 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3001, allocations: 119.4 kB / 442.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.3002, allocations: 23.42 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3002, allocations: 0 / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of Templates: time 0.006381/0.3066, allocations: 3.591 MB / 445.8 MB, free: 9.008 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 9.998837513994658]