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.0007647/0.0007647, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007894/0.0007894, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8859/0.8859, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.522e-06/1.522e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.009e-05, allocations: 7.766 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002148/0.002168, allocations: 1.652 MB / 326.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003639, allocations: 1.196 MB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.003731, allocations: 0 / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.004047, allocations: 39.7 kB / 327.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.683e-05/0.004133, allocations: 35.78 kB / 327.5 MB, free: 13 MB / 298.7 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.0006644/0.004798, allocations: 330.7 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.004977, allocations: 143.6 kB / 328 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.12e-05/0.005058, allocations: 17.25 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.005229, allocations: 99.7 kB / 328.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.005563, allocations: 99.73 kB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.005595, allocations: 12 kB / 328.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.005966, allocations: 307.3 kB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.006038, allocations: 55.81 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.00609, allocations: 51.83 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.006487, allocations: 367 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006489, allocations: 0 / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00649, allocations: 0 / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006495, allocations: 0 / 328.9 MB, free: 11.55 MB / 298.7 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.0007711/0.007266, allocations: 496.2 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.007299, allocations: 8.031 kB / 329.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.007332, allocations: 42.69 kB / 329.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.007453, allocations: 32.78 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.007732, allocations: 214.3 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.007747, allocations: 4.375 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.007767, allocations: 8.375 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.007912, allocations: 117.9 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.007921, allocations: 0 / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.007931, allocations: 0 / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.007936, allocations: 0 / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.00805, allocations: 83.88 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.008555, allocations: 395.7 kB / 330.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.008724, allocations: 118.5 kB / 330.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.008786, allocations: 60.86 kB / 330.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.008796, allocations: 0 / 330.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.008934, allocations: 115.3 kB / 330.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.008935, allocations: 0 / 330.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003051/0.00924, allocations: 233.5 kB / 330.8 MB, free: 9.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.009278, allocations: 63.39 kB / 330.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.0095, allocations: 247.9 kB / 331.1 MB, free: 9.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.009521, allocations: 33.7 kB / 331.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.009577, allocations: 116.1 kB / 331.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.00962, allocations: 51.77 kB / 331.3 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.009673, allocations: 45.69 kB / 331.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.009758, allocations: 330.8 kB / 331.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.009856, allocations: 87.81 kB / 331.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.00996, allocations: 106.7 kB / 331.9 MB, free: 8.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.01015, allocations: 187 kB / 332.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01015, allocations: 3.938 kB / 332.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000263/0.01041, allocations: 257.4 kB / 332.3 MB, free: 7.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01043, allocations: 6.969 kB / 332.3 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.01043, allocations: 3.984 kB / 332.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01045, allocations: 4 kB / 332.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.01055, allocations: 31.86 kB / 332.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.01055, allocations: 0 / 332.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.01065, allocations: 35.89 kB / 332.4 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01066, allocations: 8 kB / 332.4 MB, free: 7.871 MB / 298.7 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 8.963e-05/0.01075, allocations: 137.8 kB / 332.5 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.01077, allocations: 15.91 kB / 332.6 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.0108, allocations: 21.45 kB / 332.6 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.0108, allocations: 4 kB / 332.6 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01081, allocations: 3.938 kB / 332.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01081, allocations: 0 / 332.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.01097, allocations: 212.6 kB / 332.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01097, allocations: 0 / 332.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.01104, allocations: 15.98 kB / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01104, allocations: 0 / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01105, allocations: 0 / 332.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01105, allocations: 4 kB / 332.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01105, allocations: 3.938 kB / 332.8 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.01135, allocations: 272.9 kB / 333.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.0114, allocations: 31.86 kB / 333.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.01142, allocations: 8 kB / 333.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.01149, allocations: 24.03 kB / 333.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.01153, allocations: 11.92 kB / 333.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01154, allocations: 4 kB / 333.2 MB, free: 7.051 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.0117, allocations: 193.4 kB / 333.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0117, allocations: 0 / 333.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01194, allocations: 87.8 kB / 333.4 MB, free: 6.777 MB / 298.7 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.000773/0.01272, allocations: 0.986 MB / 334.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.01294, allocations: 163.9 kB / 334.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01294, allocations: 0 / 334.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.182e-05/0.01301, allocations: 59.91 kB / 334.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.01317, allocations: 27.7 kB / 334.7 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.01529, allocations: 2.361 MB / 337 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.252e-05/0.01537, allocations: 111.4 kB / 337.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.77e-05/0.01543, allocations: 37.41 kB / 337.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.01551, allocations: 48.48 kB / 337.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01551, allocations: 0 / 337.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.03369, allocations: 5.974 MB / 343.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.038, allocations: 0 / 343.2 MB, free: 13.02 MB / 314.7 MB " [Timeout remaining time 653] (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/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] "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: 11.240254483185709]