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.001409/0.001409, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001441/0.001441, allocations: 214.6 kB / 23.75 MB, free: 4.668 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001568/0.001568, allocations: 47.92 kB / 378.3 MB, free: 2.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2969, allocations: 53.36 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003114/0.3, allocations: 1.681 MB / 433.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.3023, allocations: 1.282 MB / 434.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.3024, allocations: 4 kB / 434.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.3028, allocations: 31.78 kB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.303, allocations: 35.77 kB / 434.7 MB, free: 3.871 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.0008137/0.3038, allocations: 315 kB / 435 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.3042, allocations: 203.5 kB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3043, allocations: 13.27 kB / 435.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.3045, allocations: 99.64 kB / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.3051, allocations: 105.5 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.3052, allocations: 12 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.3057, allocations: 323.4 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3058, allocations: 55.81 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.3059, allocations: 67.59 kB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.3065, allocations: 336.1 kB / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3065, allocations: 0 / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3065, allocations: 0 / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3065, allocations: 0 / 436.2 MB, free: 2.379 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.001224/0.3077, allocations: 492.9 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3078, allocations: 12.03 kB / 436.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.308, allocations: 32.77 kB / 436.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.3085, allocations: 219 kB / 436.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3085, allocations: 8.375 kB / 436.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.3085, allocations: 12.12 kB / 436.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.3087, allocations: 108.2 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3087, allocations: 0 / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3088, allocations: 4 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3088, allocations: 4 kB / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.309, allocations: 75.94 kB / 437.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009258/0.3099, allocations: 439.5 kB / 437.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.3102, allocations: 114.5 kB / 437.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3103, allocations: 52.83 kB / 437.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3103, allocations: 4 kB / 437.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.3106, allocations: 127.2 kB / 437.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.3106, allocations: 0 / 437.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005242/0.3111, allocations: 233.6 kB / 438 MB, free: 360 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.3112, allocations: 59.39 kB / 438.1 MB, free: 288 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.3116, allocations: 239.8 kB / 438.3 MB, free: 40 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.3117, allocations: 33.75 kB / 438.4 MB, free: 16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3118, allocations: 120 kB / 438.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.3118, allocations: 51.77 kB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.3119, allocations: 49.69 kB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3121, allocations: 334.8 kB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3122, allocations: 79.95 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3124, allocations: 107.2 kB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3127, allocations: 181.6 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3127, allocations: 0 / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004367/0.3132, allocations: 257.3 kB / 439.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3132, allocations: 4 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3132, allocations: 3.938 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3132, allocations: 4 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.3134, allocations: 35.91 kB / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3134, allocations: 0 / 439.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3136, allocations: 31.84 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3136, allocations: 12 kB / 439.6 MB, free: 14.72 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.0001347/0.3137, allocations: 129.8 kB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.3138, allocations: 19.89 kB / 439.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/0.3138, allocations: 25.41 kB / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3138, allocations: 4 kB / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3138, allocations: 0 / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3138, allocations: 4 kB / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.3141, allocations: 216.5 kB / 440 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3141, allocations: 0 / 440 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3142, allocations: 15.98 kB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3142, allocations: 3.984 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3142, allocations: 7.938 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3142, allocations: 4 kB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3142, allocations: 0 / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.3148, allocations: 280.9 kB / 440.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.3149, allocations: 35.81 kB / 440.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.3149, allocations: 15.92 kB / 440.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.3151, allocations: 15.98 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.3151, allocations: 11.97 kB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3151, allocations: 4 kB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003421/0.3155, allocations: 193.5 kB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3155, allocations: 0 / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.3158, allocations: 83.8 kB / 440.7 MB, free: 13.6 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.0006338/0.3165, allocations: 261.5 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.3169, allocations: 166.1 kB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3169, allocations: 0 / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.317, allocations: 59.91 kB / 441.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3172, allocations: 18.64 kB / 441.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.318, allocations: 361.8 kB / 441.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.3186, allocations: 0.7241 MB / 442.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.929e-05/0.3187, allocations: 33.39 kB / 442.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.3187, allocations: 23.38 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3187, allocations: 0 / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Templates: time 0.007797/0.3265, allocations: 3.139 MB / 445.4 MB, free: 8.816 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/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_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: 5.132701329886913]