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.001246/0.001246, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001236/0.001236, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.12 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.227/0.227, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 60.84 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2214/0.5461, allocations: 182.8 MB / 0.697 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00445/0.5506, allocations: 2.146 MB / 0.6991 GB, free: 2.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/0.5513, allocations: 15.88 kB / 0.6991 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.5522, allocations: 298 kB / 0.6994 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.5556, allocations: 1.166 MB / 0.7005 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.5576, allocations: 0.6813 MB / 0.7012 GB, free: 324 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.5596, allocations: 1.484 MB / 0.7026 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.5602, allocations: 419.5 kB / 0.703 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000959/0.5612, allocations: 0.5605 MB / 0.7036 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.5618, allocations: 442.1 kB / 0.704 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.8e-05/0.5619, allocations: 48 kB / 0.704 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.5636, allocations: 0.7841 MB / 0.7048 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5638, allocations: 151.5 kB / 0.7049 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.5642, allocations: 330.5 kB / 0.7053 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.5661, allocations: 1.211 MB / 0.7064 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5661, allocations: 4 kB / 0.7064 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5661, allocations: 0 / 0.7064 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5662, allocations: 0 / 0.7064 GB, free: 10.88 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.001983/0.5681, allocations: 1.008 MB / 0.7074 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5682, allocations: 8.031 kB / 0.7074 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.5683, allocations: 82.53 kB / 0.7075 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.5694, allocations: 139.5 kB / 0.7077 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.5702, allocations: 472.8 kB / 0.7081 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.5702, allocations: 29 kB / 0.7081 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.5703, allocations: 39.94 kB / 0.7082 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.5714, allocations: 0.5554 MB / 0.7087 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5714, allocations: 0 / 0.7087 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.5715, allocations: 24 kB / 0.7087 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5715, allocations: 8 kB / 0.7087 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.5724, allocations: 411.6 kB / 0.7091 GB, free: 7.992 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.003164/0.5755, allocations: 2.565 MB / 0.7116 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.5762, allocations: 286.6 kB / 0.7119 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.5766, allocations: 153 kB / 0.7121 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003802/0.577, allocations: 360.4 kB / 0.7124 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.577, allocations: 34.5 kB / 0.7124 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.577, allocations: 4 kB / 0.7124 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002533/0.5796, allocations: 0.7032 MB / 0.7131 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.5797, allocations: 136.5 kB / 0.7133 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.5802, allocations: 449.9 kB / 0.7137 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.5803, allocations: 29.7 kB / 0.7137 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.5805, allocations: 288.2 kB / 0.714 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5806, allocations: 99.17 kB / 0.7141 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.5808, allocations: 105.6 kB / 0.7142 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.5811, allocations: 362.8 kB / 0.7145 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.5815, allocations: 139.9 kB / 0.7147 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.582, allocations: 275.2 kB / 0.7149 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.5829, allocations: 421.5 kB / 0.7153 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.583, allocations: 0 / 0.7153 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001331/0.5843, allocations: 0.5251 MB / 0.7158 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5843, allocations: 11.94 kB / 0.7159 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5844, allocations: 4 kB / 0.7159 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.5866, allocations: 268.8 kB / 0.7161 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.587, allocations: 103.8 kB / 0.7162 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2153/0.8023, allocations: 0.5999 MB / 0.7168 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.8029, allocations: 48.05 kB / 0.7168 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.803, allocations: 47.42 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.0002864/0.8033, allocations: 184.2 kB / 0.7171 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.8034, allocations: 53.09 kB / 0.7171 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.8057, allocations: 1.018 MB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.8058, allocations: 4.156 kB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8058, allocations: 2.156 kB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8058, allocations: 1.5 kB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.8074, allocations: 0.9715 MB / 0.7191 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8075, allocations: 6.25 kB / 0.7191 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.8077, allocations: 54.55 kB / 0.7191 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001814/0.8095, allocations: 265.4 kB / 0.7194 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.8096, allocations: 12.53 kB / 0.7194 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007763/0.8104, allocations: 0.6042 MB / 0.72 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8104, allocations: 2.891 kB / 0.72 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.8117, allocations: 0.5163 MB / 0.7205 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.8118, allocations: 131.3 kB / 0.7206 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.8119, allocations: 12.83 kB / 0.7206 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.8123, allocations: 17.3 kB / 0.7206 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.8124, allocations: 28.69 kB / 0.7207 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.8124, allocations: 18.11 kB / 0.7207 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005732/0.813, allocations: 389.5 kB / 0.7211 GB, free: 188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/0.813, allocations: 3.922 kB / 0.7211 GB, free: 188 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008583/0.8139, allocations: 221 kB / 0.7213 GB, free: 187.9 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.002042/0.8159, allocations: 1.235 MB / 0.7225 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.8174, allocations: 371.1 kB / 0.7228 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8174, allocations: 0 / 0.7228 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007161/0.8181, allocations: 166.7 kB / 0.723 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.82, allocations: 343.6 kB / 0.7233 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/0.8275, allocations: 4.715 MB / 0.7279 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.8279, allocations: 0.8413 MB / 0.7287 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001108/0.829, allocations: 0.5479 MB / 0.7293 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.8294, allocations: 220.6 kB / 0.7295 GB, free: 183 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/0.8294, allocations: 1.5 kB / 0.7295 GB, free: 183 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04812/0.8776, allocations: 19.38 MB / 0.7484 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.74, allocations: 13.7 kB / 0.7484 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