Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_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.001208/0.001208, allocations: 108 kB / 16.41 MB, free: 6.484 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.001211/0.001212, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.89 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4478/0.5552, allocations: 189.8 MB / 0.6728 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.5596, allocations: 2.135 MB / 0.6748 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.5602, allocations: 19.88 kB / 0.6749 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.5612, allocations: 294 kB / 0.6751 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.565, allocations: 1.404 MB / 0.6765 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5669, allocations: 0.6837 MB / 0.6772 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.5687, allocations: 1.477 MB / 0.6786 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.5693, allocations: 420.7 kB / 0.679 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000842/0.5702, allocations: 0.5566 MB / 0.6796 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.5707, allocations: 438.1 kB / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-05/0.5709, allocations: 48 kB / 0.68 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.5728, allocations: 1.004 MB / 0.681 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.573, allocations: 151.5 kB / 0.6812 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.5734, allocations: 322.5 kB / 0.6815 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.5754, allocations: 1.335 MB / 0.6828 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5754, allocations: 0 / 0.6828 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5754, allocations: 0 / 0.6828 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.5754, allocations: 4 kB / 0.6828 GB, free: 2.664 MB / 0.5137 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.001817/0.5773, allocations: 1.046 MB / 0.6838 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5773, allocations: 23.88 kB / 0.6838 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.908e-05/0.5774, allocations: 78.53 kB / 0.6839 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/0.5784, allocations: 135.5 kB / 0.684 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.5792, allocations: 476.9 kB / 0.6845 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.5792, allocations: 29 kB / 0.6845 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.5793, allocations: 36 kB / 0.6845 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.5803, allocations: 0.5516 MB / 0.6851 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.5803, allocations: 6.188 kB / 0.6851 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.5804, allocations: 16 kB / 0.6851 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.5804, allocations: 12 kB / 0.6851 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.5813, allocations: 411.6 kB / 0.6855 GB, free: 15.73 MB / 0.5294 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.002969/0.5843, allocations: 2.589 MB / 0.688 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.5849, allocations: 287.3 kB / 0.6883 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.5852, allocations: 156.8 kB / 0.6885 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.5865, allocations: 1.221 MB / 0.6896 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.5865, allocations: 38.56 kB / 0.6897 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 3.557e-06/0.5865, allocations: 0 / 0.6897 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002417/0.589, allocations: 0.7039 MB / 0.6904 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.5891, allocations: 132.5 kB / 0.6905 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.5896, allocations: 441.9 kB / 0.6909 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.5897, allocations: 33.7 kB / 0.6909 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.5899, allocations: 288.2 kB / 0.6912 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.59, allocations: 107 kB / 0.6913 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.5902, allocations: 101.7 kB / 0.6914 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5903, allocations: 358.8 kB / 0.6918 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.5907, allocations: 139.8 kB / 0.6919 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.5912, allocations: 275.2 kB / 0.6922 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.5921, allocations: 424.8 kB / 0.6926 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5921, allocations: 0 / 0.6926 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001212/0.5934, allocations: 0.5211 MB / 0.6931 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5934, allocations: 14.59 kB / 0.6931 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5934, allocations: 4 kB / 0.6931 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.5954, allocations: 272.8 kB / 0.6934 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.5958, allocations: 103.9 kB / 0.6935 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.5968, allocations: 0.5991 MB / 0.694 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.5972, allocations: 47.72 kB / 0.6941 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.5973, allocations: 51.97 kB / 0.6941 GB, free: 6.219 MB / 0.5294 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.0002676/0.5976, allocations: 181.6 kB / 0.6943 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5977, allocations: 51.67 kB / 0.6944 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.5994, allocations: 0.6653 MB / 0.695 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5994, allocations: 4 kB / 0.695 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5994, allocations: 0 / 0.695 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5995, allocations: 3.938 kB / 0.695 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.6012, allocations: 0.9753 MB / 0.696 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.6012, allocations: 0 / 0.696 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.6015, allocations: 63.97 kB / 0.696 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.6033, allocations: 260.4 kB / 0.6963 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.6033, allocations: 7.984 kB / 0.6963 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009579/0.6043, allocations: 0.6069 MB / 0.6969 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6043, allocations: 0 / 0.6969 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.6057, allocations: 0.5156 MB / 0.6974 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.6059, allocations: 136.6 kB / 0.6975 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.6061, allocations: 12 kB / 0.6975 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.6064, allocations: 19.97 kB / 0.6975 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.6065, allocations: 19.91 kB / 0.6976 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.6066, allocations: 19.98 kB / 0.6976 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005228/0.6071, allocations: 390.8 kB / 0.6979 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6071, allocations: 0 / 0.6979 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008172/0.6079, allocations: 259.5 kB / 0.6982 GB, free: 1.859 MB / 0.5294 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.002366/0.6103, allocations: 1.318 MB / 0.6995 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.6117, allocations: 372.8 kB / 0.6998 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6117, allocations: 4 kB / 0.6998 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.6125, allocations: 164 kB / 0.7 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.6141, allocations: 344.8 kB / 0.7003 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.6216, allocations: 4.714 MB / 0.7049 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.6221, allocations: 0.8472 MB / 0.7058 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006456/0.6227, allocations: 188.5 kB / 0.7059 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.6231, allocations: 211.3 kB / 0.7061 GB, free: 9.461 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6231, allocations: 4 kB / 0.7061 GB, free: 9.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05129/0.6744, allocations: 20.36 MB / 0.726 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.54, allocations: 4.375 kB / 0.726 GB, free: 5.066 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches