Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.001785/0.001785, allocations: 105 kB / 16.4 MB, free: 6.52 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.00179/0.00179, allocations: 185.5 kB / 17.34 MB, free: 5.73 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.574/1.574, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2161/0.2161, allocations: 43.52 MB / 314.1 MB, free: 452 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.002053/0.002053, allocations: 63.91 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1408, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5417/0.6826, allocations: 190 MB / 0.673 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.6929, allocations: 6.064 MB / 0.6789 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.6937, allocations: 15.88 kB / 0.6789 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009982/0.6947, allocations: 325.8 kB / 0.6792 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005052/0.6998, allocations: 1.941 MB / 0.6811 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.7018, allocations: 0.7142 MB / 0.6818 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.704, allocations: 1.52 MB / 0.6833 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.7047, allocations: 427.5 kB / 0.6837 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.7058, allocations: 0.576 MB / 0.6842 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.7064, allocations: 462.1 kB / 0.6847 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/0.7065, allocations: 48 kB / 0.6847 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.7108, allocations: 2.102 MB / 0.6868 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.711, allocations: 159.5 kB / 0.6869 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.7115, allocations: 342.5 kB / 0.6873 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.715, allocations: 1.924 MB / 0.6891 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.715, allocations: 0 / 0.6891 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.715, allocations: 0 / 0.6891 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.577e-06/0.7151, allocations: 0 / 0.6891 GB, free: 12.11 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002186/0.7172, allocations: 1.147 MB / 0.6903 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.7173, allocations: 11.89 kB / 0.6903 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.7174, allocations: 90.45 kB / 0.6904 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.7185, allocations: 135.5 kB / 0.6905 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.7193, allocations: 0.489 MB / 0.691 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.7193, allocations: 33 kB / 0.691 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.7194, allocations: 40 kB / 0.691 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.7205, allocations: 0.5828 MB / 0.6916 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.7206, allocations: 0 / 0.6916 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.7206, allocations: 23.94 kB / 0.6916 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.7206, allocations: 15.98 kB / 0.6916 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.7216, allocations: 463.6 kB / 0.6921 GB, free: 8.961 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.00328/0.7249, allocations: 2.686 MB / 0.6947 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007629/0.7257, allocations: 339.4 kB / 0.695 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.726, allocations: 165.3 kB / 0.6952 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/0.7275, allocations: 1.301 MB / 0.6965 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.7276, allocations: 38.84 kB / 0.6965 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.7276, allocations: 0 / 0.6965 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001938/0.7296, allocations: 0.7106 MB / 0.6972 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.7297, allocations: 140.4 kB / 0.6973 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.7303, allocations: 470 kB / 0.6978 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.7304, allocations: 29.7 kB / 0.6978 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.7306, allocations: 288.2 kB / 0.6981 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.7308, allocations: 111 kB / 0.6982 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.7309, allocations: 106.1 kB / 0.6983 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7311, allocations: 362.8 kB / 0.6986 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.7315, allocations: 144.7 kB / 0.6988 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.7319, allocations: 279.7 kB / 0.699 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.7327, allocations: 437.5 kB / 0.6995 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7327, allocations: 0 / 0.6995 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001077/0.7338, allocations: 0.5367 MB / 0.7 GB, free: 224 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.7338, allocations: 10.66 kB / 0.7 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7338, allocations: 0 / 0.7 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.7354, allocations: 237 kB / 0.7002 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.7358, allocations: 103.8 kB / 0.7003 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005319/0.7363, allocations: 0.5914 MB / 0.7009 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.7367, allocations: 51.66 kB / 0.7009 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.7368, allocations: 43.98 kB / 0.701 GB, free: 15.16 MB / 0.545 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002885/0.7371, allocations: 189.6 kB / 0.7012 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.7372, allocations: 51.67 kB / 0.7012 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.7388, allocations: 0.718 MB / 0.7019 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.7388, allocations: 4 kB / 0.7019 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7388, allocations: 0 / 0.7019 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7388, allocations: 7.938 kB / 0.7019 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.7404, allocations: 1.014 MB / 0.7029 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.7404, allocations: 4 kB / 0.7029 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.7406, allocations: 56.06 kB / 0.703 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.7437, allocations: 436.1 kB / 0.7034 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.7438, allocations: 15.94 kB / 0.7034 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005354/0.7443, allocations: 0.5914 MB / 0.704 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.7444, allocations: 4.031 kB / 0.704 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.7453, allocations: 0.5121 MB / 0.7045 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.7455, allocations: 148.6 kB / 0.7046 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.7456, allocations: 8 kB / 0.7046 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.746, allocations: 15.98 kB / 0.7046 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.7461, allocations: 27.91 kB / 0.7047 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.7462, allocations: 19.98 kB / 0.7047 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005755/0.7467, allocations: 398.8 kB / 0.7051 GB, free: 10.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7467, allocations: 0 / 0.7051 GB, free: 10.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001128/0.7479, allocations: 374.9 kB / 0.7054 GB, free: 10.41 MB / 0.545 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002464/0.7503, allocations: 1.456 MB / 0.7069 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009153/0.7513, allocations: 376 kB / 0.7072 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7513, allocations: 0 / 0.7072 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.7517, allocations: 159.8 kB / 0.7074 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.7535, allocations: 387.1 kB / 0.7077 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00785/0.7614, allocations: 4.826 MB / 0.7124 GB, free: 2.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.762, allocations: 0.8557 MB / 0.7133 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007911/0.7628, allocations: 200.9 kB / 0.7135 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.7632, allocations: 211.4 kB / 0.7137 GB, free: 1.699 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.7632, allocations: 0 / 0.7137 GB, free: 1.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.824, allocations: 23.93 MB / 0.737 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.17, allocations: 0 / 0.737 GB, free: 9.75 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches