Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.001355/0.001355, allocations: 111 kB / 17.33 MB, free: 6.004 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.001576/0.001576, allocations: 193.3 kB / 18.25 MB, free: 5.094 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.336/1.336, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.19 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08952, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3906/0.4801, allocations: 181 MB / 0.6346 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.4849, allocations: 3.331 MB / 0.6379 GB, free: 8.527 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.4852, allocations: 23.81 kB / 0.6379 GB, free: 8.504 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000817/0.4861, allocations: 278.5 kB / 0.6382 GB, free: 8.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.4889, allocations: 1.278 MB / 0.6394 GB, free: 6.953 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4904, allocations: 0.6691 MB / 0.6401 GB, free: 6.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.4918, allocations: 1.563 MB / 0.6416 GB, free: 4.715 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.4923, allocations: 427.5 kB / 0.642 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/0.4929, allocations: 0.5838 MB / 0.6426 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.4934, allocations: 486 kB / 0.643 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.4935, allocations: 56 kB / 0.6431 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.495, allocations: 1.162 MB / 0.6442 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.4952, allocations: 159.5 kB / 0.6444 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.4955, allocations: 354.4 kB / 0.6447 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.497, allocations: 1.504 MB / 0.6462 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.497, allocations: 3.984 kB / 0.6462 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.497, allocations: 0 / 0.6462 GB, free: 0 / 478.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.497, allocations: 0 / 0.6462 GB, free: 0 / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001629/0.4987, allocations: 1.06 MB / 0.6472 GB, free: 14.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4987, allocations: 8.031 kB / 0.6472 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.847e-05/0.4988, allocations: 78.53 kB / 0.6473 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.4998, allocations: 143.1 kB / 0.6474 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.5004, allocations: 480.4 kB / 0.6479 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.5005, allocations: 44.92 kB / 0.6479 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.5005, allocations: 39.94 kB / 0.648 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5016, allocations: 0.5906 MB / 0.6486 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5016, allocations: 8 kB / 0.6486 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.5017, allocations: 16 kB / 0.6486 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5017, allocations: 12 kB / 0.6486 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.5026, allocations: 479.6 kB / 0.649 GB, free: 12.93 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.5053, allocations: 2.667 MB / 0.6517 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.506, allocations: 358 kB / 0.652 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.5063, allocations: 165.3 kB / 0.6521 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004128/0.5068, allocations: 441.8 kB / 0.6526 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5068, allocations: 42.78 kB / 0.6526 GB, free: 8.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.5068, allocations: 3.938 kB / 0.6526 GB, free: 8.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001681/0.5085, allocations: 0.7265 MB / 0.6533 GB, free: 8.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.5086, allocations: 136.5 kB / 0.6535 GB, free: 8.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.5091, allocations: 498 kB / 0.6539 GB, free: 7.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.5092, allocations: 33.7 kB / 0.654 GB, free: 7.492 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.5094, allocations: 279.8 kB / 0.6542 GB, free: 7.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.5095, allocations: 126.2 kB / 0.6543 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.5096, allocations: 102.1 kB / 0.6544 GB, free: 6.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5098, allocations: 358.8 kB / 0.6548 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.5101, allocations: 148.7 kB / 0.6549 GB, free: 6.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.5105, allocations: 283.7 kB / 0.6552 GB, free: 6.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.5112, allocations: 441.6 kB / 0.6556 GB, free: 5.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5112, allocations: 0 / 0.6556 GB, free: 5.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009825/0.5122, allocations: 0.5442 MB / 0.6562 GB, free: 5.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5123, allocations: 7.938 kB / 0.6562 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5123, allocations: 4 kB / 0.6562 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.5139, allocations: 248.9 kB / 0.6564 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.5143, allocations: 100.7 kB / 0.6565 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004402/0.5147, allocations: 0.6014 MB / 0.6571 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.5151, allocations: 59.48 kB / 0.6571 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.5152, allocations: 47.98 kB / 0.6572 GB, free: 4.035 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.5155, allocations: 186.2 kB / 0.6574 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5156, allocations: 47.44 kB / 0.6574 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.5176, allocations: 1.108 MB / 0.6585 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5176, allocations: 0 / 0.6585 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.5176, allocations: 4 kB / 0.6585 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5176, allocations: 3.984 kB / 0.6585 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.5191, allocations: 1.034 MB / 0.6595 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5191, allocations: 0 / 0.6595 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.5193, allocations: 55.91 kB / 0.6596 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/0.5228, allocations: 448.3 kB / 0.66 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.5229, allocations: 12 kB / 0.66 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004048/0.5233, allocations: 0.6037 MB / 0.6606 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5233, allocations: 0 / 0.6606 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008126/0.5241, allocations: 0.5154 MB / 0.6611 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5243, allocations: 140.4 kB / 0.6612 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.5244, allocations: 17.38 kB / 0.6612 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.5248, allocations: 31.97 kB / 0.6613 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.5248, allocations: 27.84 kB / 0.6613 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.5249, allocations: 20 kB / 0.6613 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004798/0.5254, allocations: 426.8 kB / 0.6617 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5254, allocations: 0 / 0.6617 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007878/0.5262, allocations: 275.8 kB / 0.662 GB, free: 14.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/0.5279, allocations: 1.326 MB / 0.6633 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000837/0.5287, allocations: 396.1 kB / 0.6637 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5287, allocations: 0 / 0.6637 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.5291, allocations: 171.8 kB / 0.6638 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.5307, allocations: 361.8 kB / 0.6642 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/0.5372, allocations: 5.213 MB / 0.6693 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.5376, allocations: 0.8635 MB / 0.6701 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001146/0.5388, allocations: 0.5592 MB / 0.6707 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.5392, allocations: 227.3 kB / 0.6709 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.5392, allocations: 0 / 0.6709 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5236/1.063, allocations: 21.18 MB / 0.6916 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003999/1.063, allocations: 310.7 kB / 0.6919 GB, free: 372 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.55, allocations: 2.812 kB / 0.6919 GB, free: 372 kB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches