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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 110 kB / 16.41 MB, free: 6.492 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.001739/0.001739, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.532/1.532, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2083/0.2083, allocations: 43.52 MB / 314.1 MB, free: 468 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.00159/0.00159, allocations: 68.47 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1226, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5308/0.6534, allocations: 190 MB / 0.6734 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009643/0.6631, allocations: 6.065 MB / 0.6794 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000856/0.664, allocations: 15.88 kB / 0.6794 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.6653, allocations: 321.9 kB / 0.6797 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005992/0.6713, allocations: 1.943 MB / 0.6816 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.6736, allocations: 0.7251 MB / 0.6823 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002397/0.6761, allocations: 1.52 MB / 0.6838 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006613/0.6767, allocations: 423.5 kB / 0.6842 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.6778, allocations: 0.5838 MB / 0.6847 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.6784, allocations: 454.2 kB / 0.6852 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.6785, allocations: 52 kB / 0.6852 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.6827, allocations: 2.106 MB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.6829, allocations: 155.5 kB / 0.6874 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.6834, allocations: 342.5 kB / 0.6878 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.6868, allocations: 1.925 MB / 0.6896 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6868, allocations: 0 / 0.6896 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6868, allocations: 0 / 0.6896 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.6868, allocations: 4 kB / 0.6896 GB, free: 11.81 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.00217/0.689, allocations: 1.114 MB / 0.6907 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.689, allocations: 12.03 kB / 0.6907 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/0.69, allocations: 135.2 kB / 0.6909 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.6908, allocations: 488.5 kB / 0.6913 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.6909, allocations: 29 kB / 0.6914 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.6909, allocations: 40 kB / 0.6914 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.692, allocations: 0.5945 MB / 0.692 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.692, allocations: 0 / 0.692 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.6921, allocations: 16 kB / 0.692 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.6921, allocations: 12 kB / 0.692 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.693, allocations: 471.6 kB / 0.6925 GB, free: 8.801 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.003034/0.6961, allocations: 2.674 MB / 0.6951 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/0.6969, allocations: 342.1 kB / 0.6954 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.6972, allocations: 169.3 kB / 0.6956 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.6986, allocations: 1.293 MB / 0.6968 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.6987, allocations: 38.83 kB / 0.6969 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.6987, allocations: 3.938 kB / 0.6969 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001702/0.7004, allocations: 0.7142 MB / 0.6976 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.7005, allocations: 132.5 kB / 0.6977 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.701, allocations: 469.9 kB / 0.6981 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.7011, allocations: 33.7 kB / 0.6982 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.7015, allocations: 271.9 kB / 0.6984 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.7017, allocations: 118.3 kB / 0.6985 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.7018, allocations: 102 kB / 0.6986 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.702, allocations: 362.8 kB / 0.699 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.7023, allocations: 144.8 kB / 0.6991 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.7029, allocations: 275.7 kB / 0.6994 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.7035, allocations: 440.3 kB / 0.6998 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.7036, allocations: 0 / 0.6998 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001176/0.7047, allocations: 0.5287 MB / 0.7003 GB, free: 92 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.7048, allocations: 11.94 kB / 0.7003 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7048, allocations: 4 kB / 0.7003 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.7064, allocations: 233 kB / 0.7006 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.7067, allocations: 107.8 kB / 0.7007 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005834/0.7073, allocations: 0.5874 MB / 0.7012 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.7077, allocations: 51.55 kB / 0.7013 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.7078, allocations: 47.98 kB / 0.7013 GB, free: 15.03 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.0002698/0.708, allocations: 185.6 kB / 0.7015 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.7083, allocations: 55.5 kB / 0.7016 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.7098, allocations: 0.7131 MB / 0.7023 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.7098, allocations: 4 kB / 0.7023 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7098, allocations: 7.938 kB / 0.7023 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7098, allocations: 0 / 0.7023 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.7114, allocations: 1.007 MB / 0.7032 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7114, allocations: 8.016 kB / 0.7033 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.7116, allocations: 51.92 kB / 0.7033 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.7148, allocations: 440.1 kB / 0.7037 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.7149, allocations: 12 kB / 0.7037 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000454/0.7153, allocations: 0.5991 MB / 0.7043 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7153, allocations: 0 / 0.7043 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.7162, allocations: 0.5196 MB / 0.7048 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.7164, allocations: 132.4 kB / 0.705 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.7165, allocations: 15.84 kB / 0.705 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.7168, allocations: 16.05 kB / 0.705 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/0.7169, allocations: 31.91 kB / 0.705 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.717, allocations: 16 kB / 0.705 GB, free: 11.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005579/0.7175, allocations: 402.8 kB / 0.7054 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7175, allocations: 0 / 0.7054 GB, free: 10.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001238/0.7188, allocations: 367.7 kB / 0.7058 GB, free: 10.29 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.001471/0.7203, allocations: 0.5031 MB / 0.7063 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000901/0.7212, allocations: 379.8 kB / 0.7066 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7212, allocations: 0 / 0.7066 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.7216, allocations: 159.8 kB / 0.7068 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.7234, allocations: 370.3 kB / 0.7071 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.725, allocations: 0.8692 MB / 0.708 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.7255, allocations: 0.8557 MB / 0.7088 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007077/0.7262, allocations: 200.9 kB / 0.709 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.7264, allocations: 79.36 kB / 0.7091 GB, free: 6.812 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.7264, allocations: 0 / 0.7091 GB, free: 6.812 MB / 0.545 GB Notification: Performance of Templates: time 0.03431/0.7607, allocations: 18.38 MB / 0.727 GB, free: 4.441 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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