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.001749/0.001749, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002247/0.002247, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.448/1.448, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.0015/0.0015, allocations: 55.86 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1236, allocations: 53.33 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003069/0.1267, allocations: 1.667 MB / 428 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.129, allocations: 1.267 MB / 429.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1291, allocations: 4 kB / 429.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1295, allocations: 35.77 kB / 429.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1296, allocations: 35.78 kB / 429.3 MB, free: 1.746 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.0008317/0.1304, allocations: 291.1 kB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.1307, allocations: 179.5 kB / 429.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1308, allocations: 17.05 kB / 429.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.131, allocations: 87.73 kB / 429.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.1317, allocations: 116 kB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.1317, allocations: 16 kB / 430 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.1322, allocations: 287.5 kB / 430.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.1323, allocations: 51.83 kB / 430.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.1323, allocations: 63.59 kB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.1329, allocations: 334.8 kB / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1329, allocations: 0 / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1329, allocations: 0 / 430.7 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1329, allocations: 3.938 kB / 430.7 MB, free: 340 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.186/0.3189, allocations: 0.5499 MB / 431.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.3189, allocations: 12.84 kB / 431.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.319, allocations: 38.75 kB / 431.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.3192, allocations: 32.2 kB / 431.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.3198, allocations: 269 kB / 431.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3198, allocations: 8.516 kB / 431.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.3198, allocations: 10.7 kB / 431.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3201, allocations: 98.41 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3201, allocations: 5.453 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3201, allocations: 4.781 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3201, allocations: 1.875 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.3203, allocations: 80.03 kB / 431.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.3212, allocations: 457.2 kB / 432.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.3215, allocations: 114.5 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3216, allocations: 60 kB / 432.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3216, allocations: 0 / 432.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.3218, allocations: 114.9 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.3218, allocations: 3.719 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005647/0.3224, allocations: 244.6 kB / 432.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3224, allocations: 56.03 kB / 432.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.3228, allocations: 251.5 kB / 433.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3229, allocations: 35.86 kB / 433.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.3229, allocations: 111.8 kB / 433.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.323, allocations: 48.77 kB / 433.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.3231, allocations: 45.52 kB / 433.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.3231, allocations: 336.6 kB / 433.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3233, allocations: 83.09 kB / 433.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3234, allocations: 100.7 kB / 433.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.3237, allocations: 186.9 kB / 434 MB, free: 9.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3237, allocations: 1.125 kB / 434 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004038/0.3241, allocations: 258 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3241, allocations: 6.391 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3241, allocations: 1.688 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3241, allocations: 2.406 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3243, allocations: 31.72 kB / 434.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3243, allocations: 5.469 kB / 434.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3245, allocations: 34.41 kB / 434.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3245, allocations: 10.53 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 9.978e-05/0.3246, allocations: 138.3 kB / 434.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3247, allocations: 16.09 kB / 434.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.3247, allocations: 23.14 kB / 434.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3247, allocations: 1.906 kB / 434.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3247, allocations: 4.5 kB / 434.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3247, allocations: 1.344 kB / 434.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3249, allocations: 245.1 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3249, allocations: 0 / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.325, allocations: 18.34 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.325, allocations: 4.781 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3251, allocations: 5.984 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3251, allocations: 1.062 kB / 434.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3251, allocations: 3.938 kB / 434.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.3255, allocations: 271.6 kB / 435.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.3256, allocations: 115 kB / 435.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3256, allocations: 10.39 kB / 435.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3258, allocations: 18.61 kB / 435.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.3258, allocations: 18.48 kB / 435.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3258, allocations: 3.375 kB / 435.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002906/0.3261, allocations: 183.4 kB / 435.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3261, allocations: 0 / 435.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.3265, allocations: 92.22 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.001148/0.3276, allocations: 0.9633 MB / 436.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003624/0.328, allocations: 165 kB / 436.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.328, allocations: 0 / 436.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3281, allocations: 62.39 kB / 436.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.3284, allocations: 22.16 kB / 436.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.3315, allocations: 2.37 MB / 439.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.3317, allocations: 0.7267 MB / 439.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.3318, allocations: 32.03 kB / 439.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.3319, allocations: 48.47 kB / 439.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3319, allocations: 4 kB / 439.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.3722, allocations: 5.142 MB / 445.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.545/8.917, allocations: 19.34 kB / 445.1 MB, free: 5.449 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00249994 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.csv","/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] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.538924049993511]