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.000851/0.000851, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.0009391/0.0009391, allocations: 176.7 kB / 18.25 MB, free: 5.527 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.213/1.213, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1654/0.1654, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09292, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3394/0.4324, allocations: 178.7 MB / 0.6358 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004555/0.437, allocations: 3.35 MB / 0.639 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.4373, allocations: 15.88 kB / 0.6391 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.4379, allocations: 270.5 kB / 0.6393 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.4405, allocations: 1.235 MB / 0.6405 GB, free: 11.05 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.4418, allocations: 0.6511 MB / 0.6412 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.4435, allocations: 2.046 MB / 0.6432 GB, free: 8.352 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.4439, allocations: 367.2 kB / 0.6435 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/0.4445, allocations: 0.5251 MB / 0.644 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.445, allocations: 466.1 kB / 0.6445 GB, free: 7.008 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.445, allocations: 28 kB / 0.6445 GB, free: 6.98 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.4466, allocations: 1.111 MB / 0.6456 GB, free: 5.867 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4468, allocations: 135.5 kB / 0.6457 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.4471, allocations: 356.1 kB / 0.646 GB, free: 5.379 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4485, allocations: 1.457 MB / 0.6475 GB, free: 3.918 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4485, allocations: 4 kB / 0.6475 GB, free: 3.914 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4485, allocations: 0 / 0.6475 GB, free: 3.914 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.4485, allocations: 0 / 0.6475 GB, free: 3.914 MB / 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.001373/0.4499, allocations: 0.9154 MB / 0.6484 GB, free: 2.949 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4499, allocations: 12.03 kB / 0.6484 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.434e-05/0.45, allocations: 82.53 kB / 0.6485 GB, free: 2.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009062/0.4509, allocations: 139.1 kB / 0.6486 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.4515, allocations: 480.5 kB / 0.649 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.4515, allocations: 40.88 kB / 0.6491 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.4516, allocations: 40 kB / 0.6491 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.4526, allocations: 0.5984 MB / 0.6497 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4526, allocations: 3.938 kB / 0.6497 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.4527, allocations: 16 kB / 0.6497 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.4527, allocations: 12 kB / 0.6497 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.4536, allocations: 499.6 kB / 0.6502 GB, free: 0.9648 MB / 478.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.002505/0.4561, allocations: 2.667 MB / 0.6528 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.4568, allocations: 355.5 kB / 0.6532 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.4571, allocations: 181.3 kB / 0.6533 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.4574, allocations: 437.8 kB / 0.6537 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4575, allocations: 34.84 kB / 0.6538 GB, free: 12.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.4575, allocations: 4 kB / 0.6538 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001571/0.4591, allocations: 0.7537 MB / 0.6545 GB, free: 12.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.4591, allocations: 132.5 kB / 0.6546 GB, free: 12.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.4596, allocations: 494.1 kB / 0.6551 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.4597, allocations: 33.7 kB / 0.6551 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4598, allocations: 287.7 kB / 0.6554 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.4599, allocations: 114.3 kB / 0.6555 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.46, allocations: 41.64 kB / 0.6556 GB, free: 11.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4601, allocations: 362.8 kB / 0.6559 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.4604, allocations: 156.8 kB / 0.6561 GB, free: 10.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.4608, allocations: 287.7 kB / 0.6563 GB, free: 10.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.4615, allocations: 449.6 kB / 0.6568 GB, free: 9.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4615, allocations: 0 / 0.6568 GB, free: 9.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009284/0.4624, allocations: 0.5562 MB / 0.6573 GB, free: 9.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4625, allocations: 8 kB / 0.6573 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4625, allocations: 3.984 kB / 0.6573 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.464, allocations: 292.7 kB / 0.6576 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.4643, allocations: 111.8 kB / 0.6577 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003675/0.4647, allocations: 0.5961 MB / 0.6583 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.465, allocations: 63.56 kB / 0.6584 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.4651, allocations: 48.77 kB / 0.6584 GB, free: 8.023 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.0002018/0.4653, allocations: 186.2 kB / 0.6586 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.4654, allocations: 55.34 kB / 0.6586 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.4672, allocations: 1.121 MB / 0.6597 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4673, allocations: 4 kB / 0.6597 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4673, allocations: 0 / 0.6597 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4673, allocations: 3.938 kB / 0.6597 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.4685, allocations: 1.038 MB / 0.6607 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4685, allocations: 4 kB / 0.6608 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.4688, allocations: 55.91 kB / 0.6608 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/0.472, allocations: 0.5394 MB / 0.6613 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.472, allocations: 19.98 kB / 0.6613 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003404/0.4723, allocations: 0.6031 MB / 0.6619 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4723, allocations: 0 / 0.6619 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.473, allocations: 0.5233 MB / 0.6624 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4732, allocations: 168.2 kB / 0.6626 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.4733, allocations: 8 kB / 0.6626 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.4736, allocations: 35.91 kB / 0.6627 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.4737, allocations: 31.91 kB / 0.6627 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.4737, allocations: 16 kB / 0.6627 GB, free: 3.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004322/0.4742, allocations: 422.8 kB / 0.6631 GB, free: 3.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4742, allocations: 0 / 0.6631 GB, free: 3.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006933/0.4749, allocations: 283.8 kB / 0.6634 GB, free: 2.734 MB / 494.1 MB 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.00153/0.4764, allocations: 1.337 MB / 0.6647 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000708/0.4771, allocations: 388.5 kB / 0.665 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4771, allocations: 0 / 0.665 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.4775, allocations: 171.8 kB / 0.6652 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4792, allocations: 355.5 kB / 0.6655 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.4851, allocations: 5.287 MB / 0.6707 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.4854, allocations: 0.8557 MB / 0.6715 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001049/0.4865, allocations: 0.5576 MB / 0.6721 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.4868, allocations: 227.3 kB / 0.6723 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.4868, allocations: 0 / 0.6723 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.119/1.605, allocations: 20.45 MB / 0.6923 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005041/1.606, allocations: 305.8 kB / 0.6926 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.936, allocations: 3.938 kB / 0.6926 GB, free: 4.828 MB / 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