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.00138/0.00138, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001074/0.001074, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.331/1.331, 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.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.334, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2135/0.5476, allocations: 182.8 MB / 0.697 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004161/0.5518, allocations: 2.13 MB / 0.6991 GB, free: 2.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007301/0.5525, allocations: 15.94 kB / 0.6991 GB, free: 2.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.5536, allocations: 305.9 kB / 0.6994 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.5571, allocations: 1.164 MB / 0.7005 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.5591, allocations: 0.6774 MB / 0.7012 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.5611, allocations: 1.488 MB / 0.7026 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/0.5619, allocations: 415.5 kB / 0.703 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.563, allocations: 0.5683 MB / 0.7036 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000749/0.5638, allocations: 446.1 kB / 0.704 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.962e-05/0.5639, allocations: 48 kB / 0.704 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5654, allocations: 0.7919 MB / 0.7048 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.5656, allocations: 151.5 kB / 0.705 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.5659, allocations: 318.5 kB / 0.7053 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.5675, allocations: 1.211 MB / 0.7064 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5675, allocations: 0 / 0.7064 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5676, allocations: 0 / 0.7064 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.5676, allocations: 4 kB / 0.7064 GB, free: 10.93 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.001879/0.5695, allocations: 0.9818 MB / 0.7074 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5695, allocations: 12.03 kB / 0.7074 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.5696, allocations: 82.47 kB / 0.7075 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.5706, allocations: 135.2 kB / 0.7076 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.5714, allocations: 460.5 kB / 0.7081 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.5715, allocations: 33 kB / 0.7081 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.5716, allocations: 47.94 kB / 0.7081 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.5726, allocations: 0.5554 MB / 0.7087 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5726, allocations: 0 / 0.7087 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.5727, allocations: 20 kB / 0.7087 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5727, allocations: 12 kB / 0.7087 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/0.5736, allocations: 407.6 kB / 0.7091 GB, free: 8.074 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.002882/0.5765, allocations: 2.565 MB / 0.7116 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.5771, allocations: 286.6 kB / 0.7119 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.5774, allocations: 149 kB / 0.712 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.5777, allocations: 360.3 kB / 0.7124 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5777, allocations: 42.56 kB / 0.7124 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.5777, allocations: 0 / 0.7124 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002315/0.5801, allocations: 0.699 MB / 0.7131 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.5801, allocations: 140.5 kB / 0.7132 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.5806, allocations: 449.8 kB / 0.7136 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.5807, allocations: 33.7 kB / 0.7137 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5808, allocations: 267.9 kB / 0.7139 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/0.5809, allocations: 106.5 kB / 0.714 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.5811, allocations: 101.7 kB / 0.7141 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5813, allocations: 354.8 kB / 0.7145 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.5817, allocations: 147.9 kB / 0.7146 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.5821, allocations: 279.1 kB / 0.7149 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.583, allocations: 421.5 kB / 0.7153 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.583, allocations: 0 / 0.7153 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001156/0.5842, allocations: 0.5212 MB / 0.7158 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5842, allocations: 11.94 kB / 0.7158 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5842, allocations: 4 kB / 0.7158 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.5863, allocations: 268.6 kB / 0.7161 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.5867, allocations: 107.8 kB / 0.7162 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.241/0.8277, allocations: 0.5975 MB / 0.7167 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.8283, allocations: 44.72 kB / 0.7168 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.8285, allocations: 47.97 kB / 0.7168 GB, free: 190 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.0003254/0.8288, allocations: 186.3 kB / 0.717 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.8289, allocations: 50.44 kB / 0.7171 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.8315, allocations: 1.02 MB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8315, allocations: 3.234 kB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8315, allocations: 0.75 kB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8316, allocations: 2.422 kB / 0.7181 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.8335, allocations: 0.9688 MB / 0.719 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8335, allocations: 2.094 kB / 0.719 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.8338, allocations: 56.55 kB / 0.7191 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.8357, allocations: 263.5 kB / 0.7193 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.8357, allocations: 11.95 kB / 0.7193 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008112/0.8365, allocations: 0.6052 MB / 0.7199 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8365, allocations: 1.969 kB / 0.7199 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.8379, allocations: 0.5053 MB / 0.7204 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.8381, allocations: 141.7 kB / 0.7206 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.8382, allocations: 9.453 kB / 0.7206 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.8385, allocations: 16.91 kB / 0.7206 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.8386, allocations: 29.39 kB / 0.7206 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.8387, allocations: 20.73 kB / 0.7206 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005584/0.8393, allocations: 386.5 kB / 0.721 GB, free: 188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8393, allocations: 1.188 kB / 0.721 GB, free: 188 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009131/0.8402, allocations: 220.6 kB / 0.7212 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.002125/0.8423, allocations: 1.239 MB / 0.7224 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.8438, allocations: 369.5 kB / 0.7228 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.8438, allocations: 3.219 kB / 0.7228 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/0.8445, allocations: 161.6 kB / 0.7229 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.8464, allocations: 347.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.008459/0.8549, allocations: 4.689 MB / 0.7278 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.8552, allocations: 0.8486 MB / 0.7287 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001046/0.8562, allocations: 0.5465 MB / 0.7292 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.8566, allocations: 219.8 kB / 0.7294 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.021e-06/0.8566, allocations: 1.031 kB / 0.7294 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.8954, allocations: 19.66 MB / 0.7486 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.62, allocations: 11.08 kB / 0.7486 GB, free: 169.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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