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.001361/0.001361, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001505/0.001504, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.288/1.288, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1901/0.1901, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.77 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3488/0.4577, allocations: 183 MB / 0.6371 GB, free: 9.469 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.4633, allocations: 3.621 MB / 0.6406 GB, free: 5.84 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.4638, allocations: 19.94 kB / 0.6407 GB, free: 5.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.4646, allocations: 325.8 kB / 0.641 GB, free: 5.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.4681, allocations: 1.702 MB / 0.6426 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.4698, allocations: 0.7179 MB / 0.6433 GB, free: 3.086 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.4713, allocations: 1.528 MB / 0.6448 GB, free: 1.547 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.4719, allocations: 424.1 kB / 0.6452 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.4726, allocations: 0.5722 MB / 0.6458 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.473, allocations: 454.2 kB / 0.6462 GB, free: 116 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.797e-05/0.4731, allocations: 48 kB / 0.6463 GB, free: 68 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.476, allocations: 1.856 MB / 0.6481 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4762, allocations: 155.5 kB / 0.6482 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.4765, allocations: 342.5 kB / 0.6486 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.4786, allocations: 1.792 MB / 0.6503 GB, free: 11.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4787, allocations: 7.938 kB / 0.6503 GB, free: 11.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4787, allocations: 0 / 0.6503 GB, free: 11.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.4787, allocations: 4 kB / 0.6503 GB, free: 11.91 MB / 494.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.001692/0.4804, allocations: 1.076 MB / 0.6514 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.4804, allocations: 8.031 kB / 0.6514 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.4805, allocations: 86.52 kB / 0.6515 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009794/0.4815, allocations: 139.1 kB / 0.6516 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.4821, allocations: 464.5 kB / 0.652 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.4821, allocations: 33 kB / 0.6521 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.4822, allocations: 43.94 kB / 0.6521 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.4832, allocations: 0.5906 MB / 0.6527 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4833, allocations: 3.938 kB / 0.6527 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.4833, allocations: 20 kB / 0.6527 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.4833, allocations: 12 kB / 0.6527 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.4842, allocations: 467.6 kB / 0.6532 GB, free: 8.855 MB / 494.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.002741/0.487, allocations: 2.667 MB / 0.6558 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.4878, allocations: 335.5 kB / 0.6561 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.4881, allocations: 169.3 kB / 0.6562 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004158/0.4885, allocations: 437.8 kB / 0.6567 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4886, allocations: 38.84 kB / 0.6567 GB, free: 4.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.4886, allocations: 0 / 0.6567 GB, free: 4.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001709/0.4903, allocations: 0.7225 MB / 0.6574 GB, free: 4.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.4904, allocations: 132.5 kB / 0.6575 GB, free: 3.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.4908, allocations: 466 kB / 0.658 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.4909, allocations: 37.7 kB / 0.658 GB, free: 3.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.4911, allocations: 271.8 kB / 0.6583 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.4912, allocations: 110.4 kB / 0.6584 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.4913, allocations: 102 kB / 0.6585 GB, free: 2.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4915, allocations: 358.8 kB / 0.6588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.4918, allocations: 152.8 kB / 0.659 GB, free: 2.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.4922, allocations: 280.5 kB / 0.6592 GB, free: 2.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.4929, allocations: 437.6 kB / 0.6596 GB, free: 1.688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4929, allocations: 0 / 0.6596 GB, free: 1.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009757/0.4939, allocations: 0.5405 MB / 0.6602 GB, free: 1.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4939, allocations: 11.92 kB / 0.6602 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4939, allocations: 4 kB / 0.6602 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.4955, allocations: 232.8 kB / 0.6604 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.4959, allocations: 111.8 kB / 0.6605 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004288/0.4964, allocations: 0.5842 MB / 0.6611 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.4967, allocations: 47.52 kB / 0.6611 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.4968, allocations: 47.98 kB / 0.6612 GB, free: 80 kB / 494.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.0002419/0.497, allocations: 189.6 kB / 0.6614 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4972, allocations: 66.95 kB / 0.6614 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.4992, allocations: 1.069 MB / 0.6625 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4992, allocations: 4 kB / 0.6625 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4992, allocations: 0 / 0.6625 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4992, allocations: 4 kB / 0.6625 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.5006, allocations: 1.008 MB / 0.6635 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5006, allocations: 0 / 0.6635 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.5008, allocations: 56.06 kB / 0.6635 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003297/0.5041, allocations: 432.2 kB / 0.6639 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.5042, allocations: 15.98 kB / 0.6639 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003889/0.5045, allocations: 0.6069 MB / 0.6645 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5046, allocations: 4.062 kB / 0.6645 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.5053, allocations: 0.4998 MB / 0.665 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.5054, allocations: 136.5 kB / 0.6652 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.5056, allocations: 15.84 kB / 0.6652 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.5059, allocations: 15.98 kB / 0.6652 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.506, allocations: 27.91 kB / 0.6652 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.506, allocations: 19.98 kB / 0.6652 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004697/0.5065, allocations: 394.8 kB / 0.6656 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5065, allocations: 4 kB / 0.6656 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008626/0.5074, allocations: 327.7 kB / 0.6659 GB, free: 11.02 MB / 0.4981 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.001957/0.5093, allocations: 1.391 MB / 0.6673 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008844/0.5102, allocations: 392.4 kB / 0.6677 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.5103, allocations: 4 kB / 0.6677 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.5106, allocations: 163.8 kB / 0.6678 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.5124, allocations: 370.4 kB / 0.6682 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/0.5189, allocations: 4.919 MB / 0.673 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.5193, allocations: 0.8557 MB / 0.6738 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001254/0.5205, allocations: 0.5516 MB / 0.6744 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.5209, allocations: 231.3 kB / 0.6746 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.5209, allocations: 0 / 0.6746 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3433/0.8642, allocations: 22.74 MB / 0.6968 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.06, allocations: 7.688 kB / 0.6968 GB, free: 11.47 MB / 0.5294 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