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.001338/0.001338, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001488/0.001488, allocations: 209.3 kB / 23.73 MB, free: 4.379 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.805 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.001611/0.001611, allocations: 55.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3075, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003204/0.3107, allocations: 1.642 MB / 432.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.3141, allocations: 1.193 MB / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.796e-05/0.3142, allocations: 0 / 433.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.3146, allocations: 39.7 kB / 434 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.3148, allocations: 35.77 kB / 434 MB, free: 3.727 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.001137/0.3159, allocations: 311.2 kB / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.3164, allocations: 203.4 kB / 434.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3165, allocations: 13.27 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3168, allocations: 91.72 kB / 434.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007415/0.3175, allocations: 103.6 kB / 434.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.3175, allocations: 15.94 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008469/0.3184, allocations: 323.4 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3185, allocations: 55.83 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3187, allocations: 67.58 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.3194, allocations: 324.8 kB / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3195, allocations: 0 / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3195, allocations: 0 / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3195, allocations: 0 / 435.5 MB, free: 2.246 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.001689/0.3211, allocations: 496.8 kB / 436 MB, free: 1.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3212, allocations: 12.03 kB / 436 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.297e-05/0.3213, allocations: 38.73 kB / 436 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3216, allocations: 36.78 kB / 436 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.3223, allocations: 215.1 kB / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3223, allocations: 4.375 kB / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.3224, allocations: 19.94 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3227, allocations: 100.1 kB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3227, allocations: 7.922 kB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.3227, allocations: 4 kB / 436.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3227, allocations: 11.92 kB / 436.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.3231, allocations: 71.94 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.3244, allocations: 399.7 kB / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.3248, allocations: 118.5 kB / 437 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.325, allocations: 52.83 kB / 437 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.325, allocations: 4 kB / 437 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.3254, allocations: 111.3 kB / 437.1 MB, free: 452 kB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.425e-06/0.3254, allocations: 0 / 437.1 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008266/0.3262, allocations: 241.6 kB / 437.4 MB, free: 204 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.3263, allocations: 63.39 kB / 437.4 MB, free: 128 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.327, allocations: 239.8 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.327, allocations: 41.69 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3272, allocations: 112.1 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.3272, allocations: 43.78 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3274, allocations: 45.7 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.3276, allocations: 338.8 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.3278, allocations: 79.95 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.3282, allocations: 105.7 kB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.3287, allocations: 181.6 kB / 438.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3287, allocations: 4 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007617/0.3294, allocations: 261.4 kB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3295, allocations: 7.938 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3295, allocations: 4 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3295, allocations: 0 / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3298, allocations: 31.98 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3298, allocations: 4.031 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3301, allocations: 27.86 kB / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3301, allocations: 8 kB / 438.9 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.0002083/0.3303, allocations: 137.8 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.3304, allocations: 19.84 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.3305, allocations: 25.45 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3305, allocations: 0 / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3305, allocations: 0 / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3305, allocations: 4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.3308, allocations: 196.6 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3308, allocations: 0 / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.331, allocations: 16.08 kB / 439.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.331, allocations: 11.88 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.3311, allocations: 11.98 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3311, allocations: 0 / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3311, allocations: 0 / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008105/0.3319, allocations: 272.9 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.332, allocations: 35.86 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.3321, allocations: 16 kB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.3323, allocations: 15.97 kB / 439.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.3324, allocations: 7.984 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3324, allocations: 4 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005289/0.3329, allocations: 189.4 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3329, allocations: 3.938 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006425/0.3336, allocations: 87.8 kB / 440 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.002052/0.3356, allocations: 0.9811 MB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.3362, allocations: 163.8 kB / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3362, allocations: 0 / 441.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.3364, allocations: 55.97 kB / 441.2 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.0003552/0.3368, allocations: 18.23 kB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.3422, allocations: 2.375 MB / 443.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3424, allocations: 111.3 kB / 443.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.3426, allocations: 41.38 kB / 443.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3427, allocations: 47.42 kB / 443.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3427, allocations: 0 / 443.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04706/0.3898, allocations: 5.843 MB / 449.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.43, allocations: 13.89 kB / 449.6 MB, free: 3.871 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.483335450990126]