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.001641/0.001641, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.001585/0.001585, allocations: 214.6 kB / 23.73 MB, free: 4.523 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001551/0.001551, allocations: 59.91 kB / 377.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 53.35 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003034/0.2746, allocations: 1.65 MB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.2768, allocations: 1.189 MB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.2769, allocations: 0 / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.2773, allocations: 35.72 kB / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2774, allocations: 39.77 kB / 434 MB, free: 3.746 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.0008289/0.2782, allocations: 311.1 kB / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.2785, allocations: 199.5 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.2786, allocations: 9.266 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2788, allocations: 99.64 kB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.2795, allocations: 109.1 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.2795, allocations: 16 kB / 434.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.2801, allocations: 311.4 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2802, allocations: 51.81 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.2803, allocations: 59.72 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.2808, allocations: 331.2 kB / 435.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2808, allocations: 3.984 kB / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2808, allocations: 0 / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2808, allocations: 0 / 435.5 MB, free: 2.285 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.001206/0.282, allocations: 492.9 kB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2821, allocations: 8.031 kB / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.2821, allocations: 46.67 kB / 436 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.2823, allocations: 28.78 kB / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.2828, allocations: 215.1 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2828, allocations: 8.375 kB / 436.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.2828, allocations: 11.94 kB / 436.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.2831, allocations: 105.6 kB / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2831, allocations: 0 / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2831, allocations: 0 / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2831, allocations: 4 kB / 436.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.2833, allocations: 79.88 kB / 436.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.2841, allocations: 403.6 kB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.2844, allocations: 126.4 kB / 437 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.2845, allocations: 48.83 kB / 437 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2845, allocations: 4 kB / 437 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.2847, allocations: 115.3 kB / 437.1 MB, free: 496 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2847, allocations: 0 / 437.1 MB, free: 496 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004917/0.2852, allocations: 237.6 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.2853, allocations: 59.41 kB / 437.4 MB, free: 180 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.2857, allocations: 247.8 kB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.2858, allocations: 37.7 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.2858, allocations: 112.1 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.2859, allocations: 47.77 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.286, allocations: 45.7 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2861, allocations: 338.8 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.2863, allocations: 75.95 kB / 438.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.2865, allocations: 109.7 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.2868, allocations: 185.6 kB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2868, allocations: 0 / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004444/0.2872, allocations: 253.5 kB / 438.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2872, allocations: 11.94 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2872, allocations: 0 / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2873, allocations: 0 / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2874, allocations: 35.92 kB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2875, allocations: 0 / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.2876, allocations: 35.83 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.2877, allocations: 8 kB / 438.9 MB, free: 14.61 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.0001422/0.2878, allocations: 141.8 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2878, allocations: 19.84 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.2879, allocations: 25.45 kB / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2879, allocations: 0 / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2879, allocations: 0 / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2879, allocations: 4 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.2881, allocations: 192.6 kB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2881, allocations: 4 kB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2883, allocations: 19.98 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2883, allocations: 7.938 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2883, allocations: 7.984 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2883, allocations: 96 / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2883, allocations: 3.938 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.2888, allocations: 272.9 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.2889, allocations: 35.86 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.2889, allocations: 7.938 kB / 439.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2891, allocations: 24.03 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.2891, allocations: 7.984 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2891, allocations: 4 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.2894, allocations: 189.4 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2894, allocations: 4 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.2898, allocations: 83.8 kB / 440 MB, free: 13.51 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.001357/0.2912, allocations: 0.9775 MB / 440.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.2915, allocations: 159.9 kB / 441.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.2915, allocations: 4 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2917, allocations: 63.89 kB / 441.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.2919, allocations: 19.98 kB / 441.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.2955, allocations: 2.359 MB / 443.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2956, allocations: 119.3 kB / 443.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.2957, allocations: 37.34 kB / 443.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.2958, allocations: 47.42 kB / 443.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2958, allocations: 0 / 443.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.3322, allocations: 5.807 MB / 449.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.76, allocations: 7.562 kB / 449.5 MB, free: 3.961 MB / 350.1 MB " [Timeout remaining time 648] (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: 17.57486586086452]