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.001927/0.001927, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.002327/0.002327, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.821/1.821, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.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.001594/0.001594, allocations: 43.94 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2757, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003106/0.2788, allocations: 1.641 MB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.2809, allocations: 1.127 MB / 425.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.281, allocations: 3.938 kB / 425.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.2813, allocations: 39.77 kB / 425.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2815, allocations: 39.78 kB / 425.4 MB, free: 11.55 MB / 334.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.0008162/0.2823, allocations: 295.2 kB / 425.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.2826, allocations: 203.4 kB / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2827, allocations: 21.28 kB / 425.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.2829, allocations: 95.66 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006719/0.2836, allocations: 103.4 kB / 426.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.2836, allocations: 15.94 kB / 426.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.2842, allocations: 303.4 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2843, allocations: 47.88 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2844, allocations: 63.59 kB / 426.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.285, allocations: 320.8 kB / 426.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.285, allocations: 0 / 426.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.285, allocations: 0 / 426.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.285, allocations: 4 kB / 426.9 MB, free: 10.11 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.001317/0.2863, allocations: 0.4891 MB / 427.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2864, allocations: 12.03 kB / 427.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.2864, allocations: 38.73 kB / 427.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.2867, allocations: 32.83 kB / 427.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.2872, allocations: 222.6 kB / 427.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2872, allocations: 8 kB / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.2872, allocations: 4 kB / 427.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2874, allocations: 101.6 kB / 427.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2874, allocations: 3.938 kB / 427.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2875, allocations: 3.984 kB / 427.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2875, allocations: 4 kB / 427.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.2877, allocations: 79.94 kB / 427.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.2885, allocations: 395.7 kB / 428.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.2888, allocations: 114.5 kB / 428.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2889, allocations: 56.83 kB / 428.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.2889, allocations: 4 kB / 428.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.2891, allocations: 119.3 kB / 428.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.2891, allocations: 0 / 428.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005079/0.2896, allocations: 229.5 kB / 428.7 MB, free: 8.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.2897, allocations: 63.34 kB / 428.8 MB, free: 8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2901, allocations: 255.6 kB / 429.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.2901, allocations: 37.69 kB / 429.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.2902, allocations: 116.2 kB / 429.2 MB, free: 7.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.2903, allocations: 55.7 kB / 429.3 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.2903, allocations: 41.7 kB / 429.3 MB, free: 7.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2905, allocations: 334.8 kB / 429.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.2907, allocations: 83.89 kB / 429.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2908, allocations: 105.7 kB / 429.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.2911, allocations: 177.8 kB / 430 MB, free: 6.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2911, allocations: 0 / 430 MB, free: 6.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004731/0.2916, allocations: 269.2 kB / 430.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2916, allocations: 4 kB / 430.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2916, allocations: 0 / 430.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2917, allocations: 4 kB / 430.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2918, allocations: 23.98 kB / 430.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2918, allocations: 4 kB / 430.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.292, allocations: 31.86 kB / 430.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2921, allocations: 4 kB / 430.3 MB, free: 6.434 MB / 334.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.0001476/0.2922, allocations: 153.5 kB / 430.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.2922, allocations: 19.8 kB / 430.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.2923, allocations: 25.45 kB / 430.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2923, allocations: 0 / 430.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2923, allocations: 0 / 430.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2923, allocations: 0 / 430.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2925, allocations: 192.8 kB / 430.7 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2925, allocations: 0 / 430.7 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2926, allocations: 19.92 kB / 430.7 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2926, allocations: 0 / 430.7 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2927, allocations: 8 kB / 430.7 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2927, allocations: 3.984 kB / 430.7 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2927, allocations: 0 / 430.7 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.2932, allocations: 283 kB / 431 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.2932, allocations: 31.86 kB / 431 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2933, allocations: 7.984 kB / 431.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.2934, allocations: 19.97 kB / 431.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.2935, allocations: 11.98 kB / 431.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2935, allocations: 8.062 kB / 431.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003285/0.2938, allocations: 185.4 kB / 431.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2938, allocations: 0 / 431.3 MB, free: 5.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.2942, allocations: 91.78 kB / 431.4 MB, free: 5.324 MB / 334.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.001306/0.2955, allocations: 0.9709 MB / 432.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.2959, allocations: 163.7 kB / 432.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2959, allocations: 4 kB / 432.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.296, allocations: 60.02 kB / 432.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.2962, allocations: 19.94 kB / 432.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.2997, allocations: 2.368 MB / 434.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.2999, allocations: 115.3 kB / 435.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3, allocations: 33.39 kB / 435.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3001, allocations: 51.42 kB / 435.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3001, allocations: 4 kB / 435.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.3468, allocations: 5.745 MB / 440.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.8, allocations: 17.48 kB / 440.9 MB, free: 11.83 MB / 350.1 MB " [Timeout remaining time 648] (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: 17.81330411694944]