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.001438/0.001438, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.00166/0.00166, allocations: 192 kB / 18.56 MB, free: 4.434 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.291/1.291, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1875/0.1875, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 56 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09236, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3412/0.4336, allocations: 183 MB / 0.6371 GB, free: 9.387 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004752/0.4384, allocations: 3.26 MB / 0.6403 GB, free: 6.117 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.4388, allocations: 19.88 kB / 0.6403 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.4396, allocations: 325.8 kB / 0.6406 GB, free: 5.777 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.4425, allocations: 1.396 MB / 0.642 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.4442, allocations: 0.7346 MB / 0.6427 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.4459, allocations: 1.551 MB / 0.6442 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000536/0.4465, allocations: 431.4 kB / 0.6446 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.4471, allocations: 0.5799 MB / 0.6452 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/0.4476, allocations: 454.2 kB / 0.6456 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.4477, allocations: 52 kB / 0.6457 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.4497, allocations: 1.143 MB / 0.6468 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.4498, allocations: 167.4 kB / 0.647 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.4501, allocations: 354.4 kB / 0.6473 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.4518, allocations: 1.492 MB / 0.6488 GB, free: 13.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4518, allocations: 0 / 0.6488 GB, free: 13.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4518, allocations: 0 / 0.6488 GB, free: 13.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4519, allocations: 0 / 0.6488 GB, free: 13.44 MB / 494.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.00164/0.4535, allocations: 1.053 MB / 0.6498 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4535, allocations: 16.03 kB / 0.6498 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.4537, allocations: 86.52 kB / 0.6499 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009535/0.4546, allocations: 135.2 kB / 0.65 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.4552, allocations: 480.4 kB / 0.6505 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4552, allocations: 29 kB / 0.6505 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.4553, allocations: 47.88 kB / 0.6505 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009939/0.4563, allocations: 0.5945 MB / 0.6511 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4563, allocations: 3.938 kB / 0.6511 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.4564, allocations: 27.97 kB / 0.6512 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4564, allocations: 8 kB / 0.6512 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009013/0.4573, allocations: 487.5 kB / 0.6516 GB, free: 10.36 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.00266/0.46, allocations: 2.682 MB / 0.6543 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.4607, allocations: 351.5 kB / 0.6546 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.4611, allocations: 173.3 kB / 0.6548 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003805/0.4615, allocations: 437.8 kB / 0.6552 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4615, allocations: 34.84 kB / 0.6552 GB, free: 6.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.4615, allocations: 0 / 0.6552 GB, free: 6.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001708/0.4632, allocations: 0.7381 MB / 0.6559 GB, free: 5.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4633, allocations: 132.5 kB / 0.656 GB, free: 5.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.4638, allocations: 498 kB / 0.6565 GB, free: 4.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.4639, allocations: 33.7 kB / 0.6566 GB, free: 4.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.464, allocations: 283.8 kB / 0.6568 GB, free: 4.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.4641, allocations: 118.3 kB / 0.6569 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.4643, allocations: 106 kB / 0.657 GB, free: 4.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4644, allocations: 354.8 kB / 0.6574 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.4647, allocations: 152.8 kB / 0.6575 GB, free: 3.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.4651, allocations: 279.7 kB / 0.6578 GB, free: 3.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.4659, allocations: 445.6 kB / 0.6582 GB, free: 3.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4659, allocations: 0 / 0.6582 GB, free: 3.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009767/0.4668, allocations: 0.5403 MB / 0.6587 GB, free: 2.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4669, allocations: 14.12 kB / 0.6588 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4669, allocations: 7.984 kB / 0.6588 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.4685, allocations: 241 kB / 0.659 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.4688, allocations: 104.9 kB / 0.6591 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004019/0.4692, allocations: 0.5914 MB / 0.6597 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.4695, allocations: 51.42 kB / 0.6597 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.4696, allocations: 47.98 kB / 0.6598 GB, free: 1.469 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.0002149/0.4698, allocations: 189.7 kB / 0.6599 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.47, allocations: 55.38 kB / 0.66 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.4719, allocations: 1.1 MB / 0.6611 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4719, allocations: 4 kB / 0.6611 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.472, allocations: 0 / 0.6611 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.472, allocations: 0 / 0.6611 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.4733, allocations: 1.032 MB / 0.6621 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4733, allocations: 0 / 0.6621 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.4736, allocations: 55.91 kB / 0.6621 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/0.4768, allocations: 444.3 kB / 0.6626 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.4768, allocations: 15.98 kB / 0.6626 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000387/0.4772, allocations: 0.6147 MB / 0.6632 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4772, allocations: 4.031 kB / 0.6632 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.478, allocations: 0.5115 MB / 0.6637 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4781, allocations: 132.5 kB / 0.6638 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.4782, allocations: 15.84 kB / 0.6638 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.4786, allocations: 19.98 kB / 0.6638 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.4786, allocations: 31.91 kB / 0.6639 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.4787, allocations: 11.98 kB / 0.6639 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004661/0.4791, allocations: 426.8 kB / 0.6643 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4792, allocations: 0 / 0.6643 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007532/0.4799, allocations: 279.8 kB / 0.6646 GB, free: 12.37 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.001691/0.4816, allocations: 1.334 MB / 0.6659 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008299/0.4824, allocations: 395.5 kB / 0.6662 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4825, allocations: 0 / 0.6662 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.4828, allocations: 168.9 kB / 0.6664 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.4846, allocations: 370.1 kB / 0.6668 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.4913, allocations: 5.049 MB / 0.6717 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.4916, allocations: 0.8595 MB / 0.6725 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001081/0.4927, allocations: 0.5629 MB / 0.6731 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/0.4931, allocations: 235.3 kB / 0.6733 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4931, allocations: 0 / 0.6733 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6086/1.102, allocations: 21.37 MB / 0.6942 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.8, allocations: 2.094 kB / 0.6942 GB, free: 14.12 MB / 0.5294 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