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.001345/0.001345, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001526/0.001526, allocations: 198 kB / 18.07 MB, free: 5.41 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.279/1.279, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001129/0.001129, allocations: 47.94 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08486/0.08601, allocations: 46.63 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002892/0.08893, allocations: 1.718 MB / 328.4 MB, free: 3.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.09087, allocations: 1.271 MB / 329.7 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.09097, allocations: 0 / 329.7 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.0913, allocations: 27.84 kB / 329.7 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.09141, allocations: 39.83 kB / 329.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.09209, allocations: 231.4 kB / 330 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.09234, allocations: 171.6 kB / 330.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.09246, allocations: 29.33 kB / 330.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.09262, allocations: 67.69 kB / 330.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.09279, allocations: 99.58 kB / 330.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.09284, allocations: 4 kB / 330.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.0933, allocations: 307.5 kB / 330.6 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.0934, allocations: 47.77 kB / 330.7 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.09349, allocations: 67.58 kB / 330.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.09392, allocations: 335.1 kB / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09393, allocations: 0 / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.09394, allocations: 0 / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.09395, allocations: 0 / 331.1 MB, free: 396 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.001219/0.09517, allocations: 0.561 MB / 331.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.09522, allocations: 8.031 kB / 331.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.09527, allocations: 38.75 kB / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.09546, allocations: 24.73 kB / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.09591, allocations: 268.9 kB / 332 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.09594, allocations: 16.36 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.09597, allocations: 8.281 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.09619, allocations: 113.6 kB / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.09621, allocations: 0 / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.09623, allocations: 0 / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.09624, allocations: 0 / 332.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.09644, allocations: 83.92 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.09727, allocations: 452.5 kB / 332.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.09753, allocations: 122.5 kB / 332.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.09765, allocations: 56.83 kB / 332.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.09767, allocations: 4 kB / 332.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.09788, allocations: 119.2 kB / 332.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.09789, allocations: 3.938 kB / 332.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004716/0.09837, allocations: 233.6 kB / 333.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.09843, allocations: 59.41 kB / 333.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.09881, allocations: 247.8 kB / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.09886, allocations: 37.69 kB / 333.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.09894, allocations: 116 kB / 333.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.09899, allocations: 47.58 kB / 333.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.09907, allocations: 45.7 kB / 333.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.09919, allocations: 334.8 kB / 334 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.09934, allocations: 83.95 kB / 334.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.09951, allocations: 109.7 kB / 334.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.09979, allocations: 181.7 kB / 334.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.0998, allocations: 3.938 kB / 334.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003928/0.1002, allocations: 257.3 kB / 334.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1002, allocations: 4 kB / 334.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1002, allocations: 0 / 334.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1003, allocations: 11.97 kB / 334.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1004, allocations: 27.98 kB / 334.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1005, allocations: 7.984 kB / 334.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1006, allocations: 31.81 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1007, allocations: 4 kB / 334.7 MB, free: 12.48 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.0001201/0.1008, allocations: 149.5 kB / 334.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.1008, allocations: 11.81 kB / 334.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.1009, allocations: 29.52 kB / 334.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1009, allocations: 3.938 kB / 334.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1009, allocations: 0 / 334.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1009, allocations: 0 / 334.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1011, allocations: 241.5 kB / 335.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1012, allocations: 0 / 335.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1013, allocations: 15.98 kB / 335.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1013, allocations: 0 / 335.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1013, allocations: 4 kB / 335.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1013, allocations: 3.938 kB / 335.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1013, allocations: 4 kB / 335.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.1018, allocations: 281.1 kB / 335.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.1019, allocations: 104.9 kB / 335.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.1019, allocations: 11.98 kB / 335.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1021, allocations: 19.92 kB / 335.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.1021, allocations: 11.98 kB / 335.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1022, allocations: 4.062 kB / 335.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.1025, allocations: 197.5 kB / 335.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1025, allocations: 0 / 335.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1028, allocations: 91.92 kB / 335.9 MB, free: 11.23 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.001137/0.104, allocations: 0.9851 MB / 336.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.1043, allocations: 175.7 kB / 337 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1043, allocations: 0 / 337 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1045, allocations: 67.95 kB / 337.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1047, allocations: 15.78 kB / 337.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.1077, allocations: 2.394 MB / 339.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.108, allocations: 0.7283 MB / 340.3 MB, free: 6.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.427e-05/0.1081, allocations: 29.41 kB / 340.3 MB, free: 6.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.1082, allocations: 47.42 kB / 340.3 MB, free: 6.656 MB / 286.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1082, allocations: 0 / 340.3 MB, free: 6.656 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.1232, allocations: 4.96 MB / 345.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.1234, allocations: 262.6 kB / 345.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/1.883, allocations: 0 / 345.5 MB, free: 1.344 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