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.001791/0.001791, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.002062/0.002062, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.477/1.477, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.001511/0.001511, allocations: 51.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1069, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002986/0.1099, allocations: 1.662 MB / 419.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.112, allocations: 1.208 MB / 420.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.1121, allocations: 0 / 420.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1124, allocations: 31.78 kB / 420.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1125, allocations: 47.75 kB / 420.7 MB, free: 9.652 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.0007413/0.1132, allocations: 283.2 kB / 421 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1135, allocations: 187.5 kB / 421.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.1136, allocations: 9.109 kB / 421.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1137, allocations: 87.67 kB / 421.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.1143, allocations: 109.9 kB / 421.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1144, allocations: 16 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.1148, allocations: 283.5 kB / 421.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.1149, allocations: 55.88 kB / 421.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.115, allocations: 71.52 kB / 421.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.1155, allocations: 322.9 kB / 422.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1155, allocations: 0 / 422.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1155, allocations: 0 / 422.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1155, allocations: 0 / 422.1 MB, free: 8.258 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.001235/0.1167, allocations: 0.5605 MB / 422.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1168, allocations: 12.03 kB / 422.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.1168, allocations: 38.69 kB / 422.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.117, allocations: 28.83 kB / 422.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.1175, allocations: 288.4 kB / 423 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1175, allocations: 8 kB / 423.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1176, allocations: 4 kB / 423.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.1178, allocations: 105.6 kB / 423.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1178, allocations: 0 / 423.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1178, allocations: 3.984 kB / 423.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1178, allocations: 0 / 423.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.118, allocations: 83.88 kB / 423.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008696/0.1189, allocations: 444.5 kB / 423.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1191, allocations: 122.5 kB / 423.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1192, allocations: 64.86 kB / 423.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1193, allocations: 0 / 423.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.1195, allocations: 111.3 kB / 424 MB, free: 6.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1195, allocations: 0 / 424 MB, free: 6.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000505/0.12, allocations: 232.7 kB / 424.2 MB, free: 6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.12, allocations: 63.34 kB / 424.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.1205, allocations: 252.8 kB / 424.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.1205, allocations: 37.69 kB / 424.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.1206, allocations: 116.2 kB / 424.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.1206, allocations: 47.72 kB / 424.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.1207, allocations: 45.7 kB / 424.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1209, allocations: 330.8 kB / 425.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.121, allocations: 79.95 kB / 425.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1212, allocations: 114.2 kB / 425.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.1215, allocations: 181.6 kB / 425.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1215, allocations: 4 kB / 425.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004479/0.122, allocations: 249.3 kB / 425.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.122, allocations: 7.984 kB / 425.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.122, allocations: 8.031 kB / 425.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.122, allocations: 0 / 425.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.1222, allocations: 31.92 kB / 425.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1222, allocations: 0 / 425.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.1224, allocations: 31.86 kB / 425.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1224, allocations: 4 kB / 425.8 MB, free: 4.367 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.0001548/0.1226, allocations: 145.8 kB / 425.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1226, allocations: 27.8 kB / 425.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.1227, allocations: 21.52 kB / 426 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1227, allocations: 0 / 426 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1227, allocations: 4 kB / 426 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1227, allocations: 0 / 426 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.123, allocations: 245.5 kB / 426.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.123, allocations: 0 / 426.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1231, allocations: 12 kB / 426.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.1231, allocations: 3.984 kB / 426.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1231, allocations: 4 kB / 426.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1231, allocations: 4 kB / 426.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1231, allocations: 0 / 426.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.1236, allocations: 280.9 kB / 426.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1237, allocations: 113 kB / 426.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1238, allocations: 4 kB / 426.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.124, allocations: 19.97 kB / 426.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.124, allocations: 16.05 kB / 426.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.124, allocations: 0 / 426.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.1244, allocations: 188.4 kB / 426.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1244, allocations: 3.938 kB / 426.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000377/0.1247, allocations: 87.8 kB / 426.9 MB, free: 3.105 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.001302/0.126, allocations: 0.9663 MB / 427.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.1264, allocations: 167.8 kB / 428.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1264, allocations: 0 / 428.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1266, allocations: 59.91 kB / 428.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1268, allocations: 22.41 kB / 428.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.1304, allocations: 2.374 MB / 430.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1307, allocations: 0.7357 MB / 431.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1308, allocations: 41.31 kB / 431.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.1309, allocations: 47.42 kB / 431.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1309, allocations: 0 / 431.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.1617, allocations: 5.125 MB / 436.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/8.823, allocations: 14.67 kB / 436.5 MB, free: 9.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.90759321115911]