Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",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.001698/0.001698, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001904/0.001904, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2053/0.2053, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4041, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2146/0.6188, allocations: 182.8 MB / 0.697 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.6231, allocations: 2.131 MB / 0.6991 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.6239, allocations: 15.88 kB / 0.6991 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.625, allocations: 302 kB / 0.6994 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.6288, allocations: 1.181 MB / 0.7005 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.6307, allocations: 0.6815 MB / 0.7012 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.6328, allocations: 1.481 MB / 0.7026 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008266/0.6337, allocations: 419.4 kB / 0.703 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.6348, allocations: 0.5839 MB / 0.7036 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007893/0.6356, allocations: 438.2 kB / 0.704 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.6358, allocations: 48 kB / 0.7041 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.6376, allocations: 0.7879 MB / 0.7048 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.6379, allocations: 147.5 kB / 0.705 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.6384, allocations: 326.5 kB / 0.7053 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.6407, allocations: 1.215 MB / 0.7065 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6407, allocations: 0 / 0.7065 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6407, allocations: 4 kB / 0.7065 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.632e-05/0.6407, allocations: 0 / 0.7065 GB, free: 10.84 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002486/0.6432, allocations: 1.008 MB / 0.7075 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.6433, allocations: 8.031 kB / 0.7075 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.6435, allocations: 82.47 kB / 0.7075 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6446, allocations: 143.5 kB / 0.7077 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.6456, allocations: 472.8 kB / 0.7081 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.6457, allocations: 29 kB / 0.7082 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.6457, allocations: 39.94 kB / 0.7082 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6469, allocations: 0.5555 MB / 0.7087 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.6469, allocations: 3.984 kB / 0.7087 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.647, allocations: 24 kB / 0.7088 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.647, allocations: 8 kB / 0.7088 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.6479, allocations: 403.6 kB / 0.7092 GB, free: 7.953 MB / 0.5606 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.003171/0.6511, allocations: 2.577 MB / 0.7117 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.6517, allocations: 286.9 kB / 0.712 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.652, allocations: 140.8 kB / 0.7121 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/0.6523, allocations: 360.4 kB / 0.7124 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.6524, allocations: 46.44 kB / 0.7125 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.6524, allocations: 4 kB / 0.7125 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002423/0.6548, allocations: 0.7033 MB / 0.7132 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.6549, allocations: 132.5 kB / 0.7133 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.6554, allocations: 453.8 kB / 0.7137 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.6555, allocations: 29.7 kB / 0.7138 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.6557, allocations: 280.2 kB / 0.714 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6558, allocations: 103.2 kB / 0.7141 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.656, allocations: 105.6 kB / 0.7142 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6561, allocations: 358.8 kB / 0.7146 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.6565, allocations: 143.9 kB / 0.7147 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.657, allocations: 267.3 kB / 0.715 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/0.6579, allocations: 425.5 kB / 0.7154 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-06/0.6579, allocations: 4 kB / 0.7154 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00126/0.6592, allocations: 0.533 MB / 0.7159 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6592, allocations: 7.938 kB / 0.7159 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6592, allocations: 4 kB / 0.7159 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.6612, allocations: 264.8 kB / 0.7161 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.6616, allocations: 103.9 kB / 0.7162 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2709/0.9325, allocations: 0.5935 MB / 0.7168 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.9331, allocations: 49.31 kB / 0.7169 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.9333, allocations: 48.16 kB / 0.7169 GB, free: 189.9 MB / 0.5606 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.9336, allocations: 188.5 kB / 0.7171 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9337, allocations: 52.61 kB / 0.7172 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.936, allocations: 1.018 MB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.9361, allocations: 6.172 kB / 0.7182 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9361, allocations: 0.75 kB / 0.7182 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.9361, allocations: 4.875 kB / 0.7182 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.9377, allocations: 0.9734 MB / 0.7191 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9378, allocations: 6.656 kB / 0.7191 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.938, allocations: 45.09 kB / 0.7192 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/0.9398, allocations: 267 kB / 0.7194 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.9399, allocations: 13.17 kB / 0.7194 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007807/0.9407, allocations: 0.5992 MB / 0.72 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9407, allocations: 1.062 kB / 0.72 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.9419, allocations: 0.5202 MB / 0.7205 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.9421, allocations: 127.8 kB / 0.7206 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.9422, allocations: 14.36 kB / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.9426, allocations: 17.69 kB / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.9427, allocations: 23.34 kB / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.9427, allocations: 24.41 kB / 0.7207 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005165/0.9432, allocations: 394.7 kB / 0.7211 GB, free: 188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9432, allocations: 2.078 kB / 0.7211 GB, free: 188 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008425/0.9441, allocations: 218.2 kB / 0.7213 GB, free: 188 MB / 0.5606 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.002033/0.9461, allocations: 1.239 MB / 0.7225 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.9475, allocations: 376.9 kB / 0.7229 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9475, allocations: 0 / 0.7229 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007375/0.9483, allocations: 161.1 kB / 0.723 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.95, allocations: 346.7 kB / 0.7234 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007444/0.9574, allocations: 4.713 MB / 0.728 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.9578, allocations: 0.8483 MB / 0.7288 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00126/0.9591, allocations: 0.5436 MB / 0.7293 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.9595, allocations: 216.7 kB / 0.7295 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/0.9595, allocations: 1.375 kB / 0.7295 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/1.002, allocations: 19.38 MB / 0.7485 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.14, allocations: 10.7 kB / 0.7485 GB, free: 169.3 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches