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.001669/0.001669, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002023/0.002023, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.542/1.542, allocations: 230.6 MB / 254.1 MB, free: 15.1 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1272, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003244/0.1304, allocations: 1.667 MB / 428 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1329, allocations: 1.255 MB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.1329, allocations: 4 kB / 429.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1333, allocations: 39.7 kB / 429.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1334, allocations: 39.75 kB / 429.3 MB, free: 1.762 MB / 350.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.0007971/0.1342, allocations: 283.2 kB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1345, allocations: 187.5 kB / 429.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.1346, allocations: 9.125 kB / 429.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1348, allocations: 87.73 kB / 429.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006862/0.1355, allocations: 127.8 kB / 430 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.1356, allocations: 12 kB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.136, allocations: 287.5 kB / 430.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1361, allocations: 51.83 kB / 430.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.1363, allocations: 71.52 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.1368, allocations: 326.9 kB / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1368, allocations: 0 / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1368, allocations: 3.938 kB / 430.7 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1368, allocations: 7.875 kB / 430.7 MB, free: 348 kB / 350.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.2208/0.3577, allocations: 0.555 MB / 431.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.3577, allocations: 12.31 kB / 431.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.3578, allocations: 38.94 kB / 431.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.358, allocations: 32.06 kB / 431.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.3585, allocations: 264.1 kB / 431.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3585, allocations: 9.188 kB / 431.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.3586, allocations: 7.562 kB / 431.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3588, allocations: 103.2 kB / 431.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3588, allocations: 3.938 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3588, allocations: 2.234 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3588, allocations: 3.656 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.3591, allocations: 82 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008551/0.3599, allocations: 453.4 kB / 432.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.3602, allocations: 118.1 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3604, allocations: 60.97 kB / 432.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3604, allocations: 1.812 kB / 432.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.3606, allocations: 115.2 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/0.3606, allocations: 1.031 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005427/0.3611, allocations: 233.3 kB / 432.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3612, allocations: 63.47 kB / 432.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.3616, allocations: 247 kB / 433.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3616, allocations: 37.27 kB / 433.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.3617, allocations: 118.9 kB / 433.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.3617, allocations: 51.22 kB / 433.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.3618, allocations: 44.97 kB / 433.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.3619, allocations: 336.7 kB / 433.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.362, allocations: 81.03 kB / 433.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.3622, allocations: 103.7 kB / 433.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.3625, allocations: 184.8 kB / 434 MB, free: 9.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3625, allocations: 0 / 434 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004138/0.3629, allocations: 254.8 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3629, allocations: 5.125 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3629, allocations: 1.188 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3629, allocations: 1.859 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3631, allocations: 37.88 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3631, allocations: 5.188 kB / 434.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3633, allocations: 30.64 kB / 434.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3633, allocations: 8.938 kB / 434.4 MB, free: 9.68 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.0001101/0.3634, allocations: 137.8 kB / 434.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.3635, allocations: 16.31 kB / 434.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.3635, allocations: 27.52 kB / 434.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3635, allocations: 1.156 kB / 434.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3635, allocations: 6.156 kB / 434.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3635, allocations: 1.062 kB / 434.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.3637, allocations: 239.1 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3638, allocations: 1.188 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3639, allocations: 17.81 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3639, allocations: 1.922 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3639, allocations: 5.234 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3639, allocations: 1.125 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3639, allocations: 6.562 kB / 434.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.3644, allocations: 282.2 kB / 435.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.3645, allocations: 108.4 kB / 435.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.3645, allocations: 7.312 kB / 435.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3647, allocations: 21.28 kB / 435.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3647, allocations: 13.67 kB / 435.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3647, allocations: 3.938 kB / 435.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002931/0.365, allocations: 187 kB / 435.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.365, allocations: 4.062 kB / 435.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.3654, allocations: 86.8 kB / 435.5 MB, free: 9.078 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.001219/0.3666, allocations: 0.9579 MB / 436.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.367, allocations: 168.4 kB / 436.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.367, allocations: 0 / 436.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3672, allocations: 60.83 kB / 436.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3674, allocations: 21.45 kB / 436.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.3709, allocations: 2.371 MB / 439.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.3711, allocations: 0.7238 MB / 439.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3712, allocations: 37.38 kB / 439.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.3713, allocations: 48.22 kB / 439.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3713, allocations: 0 / 439.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.4071, allocations: 5.154 MB / 445.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.777, allocations: 11.31 kB / 445.1 MB, free: 5.477 MB / 350.1 MB " [Timeout remaining time 651] (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: 12.592354261083528]