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.001272/0.001272, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001291/0.001291, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 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 1.454/1.454, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001578/0.001578, allocations: 51.92 kB / 365.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1307, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003383/0.134, allocations: 1.651 MB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.1364, allocations: 1.216 MB / 420.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1365, allocations: 0 / 420.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.137, allocations: 35.72 kB / 420.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1371, allocations: 43.77 kB / 420.7 MB, free: 9.648 MB / 350.1 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.0008607/0.138, allocations: 287.2 kB / 421 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.1382, allocations: 175.6 kB / 421.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1383, allocations: 17.09 kB / 421.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1385, allocations: 87.67 kB / 421.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.1391, allocations: 112.4 kB / 421.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1392, allocations: 12 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.1397, allocations: 291.5 kB / 421.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.1398, allocations: 43.89 kB / 421.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.1399, allocations: 79.5 kB / 421.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.1404, allocations: 322.9 kB / 422.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1404, allocations: 0 / 422.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1404, allocations: 0 / 422.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.1404, allocations: 0 / 422.1 MB, free: 8.254 MB / 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.001347/0.1418, allocations: 0.5605 MB / 422.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1418, allocations: 12.03 kB / 422.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.1419, allocations: 34.75 kB / 422.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.1421, allocations: 28.83 kB / 422.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.1426, allocations: 288.4 kB / 423 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1426, allocations: 8 kB / 423.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.1427, allocations: 4 kB / 423.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1429, allocations: 105.6 kB / 423.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1429, allocations: 4 kB / 423.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1429, allocations: 0 / 423.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1429, allocations: 0 / 423.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.1431, allocations: 87.81 kB / 423.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.144, allocations: 448.5 kB / 423.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1443, allocations: 118.5 kB / 423.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1445, allocations: 56.92 kB / 423.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1445, allocations: 11.92 kB / 423.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.1447, allocations: 111.3 kB / 424 MB, free: 6.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1447, allocations: 0 / 424 MB, free: 6.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005169/0.1452, allocations: 227.8 kB / 424.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.1453, allocations: 67.33 kB / 424.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.1457, allocations: 248.8 kB / 424.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1458, allocations: 37.7 kB / 424.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1459, allocations: 120.1 kB / 424.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1459, allocations: 39.8 kB / 424.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.146, allocations: 49.69 kB / 424.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1462, allocations: 326.8 kB / 425.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1463, allocations: 83.94 kB / 425.2 MB, free: 5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.1465, allocations: 114.2 kB / 425.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.1468, allocations: 181.6 kB / 425.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1468, allocations: 0 / 425.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004505/0.1473, allocations: 257.3 kB / 425.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1473, allocations: 4 kB / 425.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1473, allocations: 0 / 425.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1473, allocations: 8.031 kB / 425.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.1475, allocations: 31.91 kB / 425.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.1475, allocations: 4 kB / 425.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.1477, allocations: 31.88 kB / 425.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1477, allocations: 7.984 kB / 425.8 MB, free: 4.355 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.0001564/0.1479, allocations: 141.8 kB / 425.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1479, allocations: 19.8 kB / 425.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.148, allocations: 25.53 kB / 426 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.148, allocations: 0 / 426 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.148, allocations: 0 / 426 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.148, allocations: 3.984 kB / 426 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.1483, allocations: 241.5 kB / 426.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1483, allocations: 0 / 426.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1484, allocations: 15.98 kB / 426.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1484, allocations: 96 / 426.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1484, allocations: 11.92 kB / 426.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1484, allocations: 0 / 426.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1484, allocations: 4 kB / 426.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.149, allocations: 280.9 kB / 426.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1491, allocations: 113 kB / 426.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.1491, allocations: 4 kB / 426.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1493, allocations: 15.97 kB / 426.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1494, allocations: 15.98 kB / 426.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1494, allocations: 4.062 kB / 426.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.1497, allocations: 188.4 kB / 426.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1497, allocations: 3.938 kB / 426.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.1501, allocations: 87.8 kB / 426.9 MB, free: 3.098 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.001437/0.1515, allocations: 0.9738 MB / 427.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.1519, allocations: 163.9 kB / 428.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1519, allocations: 0 / 428.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1521, allocations: 63.89 kB / 428.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1523, allocations: 12 kB / 428.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.156, allocations: 2.377 MB / 430.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1564, allocations: 0.7318 MB / 431.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1565, allocations: 33.39 kB / 431.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1566, allocations: 47.42 kB / 431.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1566, allocations: 3.938 kB / 431.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.1889, allocations: 5.129 MB / 436.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.789/8.978, allocations: 12.27 kB / 436.5 MB, free: 9.566 MB / 366.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/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: 14.966618482023478]