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.0009764/0.0009763, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001098/0.001098, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 51.33 kB / 300.1 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 49.45 MB / 349.5 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003903/0.1238, allocations: 1.715 MB / 351.2 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.1264, allocations: 1.236 MB / 352.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1266, allocations: 7.938 kB / 352.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.1271, allocations: 19.92 kB / 352.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1274, allocations: 35.77 kB / 352.5 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.0009857/0.1284, allocations: 231.5 kB / 352.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.1287, allocations: 175.5 kB / 352.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1289, allocations: 17.11 kB / 352.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.1292, allocations: 75.73 kB / 353 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008659/0.1301, allocations: 103 kB / 353.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.559e-05/0.1302, allocations: 8 kB / 353.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007175/0.1309, allocations: 287.5 kB / 353.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1311, allocations: 55.75 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1313, allocations: 59.59 kB / 353.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.1321, allocations: 323.4 kB / 353.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1321, allocations: 0 / 353.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1321, allocations: 0 / 353.8 MB, free: 376 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1321, allocations: 0 / 353.8 MB, free: 376 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.001683/0.1338, allocations: 0.5571 MB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.1339, allocations: 12.03 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.1339, allocations: 34.75 kB / 354.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.1342, allocations: 32.64 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.1348, allocations: 276.6 kB / 354.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.1349, allocations: 8 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1349, allocations: 4 kB / 354.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.1352, allocations: 105.6 kB / 354.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1353, allocations: 7.938 kB / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1353, allocations: 0 / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1353, allocations: 0 / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1356, allocations: 79.94 kB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1367, allocations: 448.5 kB / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.137, allocations: 126.4 kB / 355.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1372, allocations: 64.83 kB / 355.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1372, allocations: 3.984 kB / 355.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.1375, allocations: 111.3 kB / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/0.1375, allocations: 0 / 355.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005639/0.1381, allocations: 229.6 kB / 355.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1381, allocations: 67.33 kB / 356 MB, free: 14.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.1386, allocations: 244.8 kB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.1387, allocations: 37.7 kB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.1388, allocations: 124.1 kB / 356.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.1388, allocations: 39.45 kB / 356.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1389, allocations: 49.69 kB / 356.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1391, allocations: 326.8 kB / 356.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.1393, allocations: 87.94 kB / 356.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.1395, allocations: 109.6 kB / 357 MB, free: 13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.1399, allocations: 181.7 kB / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.14, allocations: 3.984 kB / 357.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006387/0.1406, allocations: 253.2 kB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1407, allocations: 11.97 kB / 357.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.1407, allocations: 0 / 357.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1407, allocations: 4 kB / 357.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1409, allocations: 31.97 kB / 357.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1409, allocations: 4 kB / 357.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1411, allocations: 23.83 kB / 357.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1412, allocations: 11.98 kB / 357.5 MB, free: 12.47 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.000157/0.1413, allocations: 141.8 kB / 357.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.1414, allocations: 15.75 kB / 357.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.1414, allocations: 25.53 kB / 357.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1414, allocations: 3.984 kB / 357.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.1414, allocations: 4 kB / 357.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1415, allocations: 3.984 kB / 357.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1418, allocations: 237.5 kB / 357.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1418, allocations: 3.938 kB / 357.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1419, allocations: 15.98 kB / 357.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1419, allocations: 0 / 357.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.1419, allocations: 15.98 kB / 357.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.142, allocations: 96 / 357.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.142, allocations: 3.938 kB / 357.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.1425, allocations: 276.2 kB / 358.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.1426, allocations: 112.8 kB / 358.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.1426, allocations: 4 kB / 358.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1428, allocations: 24.03 kB / 358.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.1429, allocations: 15.92 kB / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.1429, allocations: 0 / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.1432, allocations: 188.4 kB / 358.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1433, allocations: 0 / 358.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000412/0.1437, allocations: 87.89 kB / 358.6 MB, free: 11.23 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.001514/0.1452, allocations: 0.9586 MB / 359.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.1456, allocations: 175.8 kB / 359.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1456, allocations: 0 / 359.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1457, allocations: 67.89 kB / 359.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.146, allocations: 20 kB / 359.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.1496, allocations: 2.382 MB / 362.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1499, allocations: 0.7361 MB / 363 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.1501, allocations: 37.38 kB / 363 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1502, allocations: 47.42 kB / 363 MB, free: 6.703 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1502, allocations: 0 / 363 MB, free: 6.703 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.1685, allocations: 4.79 MB / 367.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.1688, allocations: 248.5 kB / 368.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.053, allocations: 0 / 368.1 MB, free: 1.777 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