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.001346/0.001346, allocations: 109.1 kB / 16.41 MB, free: 6.445 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.001407/0.001407, allocations: 185.5 kB / 17.34 MB, free: 5.723 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.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2152/0.2152, allocations: 43.52 MB / 314.1 MB, free: 448 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.001673/0.001673, allocations: 59.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1042, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4275/0.5318, allocations: 189.8 MB / 0.6727 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.5361, allocations: 2.137 MB / 0.6748 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.5368, allocations: 15.88 kB / 0.6748 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.538, allocations: 301.9 kB / 0.6751 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.5423, allocations: 1.405 MB / 0.6765 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.5443, allocations: 0.6818 MB / 0.6772 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.5469, allocations: 1.473 MB / 0.6786 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.548, allocations: 427.4 kB / 0.679 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.5492, allocations: 0.5605 MB / 0.6796 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/0.55, allocations: 446.1 kB / 0.68 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.5502, allocations: 44 kB / 0.68 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.5527, allocations: 1.002 MB / 0.681 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.5529, allocations: 147.5 kB / 0.6811 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.5535, allocations: 318.6 kB / 0.6815 GB, free: 4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.5561, allocations: 1.328 MB / 0.6828 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5561, allocations: 0 / 0.6828 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5561, allocations: 7.938 kB / 0.6828 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.957e-05/0.5561, allocations: 0 / 0.6828 GB, free: 2.66 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.002114/0.5583, allocations: 1.024 MB / 0.6838 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5583, allocations: 15.89 kB / 0.6838 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.5584, allocations: 86.52 kB / 0.6839 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5595, allocations: 135.2 kB / 0.684 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.5604, allocations: 472.5 kB / 0.6844 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.5604, allocations: 37 kB / 0.6845 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.5605, allocations: 36 kB / 0.6845 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009857/0.5615, allocations: 0.5438 MB / 0.685 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5615, allocations: 7.938 kB / 0.685 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.5615, allocations: 16 kB / 0.6851 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.5616, allocations: 12 kB / 0.6851 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.5624, allocations: 411.6 kB / 0.6855 GB, free: 15.75 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.002826/0.5652, allocations: 2.584 MB / 0.688 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.5658, allocations: 290.6 kB / 0.6883 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.5661, allocations: 156.9 kB / 0.6884 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.5673, allocations: 1.213 MB / 0.6896 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5673, allocations: 42.56 kB / 0.6896 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.5673, allocations: 0 / 0.6896 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002405/0.5697, allocations: 0.7075 MB / 0.6903 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.5698, allocations: 136.5 kB / 0.6905 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.5703, allocations: 441.9 kB / 0.6909 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.5704, allocations: 33.7 kB / 0.6909 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.5706, allocations: 267.8 kB / 0.6912 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/0.5707, allocations: 98.59 kB / 0.6913 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.5709, allocations: 105.5 kB / 0.6914 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.571, allocations: 358.8 kB / 0.6917 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.5714, allocations: 143.9 kB / 0.6918 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.5718, allocations: 275.2 kB / 0.6921 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/0.5727, allocations: 420.8 kB / 0.6925 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5727, allocations: 0 / 0.6925 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001186/0.5739, allocations: 0.5211 MB / 0.693 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5739, allocations: 14.75 kB / 0.693 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5739, allocations: 4 kB / 0.693 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/0.576, allocations: 272.7 kB / 0.6933 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.5765, allocations: 103.9 kB / 0.6934 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009345/0.5774, allocations: 0.6069 MB / 0.694 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.5779, allocations: 43.52 kB / 0.694 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.5779, allocations: 47.98 kB / 0.6941 GB, free: 6.266 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.0002678/0.5782, allocations: 193.6 kB / 0.6943 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.5784, allocations: 51.38 kB / 0.6943 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.58, allocations: 0.6535 MB / 0.6949 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.58, allocations: 4.688 kB / 0.6949 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.58, allocations: 3.984 kB / 0.695 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.58, allocations: 3.938 kB / 0.695 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.5817, allocations: 0.9789 MB / 0.6959 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5817, allocations: 0 / 0.6959 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.582, allocations: 52.58 kB / 0.696 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.5838, allocations: 260.6 kB / 0.6962 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.5838, allocations: 11.98 kB / 0.6962 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009054/0.5848, allocations: 0.6036 MB / 0.6968 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5848, allocations: 32 / 0.6968 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.586, allocations: 0.5075 MB / 0.6973 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.5862, allocations: 128.5 kB / 0.6974 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.5863, allocations: 15.84 kB / 0.6974 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.5868, allocations: 20.73 kB / 0.6975 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.5868, allocations: 31.92 kB / 0.6975 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.5869, allocations: 19.98 kB / 0.6975 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004588/0.5874, allocations: 382.8 kB / 0.6979 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5874, allocations: 0 / 0.6979 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008339/0.5882, allocations: 259.8 kB / 0.6981 GB, free: 1.918 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.002282/0.5905, allocations: 1.306 MB / 0.6994 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.5919, allocations: 380 kB / 0.6998 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5919, allocations: 7.938 kB / 0.6998 GB, free: 192 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000728/0.5926, allocations: 165.1 kB / 0.6999 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5942, allocations: 349.5 kB / 0.7003 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.6015, allocations: 4.676 MB / 0.7048 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.6019, allocations: 0.855 MB / 0.7057 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006318/0.6026, allocations: 184.8 kB / 0.7058 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.6029, allocations: 211.3 kB / 0.706 GB, free: 9.547 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.6029, allocations: 0 / 0.706 GB, free: 9.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/0.6492, allocations: 20.64 MB / 0.7262 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.83, allocations: 4.375 kB / 0.7262 GB, free: 4.875 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