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.001381/0.001381, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001424/0.001424, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 7.742 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 51.92 kB / 378.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2541, allocations: 53.37 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002882/0.257, allocations: 1.638 MB / 433.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2591, allocations: 1.185 MB / 434.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.2592, allocations: 4 kB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.2595, allocations: 35.72 kB / 434.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2596, allocations: 39.75 kB / 434.8 MB, free: 3.738 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.0008188/0.2604, allocations: 303.2 kB / 435.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.2608, allocations: 203.4 kB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2609, allocations: 25.23 kB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.2611, allocations: 83.73 kB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.2618, allocations: 111.6 kB / 435.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.2618, allocations: 12 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.2624, allocations: 327.4 kB / 435.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2625, allocations: 55.81 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.2626, allocations: 63.64 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.2631, allocations: 329.2 kB / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2631, allocations: 0 / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2631, allocations: 0 / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2631, allocations: 0 / 436.3 MB, free: 2.254 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.001216/0.2644, allocations: 0.4891 MB / 436.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2644, allocations: 15.97 kB / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.2644, allocations: 192 / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2645, allocations: 38.75 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.2647, allocations: 28.78 kB / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.2651, allocations: 211.1 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2651, allocations: 8.125 kB / 437 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.2651, allocations: 15.98 kB / 437.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.2654, allocations: 105.6 kB / 437.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2654, allocations: 3.938 kB / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2654, allocations: 4 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2654, allocations: 4 kB / 437.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.2656, allocations: 75.94 kB / 437.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.2664, allocations: 395.7 kB / 437.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.2667, allocations: 122.4 kB / 437.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.2668, allocations: 56.83 kB / 437.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.2668, allocations: 0 / 437.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.267, allocations: 115.3 kB / 437.9 MB, free: 460 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.267, allocations: 0 / 437.9 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000498/0.2675, allocations: 240.7 kB / 438.1 MB, free: 216 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.2676, allocations: 55.41 kB / 438.2 MB, free: 148 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.268, allocations: 247.8 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.2681, allocations: 41.69 kB / 438.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.2681, allocations: 116.1 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.2682, allocations: 43.77 kB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.2683, allocations: 49.7 kB / 438.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2684, allocations: 326.8 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2686, allocations: 87.94 kB / 439.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.2688, allocations: 109.5 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2691, allocations: 185.6 kB / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2691, allocations: 0 / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004367/0.2695, allocations: 253.3 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2695, allocations: 11.94 kB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2695, allocations: 0 / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2695, allocations: 3.984 kB / 439.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.2697, allocations: 31.97 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2697, allocations: 4.078 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.2699, allocations: 39.83 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.2699, allocations: 4 kB / 439.7 MB, free: 14.57 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.0001308/0.2701, allocations: 138 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.2701, allocations: 19.84 kB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.2702, allocations: 21.47 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2702, allocations: 0 / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2702, allocations: 11.98 kB / 439.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2702, allocations: 0 / 439.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.2704, allocations: 200.6 kB / 440.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2704, allocations: 0 / 440.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2705, allocations: 19.98 kB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2705, allocations: 3.938 kB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2705, allocations: 0 / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2705, allocations: 0 / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2705, allocations: 4 kB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.271, allocations: 276.9 kB / 440.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2711, allocations: 31.78 kB / 440.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.2711, allocations: 12.05 kB / 440.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2713, allocations: 19.98 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.2713, allocations: 7.922 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2714, allocations: 11.98 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003214/0.2717, allocations: 189.4 kB / 440.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2717, allocations: 0 / 440.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.272, allocations: 87.8 kB / 440.8 MB, free: 13.46 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.00134/0.2734, allocations: 0.9736 MB / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.2737, allocations: 167.9 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2737, allocations: 0 / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2739, allocations: 55.95 kB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2741, allocations: 20 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2775, allocations: 2.379 MB / 444.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.2776, allocations: 111.3 kB / 444.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.861e-05/0.2777, allocations: 37.39 kB / 444.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.2778, allocations: 47.42 kB / 444.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2778, allocations: 0 / 444.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.3059, allocations: 5.465 MB / 450 MB, free: 4.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.95, allocations: 6.812 kB / 450 MB, free: 4.277 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] 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: 14.34462521597743]