Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_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.001633/0.001632, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001519/0.001519, allocations: 185 kB / 18.72 MB, free: 4.332 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2118/0.2118, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 71.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3566, allocations: 60.81 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2244/0.5811, allocations: 183 MB / 0.6972 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.5877, allocations: 3.623 MB / 0.7007 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.5884, allocations: 15.88 kB / 0.7007 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.5894, allocations: 321.8 kB / 0.701 GB, free: 488 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004447/0.5939, allocations: 1.707 MB / 0.7027 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.596, allocations: 0.7127 MB / 0.7034 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00216/0.5981, allocations: 1.524 MB / 0.7049 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.5988, allocations: 431.5 kB / 0.7053 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009483/0.5997, allocations: 0.5839 MB / 0.7059 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.6003, allocations: 454.1 kB / 0.7063 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.6004, allocations: 52 kB / 0.7064 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.604, allocations: 1.899 MB / 0.7082 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.6043, allocations: 155.5 kB / 0.7084 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.6047, allocations: 338.5 kB / 0.7087 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.6076, allocations: 1.811 MB / 0.7104 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6076, allocations: 8 kB / 0.7105 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6077, allocations: 0 / 0.7105 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6077, allocations: 0 / 0.7105 GB, free: 6.812 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001916/0.6096, allocations: 1.097 MB / 0.7115 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6096, allocations: 12.03 kB / 0.7115 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.6098, allocations: 78.53 kB / 0.7116 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009609/0.6107, allocations: 147.5 kB / 0.7118 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.6115, allocations: 488.7 kB / 0.7122 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.6115, allocations: 36.94 kB / 0.7123 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.6116, allocations: 40 kB / 0.7123 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6127, allocations: 0.5867 MB / 0.7129 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6128, allocations: 3.938 kB / 0.7129 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.6128, allocations: 23.94 kB / 0.7129 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.6128, allocations: 8 kB / 0.7129 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.6139, allocations: 471.6 kB / 0.7133 GB, free: 3.707 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.003143/0.617, allocations: 2.648 MB / 0.7159 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.6178, allocations: 339.5 kB / 0.7163 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.6181, allocations: 169.3 kB / 0.7164 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2825/0.9007, allocations: 437.5 kB / 0.7168 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.9008, allocations: 42.17 kB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.9008, allocations: 0 / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002212/0.903, allocations: 0.7095 MB / 0.7176 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.9031, allocations: 137.5 kB / 0.7177 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.9037, allocations: 468 kB / 0.7181 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.9037, allocations: 32.3 kB / 0.7182 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.9039, allocations: 280.3 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.904, allocations: 124.1 kB / 0.7186 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.9042, allocations: 103.9 kB / 0.7187 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.9043, allocations: 358.4 kB / 0.719 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.9046, allocations: 148.7 kB / 0.7191 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.905, allocations: 278.8 kB / 0.7194 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.9058, allocations: 442.4 kB / 0.7198 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9058, allocations: 1.125 kB / 0.7198 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001052/0.9069, allocations: 0.5414 MB / 0.7204 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.9069, allocations: 6.719 kB / 0.7204 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9069, allocations: 3.641 kB / 0.7204 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.9085, allocations: 236.6 kB / 0.7206 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.9089, allocations: 105.6 kB / 0.7207 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003642/0.9093, allocations: 0.5939 MB / 0.7213 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.9096, allocations: 51.05 kB / 0.7213 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.9097, allocations: 48.17 kB / 0.7214 GB, free: 188 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 (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.0002069/0.9099, allocations: 181.9 kB / 0.7215 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.91, allocations: 54.67 kB / 0.7216 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.9121, allocations: 1.082 MB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9121, allocations: 5.75 kB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.9121, allocations: 2.469 kB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.9121, allocations: 5.078 kB / 0.7227 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.9135, allocations: 1.006 MB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9136, allocations: 2.281 kB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.9138, allocations: 56.02 kB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/0.9169, allocations: 435.2 kB / 0.7241 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.917, allocations: 9.719 kB / 0.7241 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003163/0.9173, allocations: 0.6101 MB / 0.7247 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9173, allocations: 7.375 kB / 0.7247 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.918, allocations: 0.5006 MB / 0.7252 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.9181, allocations: 137.3 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.9182, allocations: 13.5 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.9185, allocations: 20.16 kB / 0.7254 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.9186, allocations: 27.64 kB / 0.7254 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.9186, allocations: 16.12 kB / 0.7254 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004827/0.9191, allocations: 401.9 kB / 0.7258 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9191, allocations: 5.25 kB / 0.7258 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009983/0.9201, allocations: 331.4 kB / 0.7261 GB, free: 185.6 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 (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.001864/0.922, allocations: 1.399 MB / 0.7275 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009335/0.9229, allocations: 384.6 kB / 0.7279 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9229, allocations: 0 / 0.7279 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.9233, allocations: 161.2 kB / 0.728 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.925, allocations: 358.1 kB / 0.7284 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.9306, allocations: 4.81 MB / 0.7331 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.931, allocations: 0.8592 MB / 0.7339 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009755/0.9319, allocations: 0.558 MB / 0.7344 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.9323, allocations: 223.6 kB / 0.7347 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.9323, allocations: 0 / 0.7347 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.9858, allocations: 22.91 MB / 0.757 GB, free: 161 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.51, allocations: 4 kB / 0.757 GB, free: 161 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches