Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 88.05 kB / 20.67 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 145.1 kB / 23.93 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.916/0.916, allocations: 173.4 MB / 200.5 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.152e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002047/0.002068, allocations: 1.615 MB / 320.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003578, allocations: 1.146 MB / 321.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.003655, allocations: 0 / 321.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.003984, allocations: 39.7 kB / 321.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.467e-05/0.004068, allocations: 43.69 kB / 321.3 MB, free: 3.492 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006042/0.004673, allocations: 314.8 kB / 321.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.004864, allocations: 151.6 kB / 321.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.004962, allocations: 17.3 kB / 321.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.005096, allocations: 91.72 kB / 321.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.005529, allocations: 95.12 kB / 321.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.005558, allocations: 12 kB / 321.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.00588, allocations: 311.2 kB / 322.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.005951, allocations: 55.81 kB / 322.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.006001, allocations: 47.83 kB / 322.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.006377, allocations: 363 kB / 322.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.006379, allocations: 0 / 322.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00638, allocations: 0 / 322.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.006386, allocations: 4 kB / 322.7 MB, free: 2.059 MB / 282.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.0007691/0.007155, allocations: 492.2 kB / 323.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.007199, allocations: 12.92 kB / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.007235, allocations: 34.75 kB / 323.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.007358, allocations: 36.78 kB / 323.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.007639, allocations: 218.3 kB / 323.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.007655, allocations: 12.11 kB / 323.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.007677, allocations: 8 kB / 323.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.007823, allocations: 105.6 kB / 323.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.007834, allocations: 0 / 323.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.007843, allocations: 0 / 323.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.007848, allocations: 0 / 323.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.007962, allocations: 83.94 kB / 323.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.008613, allocations: 399.6 kB / 324.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.008787, allocations: 110.5 kB / 324.2 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.008851, allocations: 56.83 kB / 324.2 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.008862, allocations: 4 kB / 324.2 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.009014, allocations: 119.4 kB / 324.4 MB, free: 272 kB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.009015, allocations: 0 / 324.4 MB, free: 272 kB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.000364/0.009379, allocations: 240.5 kB / 324.6 MB, free: 28 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.009438, allocations: 63.39 kB / 324.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.009681, allocations: 255.6 kB / 324.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.009701, allocations: 33.7 kB / 324.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.00977, allocations: 124.1 kB / 325.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.009808, allocations: 47.78 kB / 325.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.009864, allocations: 45.69 kB / 325.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.009965, allocations: 326.8 kB / 325.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.01007, allocations: 83.95 kB / 325.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01018, allocations: 106.3 kB / 325.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.01036, allocations: 177.8 kB / 325.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01036, allocations: 0 / 325.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002572/0.01062, allocations: 265.4 kB / 326.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.01063, allocations: 10.44 kB / 326.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01064, allocations: 0 / 326.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.01065, allocations: 4 kB / 326.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01076, allocations: 27.92 kB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.01076, allocations: 7.984 kB / 326.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.01085, allocations: 31.83 kB / 326.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01086, allocations: 4 kB / 326.2 MB, free: 14.39 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.926e-05/0.01095, allocations: 149.5 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.01096, allocations: 19.83 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.011, allocations: 17.47 kB / 326.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.011, allocations: 4 kB / 326.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01101, allocations: 0 / 326.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01101, allocations: 0 / 326.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.01115, allocations: 200.6 kB / 326.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01115, allocations: 4 kB / 326.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.01121, allocations: 15.98 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01122, allocations: 3.938 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01123, allocations: 11.94 kB / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01123, allocations: 0 / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01123, allocations: 0 / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.01153, allocations: 272.9 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.01157, allocations: 27.91 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.01159, allocations: 11.94 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.01167, allocations: 19.97 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.0117, allocations: 7.984 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.01171, allocations: 4 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.01187, allocations: 193.5 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01187, allocations: 0 / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.01212, allocations: 83.98 kB / 327.2 MB, free: 13.29 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.0009258/0.01305, allocations: 0.9844 MB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.0133, allocations: 167 kB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0133, allocations: 0 / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.01338, allocations: 63.91 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.01355, allocations: 20.05 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.01565, allocations: 2.373 MB / 330.8 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.934e-05/0.01573, allocations: 115.4 kB / 330.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.36e-05/0.0158, allocations: 29.47 kB / 330.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.01588, allocations: 48.48 kB / 331 MB, free: 9.395 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01588, allocations: 0 / 331 MB, free: 9.395 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.03831, allocations: 5.927 MB / 336.9 MB, free: 3.586 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/6.887, allocations: 13.94 kB / 336.9 MB, free: 3.578 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.193464828655124]