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.001502/0.001503, allocations: 103.2 kB / 16.27 MB, free: 5.934 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.001576/0.001576, allocations: 190.4 kB / 17.2 MB, free: 5.578 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.268/1.268, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1992/0.1992, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001561/0.001561, allocations: 69.67 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08219/0.08377, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3571/0.4409, allocations: 190 MB / 0.6158 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008166/0.4491, allocations: 6.057 MB / 0.6218 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006721/0.4498, allocations: 17.88 kB / 0.6218 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.4509, allocations: 323.2 kB / 0.6221 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.4554, allocations: 1.938 MB / 0.624 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.457, allocations: 0.7168 MB / 0.6247 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001727/0.4587, allocations: 1.523 MB / 0.6262 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006102/0.4593, allocations: 424.7 kB / 0.6266 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008387/0.4602, allocations: 0.5701 MB / 0.6271 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.4607, allocations: 458.1 kB / 0.6276 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.355e-05/0.4608, allocations: 48 kB / 0.6276 GB, free: 9.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.4639, allocations: 2.016 MB / 0.6296 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.464, allocations: 159.5 kB / 0.6297 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.4644, allocations: 342.5 kB / 0.6301 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.4666, allocations: 1.913 MB / 0.6319 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4667, allocations: 0 / 0.6319 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4667, allocations: 0 / 0.6319 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.4667, allocations: 0 / 0.6319 GB, free: 4.805 MB / 446.1 MB 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.001825/0.4685, allocations: 1.114 MB / 0.633 GB, free: 3.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4686, allocations: 15.89 kB / 0.633 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.4687, allocations: 86.52 kB / 0.6331 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009744/0.4697, allocations: 135.2 kB / 0.6332 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.4703, allocations: 469.1 kB / 0.6337 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4704, allocations: 29 kB / 0.6337 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.4704, allocations: 40 kB / 0.6337 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4715, allocations: 0.5945 MB / 0.6343 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4715, allocations: 0 / 0.6343 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.4716, allocations: 20 kB / 0.6343 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.4716, allocations: 12 kB / 0.6344 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/0.4725, allocations: 471.6 kB / 0.6348 GB, free: 1.707 MB / 446.1 MB 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.002951/0.4754, allocations: 2.679 MB / 0.6374 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.4761, allocations: 339.5 kB / 0.6377 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.4765, allocations: 169.4 kB / 0.6379 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.4777, allocations: 1.308 MB / 0.6392 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4778, allocations: 42.78 kB / 0.6392 GB, free: 12.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.4778, allocations: 0 / 0.6392 GB, free: 12.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001685/0.4795, allocations: 0.7065 MB / 0.6399 GB, free: 11.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.4796, allocations: 132.5 kB / 0.64 GB, free: 11.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.4801, allocations: 469.9 kB / 0.6405 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.4801, allocations: 33.7 kB / 0.6405 GB, free: 11.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.4803, allocations: 279.8 kB / 0.6408 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.4804, allocations: 114.3 kB / 0.6409 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.4806, allocations: 106 kB / 0.641 GB, free: 10.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4807, allocations: 354.8 kB / 0.6413 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.481, allocations: 155.2 kB / 0.6415 GB, free: 10.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.4814, allocations: 277.3 kB / 0.6418 GB, free: 9.992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.4821, allocations: 433.6 kB / 0.6422 GB, free: 9.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4821, allocations: 4 kB / 0.6422 GB, free: 9.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009677/0.4831, allocations: 0.5287 MB / 0.6427 GB, free: 8.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4831, allocations: 8 kB / 0.6427 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4831, allocations: 4.438 kB / 0.6427 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.4847, allocations: 240.5 kB / 0.6429 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.485, allocations: 103.9 kB / 0.643 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004109/0.4854, allocations: 0.5874 MB / 0.6436 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.4858, allocations: 47.52 kB / 0.6436 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/0.4858, allocations: 44.09 kB / 0.6437 GB, free: 7.926 MB / 462.1 MB 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.0002126/0.4861, allocations: 201.6 kB / 0.6439 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4862, allocations: 47.44 kB / 0.6439 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.4878, allocations: 0.708 MB / 0.6446 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4878, allocations: 4 kB / 0.6446 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4878, allocations: 3.984 kB / 0.6446 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4878, allocations: 3.938 kB / 0.6446 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.4892, allocations: 1.014 MB / 0.6456 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4893, allocations: 0 / 0.6456 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.4895, allocations: 55.84 kB / 0.6457 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00323/0.4927, allocations: 440.4 kB / 0.6461 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.4928, allocations: 12 kB / 0.6461 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003766/0.4931, allocations: 0.5992 MB / 0.6467 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4931, allocations: 0 / 0.6467 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.4939, allocations: 0.5079 MB / 0.6472 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.494, allocations: 136.4 kB / 0.6473 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.4941, allocations: 23.78 kB / 0.6473 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.4945, allocations: 15.98 kB / 0.6474 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.4945, allocations: 27.91 kB / 0.6474 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4946, allocations: 19.98 kB / 0.6474 GB, free: 3.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004416/0.495, allocations: 390.8 kB / 0.6478 GB, free: 3.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.495, allocations: 4 kB / 0.6478 GB, free: 3.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008897/0.4959, allocations: 367.7 kB / 0.6481 GB, free: 3.191 MB / 462.1 MB 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.001919/0.4979, allocations: 1.455 MB / 0.6495 GB, free: 1.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008183/0.4987, allocations: 384.6 kB / 0.6499 GB, free: 1.328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4987, allocations: 0 / 0.6499 GB, free: 1.328 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.4991, allocations: 163.8 kB / 0.6501 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.5008, allocations: 382.4 kB / 0.6504 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.5068, allocations: 4.942 MB / 0.6553 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.5072, allocations: 0.8596 MB / 0.6561 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008219/0.508, allocations: 201 kB / 0.6563 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.5084, allocations: 211.3 kB / 0.6565 GB, free: 10.36 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5084, allocations: 0 / 0.6565 GB, free: 10.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/0.5555, allocations: 23.76 MB / 0.6797 GB, free: 2.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.89, allocations: 15.94 kB / 0.6797 GB, free: 2.582 MB / 494.1 MB (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