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.0009478/0.0009479, allocations: 94.64 kB / 17.35 MB, free: 6.375 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.0008798/0.0008799, allocations: 175.5 kB / 18.25 MB, free: 5.523 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.189/1.189, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1725/0.1725, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002692, allocations: 12 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08326, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3253/0.4086, allocations: 178.6 MB / 0.6357 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.4136, allocations: 3.709 MB / 0.6394 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.4139, allocations: 27.75 kB / 0.6394 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.4146, allocations: 266.5 kB / 0.6396 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.4175, allocations: 1.525 MB / 0.6411 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.4188, allocations: 0.6453 MB / 0.6418 GB, free: 9.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.4205, allocations: 2.016 MB / 0.6437 GB, free: 7.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.421, allocations: 355.9 kB / 0.6441 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.4216, allocations: 0.5214 MB / 0.6446 GB, free: 6.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.4221, allocations: 474 kB / 0.645 GB, free: 6.332 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.4222, allocations: 24 kB / 0.6451 GB, free: 6.309 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.4245, allocations: 1.802 MB / 0.6468 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.4246, allocations: 143.5 kB / 0.647 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.4249, allocations: 340.2 kB / 0.6473 GB, free: 4.023 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.4267, allocations: 1.765 MB / 0.649 GB, free: 2.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.4267, allocations: 7.938 kB / 0.649 GB, free: 2.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4267, allocations: 0 / 0.649 GB, free: 2.246 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.4267, allocations: 0 / 0.649 GB, free: 2.246 MB / 478.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.001482/0.4282, allocations: 0.9428 MB / 0.6499 GB, free: 1.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.4283, allocations: 8.031 kB / 0.6499 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.756e-05/0.4284, allocations: 82.53 kB / 0.65 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.4293, allocations: 143.2 kB / 0.6502 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.4299, allocations: 468.5 kB / 0.6506 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.4299, allocations: 32.94 kB / 0.6506 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.43, allocations: 40 kB / 0.6507 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/0.431, allocations: 0.5945 MB / 0.6512 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.431, allocations: 7.938 kB / 0.6513 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.431, allocations: 20 kB / 0.6513 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4311, allocations: 16 kB / 0.6513 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/0.4319, allocations: 475.6 kB / 0.6517 GB, free: 15.3 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.002529/0.4345, allocations: 2.655 MB / 0.6543 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.4352, allocations: 350 kB / 0.6547 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.4355, allocations: 173.3 kB / 0.6548 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.4358, allocations: 437.9 kB / 0.6553 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.4359, allocations: 39.72 kB / 0.6553 GB, free: 11.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.4359, allocations: 0 / 0.6553 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001587/0.4375, allocations: 0.7304 MB / 0.656 GB, free: 10.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.4375, allocations: 136.5 kB / 0.6561 GB, free: 10.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.4381, allocations: 481.9 kB / 0.6566 GB, free: 9.941 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.4381, allocations: 29.7 kB / 0.6566 GB, free: 9.906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.4383, allocations: 279.8 kB / 0.6569 GB, free: 9.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/0.4384, allocations: 122.2 kB / 0.657 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.4385, allocations: 37.7 kB / 0.657 GB, free: 9.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4386, allocations: 354.8 kB / 0.6574 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.4389, allocations: 156.8 kB / 0.6575 GB, free: 8.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.4393, allocations: 279.7 kB / 0.6578 GB, free: 8.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.44, allocations: 453.6 kB / 0.6582 GB, free: 8.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4401, allocations: 4 kB / 0.6582 GB, free: 8.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00096/0.441, allocations: 0.5481 MB / 0.6588 GB, free: 7.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.441, allocations: 4 kB / 0.6588 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4411, allocations: 4 kB / 0.6588 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/0.4427, allocations: 289 kB / 0.6591 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.443, allocations: 107.9 kB / 0.6592 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/0.4435, allocations: 0.5913 MB / 0.6597 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.4438, allocations: 67.5 kB / 0.6598 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.4439, allocations: 42.19 kB / 0.6598 GB, free: 6.457 MB / 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.0002321/0.4442, allocations: 193.6 kB / 0.66 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.4443, allocations: 51.34 kB / 0.6601 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.4463, allocations: 1.1 MB / 0.6611 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4463, allocations: 4 kB / 0.6611 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4463, allocations: 0 / 0.6611 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4463, allocations: 7.922 kB / 0.6612 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.4476, allocations: 1.018 MB / 0.6622 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4477, allocations: 160 / 0.6622 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.4479, allocations: 63.84 kB / 0.6622 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00328/0.4512, allocations: 0.5354 MB / 0.6627 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4512, allocations: 8 kB / 0.6627 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003586/0.4516, allocations: 0.5992 MB / 0.6633 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4516, allocations: 4.031 kB / 0.6633 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.4523, allocations: 0.5115 MB / 0.6638 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.4524, allocations: 160.3 kB / 0.664 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.4525, allocations: 11.94 kB / 0.664 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.4529, allocations: 35.97 kB / 0.664 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.453, allocations: 27.91 kB / 0.6641 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.453, allocations: 16 kB / 0.6641 GB, free: 1.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004412/0.4534, allocations: 410.8 kB / 0.6645 GB, free: 1.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4535, allocations: 3.938 kB / 0.6645 GB, free: 1.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008578/0.4543, allocations: 331.6 kB / 0.6648 GB, free: 1.191 MB / 494.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.001745/0.4561, allocations: 1.382 MB / 0.6661 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007631/0.4568, allocations: 384.4 kB / 0.6665 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4569, allocations: 0 / 0.6665 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.4572, allocations: 173 kB / 0.6667 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.459, allocations: 351.3 kB / 0.667 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00598/0.465, allocations: 5.16 MB / 0.672 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.4654, allocations: 0.8518 MB / 0.6729 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00111/0.4665, allocations: 0.5548 MB / 0.6734 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.4669, allocations: 223.3 kB / 0.6736 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of SimCode: time 1.543e-06/0.4669, allocations: 0 / 0.6736 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2076/0.6745, allocations: 21.83 MB / 0.6949 GB, free: 2.371 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/0.6748, allocations: 304.2 kB / 0.6952 GB, free: 1.98 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.11, allocations: 0 / 0.6952 GB, free: 1.98 MB / 0.5138 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