Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001389/0.001389, allocations: 107.7 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 46.09 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 72.98 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.09086, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3027/0.3936, allocations: 184 MB / 0.648 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.3978, allocations: 3.331 MB / 0.6513 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.3982, allocations: 27.75 kB / 0.6513 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.399, allocations: 278.5 kB / 0.6515 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.4017, allocations: 1.278 MB / 0.6528 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.403, allocations: 0.6753 MB / 0.6535 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.4045, allocations: 1.551 MB / 0.655 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.405, allocations: 431.4 kB / 0.6554 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.4058, allocations: 0.5877 MB / 0.656 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.4063, allocations: 486 kB / 0.6564 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.901e-05/0.4064, allocations: 52 kB / 0.6565 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.408, allocations: 1.174 MB / 0.6576 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.4081, allocations: 159.5 kB / 0.6578 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.4084, allocations: 350.5 kB / 0.6581 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.41, allocations: 1.504 MB / 0.6596 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.41, allocations: 0 / 0.6596 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.41, allocations: 0 / 0.6596 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.41, allocations: 0 / 0.6596 GB, free: 15.61 MB / 0.4981 GB 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.001618/0.4116, allocations: 1.06 MB / 0.6606 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.4117, allocations: 12.03 kB / 0.6606 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.33e-05/0.4118, allocations: 82.52 kB / 0.6607 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009386/0.4127, allocations: 147 kB / 0.6608 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.4133, allocations: 480.4 kB / 0.6613 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4133, allocations: 29 kB / 0.6613 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.4134, allocations: 43.94 kB / 0.6614 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.4143, allocations: 0.6021 MB / 0.662 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4144, allocations: 0 / 0.662 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.4144, allocations: 20 kB / 0.662 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4144, allocations: 12 kB / 0.662 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/0.4153, allocations: 483.5 kB / 0.6624 GB, free: 12.53 MB / 0.4981 GB 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.002487/0.4178, allocations: 2.678 MB / 0.6651 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.4185, allocations: 346.2 kB / 0.6654 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.4188, allocations: 181.3 kB / 0.6656 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.4191, allocations: 433.9 kB / 0.666 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4191, allocations: 38.84 kB / 0.666 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.4191, allocations: 0 / 0.666 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00155/0.4207, allocations: 0.7343 MB / 0.6667 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.4207, allocations: 132.5 kB / 0.6669 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.4212, allocations: 0.4941 MB / 0.6673 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.4213, allocations: 29.7 kB / 0.6674 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.4214, allocations: 279.8 kB / 0.6676 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.4215, allocations: 122.2 kB / 0.6678 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.4217, allocations: 98.12 kB / 0.6678 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4218, allocations: 366.7 kB / 0.6682 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.4221, allocations: 152.8 kB / 0.6683 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.4224, allocations: 275.7 kB / 0.6686 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.4231, allocations: 445.6 kB / 0.669 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4231, allocations: 7.938 kB / 0.669 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009119/0.424, allocations: 0.5442 MB / 0.6696 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.424, allocations: 11.94 kB / 0.6696 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4241, allocations: 4 kB / 0.6696 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.4255, allocations: 237 kB / 0.6698 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.4258, allocations: 103.9 kB / 0.6699 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003673/0.4262, allocations: 0.5953 MB / 0.6705 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.4265, allocations: 63.41 kB / 0.6705 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.4266, allocations: 47.98 kB / 0.6706 GB, free: 3.613 MB / 0.4981 GB 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.0001979/0.4268, allocations: 185.8 kB / 0.6708 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.4269, allocations: 51.44 kB / 0.6708 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.4287, allocations: 1.096 MB / 0.6719 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4288, allocations: 4 kB / 0.6719 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4288, allocations: 0 / 0.6719 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4288, allocations: 0 / 0.6719 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.43, allocations: 1.032 MB / 0.6729 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.43, allocations: 4 kB / 0.6729 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.4302, allocations: 55.91 kB / 0.673 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/0.4333, allocations: 444.3 kB / 0.6734 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.4333, allocations: 12 kB / 0.6734 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003486/0.4337, allocations: 0.609 MB / 0.674 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.4337, allocations: 4.047 kB / 0.674 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.4344, allocations: 0.5155 MB / 0.6745 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.4345, allocations: 136.3 kB / 0.6746 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.4346, allocations: 8 kB / 0.6746 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.435, allocations: 39.97 kB / 0.6747 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.435, allocations: 31.78 kB / 0.6747 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.4351, allocations: 19.98 kB / 0.6747 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004231/0.4355, allocations: 418.8 kB / 0.6751 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4355, allocations: 0 / 0.6751 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006577/0.4362, allocations: 283.8 kB / 0.6754 GB, free: 14.51 MB / 0.5137 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.001562/0.4377, allocations: 1.326 MB / 0.6767 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007422/0.4385, allocations: 392.7 kB / 0.6771 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4385, allocations: 0 / 0.6771 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.4388, allocations: 181.2 kB / 0.6772 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.4403, allocations: 360.9 kB / 0.6776 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.446, allocations: 5.233 MB / 0.6827 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.4464, allocations: 0.8596 MB / 0.6835 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001074/0.4475, allocations: 0.5607 MB / 0.6841 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.4478, allocations: 227.3 kB / 0.6843 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4478, allocations: 0 / 0.6843 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6944/1.142, allocations: 21.22 MB / 0.705 GB, free: 240 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1714/1.314, allocations: 316 kB / 0.7053 GB, free: 206 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.429/5.743, allocations: 0 / 0.7053 GB, free: 206 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches