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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 114.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 46.66 kB / 300.2 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.122, allocations: 49.44 MB / 349.7 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003462/0.1255, allocations: 1.715 MB / 351.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1277, allocations: 1.205 MB / 352.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.1279, allocations: 4 kB / 352.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.1284, allocations: 23.86 kB / 352.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1285, allocations: 31.83 kB / 352.7 MB, free: 1.672 MB / 286.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.0007884/0.1293, allocations: 255.5 kB / 352.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1295, allocations: 183.5 kB / 353.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1296, allocations: 9.125 kB / 353.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1298, allocations: 83.73 kB / 353.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/0.1304, allocations: 113.1 kB / 353.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1305, allocations: 12 kB / 353.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.1309, allocations: 287.4 kB / 353.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.131, allocations: 59.81 kB / 353.6 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.1311, allocations: 71.58 kB / 353.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.1315, allocations: 331.3 kB / 354 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1315, allocations: 0 / 354 MB, free: 308 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1315, allocations: 0 / 354 MB, free: 308 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1315, allocations: 0 / 354 MB, free: 308 kB / 286.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.001186/0.1327, allocations: 0.5532 MB / 354.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1328, allocations: 12.03 kB / 354.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.1328, allocations: 38.73 kB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.1331, allocations: 32.64 kB / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.1335, allocations: 284.4 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1335, allocations: 8 kB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1336, allocations: 8 kB / 355 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1338, allocations: 97.62 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1338, allocations: 0 / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1338, allocations: 8 kB / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1338, allocations: 0 / 355.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.134, allocations: 79.88 kB / 355.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.1348, allocations: 452.5 kB / 355.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1351, allocations: 122.5 kB / 355.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1352, allocations: 56.83 kB / 355.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1353, allocations: 7.984 kB / 355.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1355, allocations: 119.4 kB / 355.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1355, allocations: 0 / 355.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004963/0.136, allocations: 225.4 kB / 356.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1361, allocations: 59.47 kB / 356.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.1365, allocations: 248.8 kB / 356.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.1365, allocations: 45.62 kB / 356.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.1366, allocations: 124 kB / 356.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1367, allocations: 39.45 kB / 356.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1368, allocations: 45.7 kB / 356.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1369, allocations: 334.8 kB / 357 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1371, allocations: 79.95 kB / 357.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1373, allocations: 109.7 kB / 357.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.1376, allocations: 181.7 kB / 357.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1376, allocations: 0 / 357.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003954/0.138, allocations: 265.2 kB / 357.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.138, allocations: 4 kB / 357.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.138, allocations: 0 / 357.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.138, allocations: 8.031 kB / 357.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.1382, allocations: 27.92 kB / 357.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1382, allocations: 4 kB / 357.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1384, allocations: 31.81 kB / 357.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1384, allocations: 4 kB / 357.7 MB, free: 12.4 MB / 302.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.0001271/0.1386, allocations: 137.8 kB / 357.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1386, allocations: 15.75 kB / 357.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.1387, allocations: 25.52 kB / 357.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1387, allocations: 4 kB / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1387, allocations: 0 / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1387, allocations: 0 / 357.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1389, allocations: 249.4 kB / 358.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1389, allocations: 3.938 kB / 358.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.139, allocations: 15.98 kB / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1391, allocations: 96 / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1391, allocations: 3.938 kB / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1391, allocations: 7.938 kB / 358.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1391, allocations: 0 / 358.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.1396, allocations: 279.8 kB / 358.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.1397, allocations: 108.8 kB / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1397, allocations: 11.98 kB / 358.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1399, allocations: 11.98 kB / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.14, allocations: 7.984 kB / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.14, allocations: 16.06 kB / 358.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.1403, allocations: 192.4 kB / 358.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1403, allocations: 0 / 358.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1407, allocations: 83.89 kB / 358.8 MB, free: 11.16 MB / 302.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.001178/0.1418, allocations: 0.9666 MB / 359.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1422, allocations: 175.8 kB / 360 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1422, allocations: 0 / 360 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1424, allocations: 67.91 kB / 360 MB, free: 9.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1426, allocations: 22.33 kB / 360.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.1458, allocations: 2.377 MB / 362.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.146, allocations: 0.7319 MB / 363.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.798e-05/0.1461, allocations: 33.39 kB / 363.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.1462, allocations: 47.42 kB / 363.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1463, allocations: 0 / 363.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1661, allocations: 4.909 MB / 368.2 MB, free: 1.867 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.1663, allocations: 255 kB / 368.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.318, allocations: 0 / 368.4 MB, free: 1.609 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/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) Reference file matches