Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.00152/0.00152, allocations: 114.8 kB / 17.28 MB, free: 6.211 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.001476/0.001476, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 47.92 kB / 280.2 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003398/0.1099, allocations: 1.714 MB / 328.6 MB, free: 2.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1121, allocations: 1.224 MB / 329.8 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.756e-05/0.1122, allocations: 8 kB / 329.8 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.1126, allocations: 31.84 kB / 329.9 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1127, allocations: 31.83 kB / 329.9 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.1134, allocations: 255.4 kB / 330.1 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1136, allocations: 175.6 kB / 330.3 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1137, allocations: 29.33 kB / 330.3 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1139, allocations: 83.67 kB / 330.4 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1141, allocations: 103.6 kB / 330.5 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1141, allocations: 12 kB / 330.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.1145, allocations: 295.5 kB / 330.8 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.1145, allocations: 63.73 kB / 330.9 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.1147, allocations: 71.59 kB / 331 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1151, allocations: 339.1 kB / 331.3 MB, free: 272 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1151, allocations: 4 kB / 331.3 MB, free: 268 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1151, allocations: 4 kB / 331.3 MB, free: 264 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1151, allocations: 0 / 331.3 MB, free: 264 kB / 270.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.001203/0.1163, allocations: 0.561 MB / 331.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1163, allocations: 8.031 kB / 331.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1164, allocations: 42.73 kB / 331.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.1166, allocations: 24.75 kB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.117, allocations: 268.8 kB / 332.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1171, allocations: 8.375 kB / 332.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1171, allocations: 20.22 kB / 332.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1173, allocations: 109.7 kB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1174, allocations: 4 kB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1174, allocations: 0 / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1174, allocations: 4 kB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1176, allocations: 75.94 kB / 332.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.1184, allocations: 452.5 kB / 332.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.1187, allocations: 122.4 kB / 333 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1188, allocations: 56.83 kB / 333 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1188, allocations: 4 kB / 333 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.119, allocations: 123.2 kB / 333.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.119, allocations: 0 / 333.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004708/0.1195, allocations: 233.6 kB / 333.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1195, allocations: 55.41 kB / 333.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1199, allocations: 251.7 kB / 333.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.12, allocations: 37.7 kB / 333.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.1201, allocations: 116 kB / 333.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.1201, allocations: 47.58 kB / 333.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.1202, allocations: 45.69 kB / 333.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1203, allocations: 334.8 kB / 334.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1205, allocations: 83.89 kB / 334.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1207, allocations: 105.7 kB / 334.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.1209, allocations: 189.7 kB / 334.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.121, allocations: 0 / 334.6 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004101/0.1214, allocations: 253.3 kB / 334.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1214, allocations: 8 kB / 334.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1214, allocations: 0 / 334.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1214, allocations: 3.938 kB / 334.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.1216, allocations: 35.97 kB / 334.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1216, allocations: 0 / 334.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.1218, allocations: 31.86 kB / 334.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1219, allocations: 7.984 kB / 334.9 MB, free: 12.35 MB / 286.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.0001487/0.122, allocations: 141.5 kB / 335.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1221, allocations: 15.81 kB / 335.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.1221, allocations: 21.62 kB / 335.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1221, allocations: 7.875 kB / 335.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1221, allocations: 0 / 335.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1222, allocations: 7.984 kB / 335.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1224, allocations: 237.5 kB / 335.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1224, allocations: 0 / 335.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1226, allocations: 15.98 kB / 335.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1226, allocations: 4 kB / 335.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1226, allocations: 7.984 kB / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1226, allocations: 3.938 kB / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1226, allocations: 0 / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.1231, allocations: 281.2 kB / 335.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.1232, allocations: 108.9 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.1233, allocations: 4 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1234, allocations: 31.84 kB / 335.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.1235, allocations: 4 kB / 335.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1235, allocations: 7.984 kB / 335.8 MB, free: 11.38 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002978/0.1238, allocations: 193.5 kB / 336 MB, free: 11.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1238, allocations: 0 / 336 MB, free: 11.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.1242, allocations: 91.98 kB / 336.1 MB, free: 11.1 MB / 286.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.001272/0.1255, allocations: 0.9778 MB / 337.1 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1259, allocations: 187.7 kB / 337.3 MB, free: 9.918 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1259, allocations: 0 / 337.3 MB, free: 9.918 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.126, allocations: 59.97 kB / 337.3 MB, free: 9.859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1263, allocations: 23.95 kB / 337.3 MB, free: 9.836 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.1293, allocations: 2.4 MB / 339.7 MB, free: 7.344 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1296, allocations: 0.7241 MB / 340.5 MB, free: 6.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1298, allocations: 41.38 kB / 340.5 MB, free: 6.555 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.1299, allocations: 47.42 kB / 340.6 MB, free: 6.508 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1299, allocations: 0 / 340.6 MB, free: 6.508 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.1579, allocations: 5.07 MB / 345.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.1582, allocations: 274.9 kB / 345.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.116, allocations: 0 / 345.9 MB, free: 1.082 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches