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.001327/0.001327, allocations: 106.8 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.001171/0.001171, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2139/0.2139, allocations: 43.53 MB / 314.1 MB, free: 456 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.001388/0.001388, allocations: 63.91 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1268, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5044/0.6312, allocations: 190 MB / 0.6734 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008863/0.6401, allocations: 6.061 MB / 0.6794 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.6408, allocations: 15.94 kB / 0.6794 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009294/0.6418, allocations: 321.8 kB / 0.6797 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.6465, allocations: 1.967 MB / 0.6816 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.6484, allocations: 0.7135 MB / 0.6823 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.6502, allocations: 1.524 MB / 0.6838 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.6508, allocations: 439.4 kB / 0.6842 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007922/0.6516, allocations: 0.5838 MB / 0.6848 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.6521, allocations: 458.1 kB / 0.6852 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/0.6522, allocations: 52 kB / 0.6853 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.6557, allocations: 2.102 MB / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.6559, allocations: 155.5 kB / 0.6875 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.6563, allocations: 342.5 kB / 0.6878 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.659, allocations: 1.921 MB / 0.6897 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.659, allocations: 3.938 kB / 0.6897 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.659, allocations: 4 kB / 0.6897 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.659, allocations: 0 / 0.6897 GB, free: 11.77 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.001993/0.661, allocations: 1.107 MB / 0.6907 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6611, allocations: 8.031 kB / 0.6908 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6621, allocations: 151.1 kB / 0.6909 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.663, allocations: 480.5 kB / 0.6914 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.6631, allocations: 29 kB / 0.6914 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.6632, allocations: 47.98 kB / 0.6914 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.6642, allocations: 0.5866 MB / 0.692 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.6643, allocations: 0 / 0.692 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.6643, allocations: 20 kB / 0.692 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.6643, allocations: 12 kB / 0.692 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.6652, allocations: 479.5 kB / 0.6925 GB, free: 8.758 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.00278/0.668, allocations: 2.663 MB / 0.6951 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.6687, allocations: 342.1 kB / 0.6954 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.669, allocations: 177.3 kB / 0.6956 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.6702, allocations: 1.301 MB / 0.6969 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.6702, allocations: 34.84 kB / 0.6969 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.6702, allocations: 0 / 0.6969 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0016/0.6718, allocations: 0.7064 MB / 0.6976 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.6719, allocations: 136.5 kB / 0.6977 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.6724, allocations: 469.9 kB / 0.6982 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.6725, allocations: 33.7 kB / 0.6982 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6726, allocations: 271.9 kB / 0.6984 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.6727, allocations: 118.3 kB / 0.6986 GB, free: 2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.6729, allocations: 106 kB / 0.6987 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.673, allocations: 358.8 kB / 0.699 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.6733, allocations: 144.8 kB / 0.6991 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.6737, allocations: 283.7 kB / 0.6994 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.6744, allocations: 433.6 kB / 0.6998 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6744, allocations: 0 / 0.6998 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008836/0.6753, allocations: 0.5249 MB / 0.7003 GB, free: 56 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6753, allocations: 11.94 kB / 0.7004 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6753, allocations: 4 kB / 0.7004 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.6767, allocations: 241 kB / 0.7006 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.6771, allocations: 103.8 kB / 0.7007 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004305/0.6775, allocations: 0.5914 MB / 0.7013 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.6778, allocations: 43.52 kB / 0.7013 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.6779, allocations: 44 kB / 0.7013 GB, free: 15 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.0002124/0.6781, allocations: 189.5 kB / 0.7015 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.6782, allocations: 59.36 kB / 0.7016 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.6795, allocations: 0.7032 MB / 0.7023 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6795, allocations: 4 kB / 0.7023 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6795, allocations: 4 kB / 0.7023 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6796, allocations: 7.984 kB / 0.7023 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.6809, allocations: 1.014 MB / 0.7033 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6809, allocations: 160 / 0.7033 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.6811, allocations: 59.91 kB / 0.7033 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/0.684, allocations: 440.1 kB / 0.7038 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.684, allocations: 8 kB / 0.7038 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004125/0.6845, allocations: 0.5953 MB / 0.7043 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.6845, allocations: 4.562 kB / 0.7043 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.6852, allocations: 0.508 MB / 0.7048 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.6854, allocations: 136.4 kB / 0.705 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.6854, allocations: 15.84 kB / 0.705 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.6858, allocations: 19.98 kB / 0.705 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.6859, allocations: 35.83 kB / 0.705 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.6859, allocations: 15.98 kB / 0.7051 GB, free: 11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004608/0.6864, allocations: 398.8 kB / 0.7054 GB, free: 10.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6864, allocations: 0 / 0.7054 GB, free: 10.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009834/0.6874, allocations: 363.7 kB / 0.7058 GB, free: 10.26 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.001214/0.6886, allocations: 0.5045 MB / 0.7063 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008279/0.6894, allocations: 372.2 kB / 0.7066 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6894, allocations: 0 / 0.7066 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.6898, allocations: 163.8 kB / 0.7068 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.6913, allocations: 385.2 kB / 0.7072 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.6927, allocations: 0.8652 MB / 0.708 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6931, allocations: 0.8635 MB / 0.7088 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006046/0.6937, allocations: 193 kB / 0.709 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.6939, allocations: 83.41 kB / 0.7091 GB, free: 6.777 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6939, allocations: 0 / 0.7091 GB, free: 6.777 MB / 0.545 GB Notification: Performance of Templates: time 0.03034/0.7243, allocations: 18.39 MB / 0.7271 GB, free: 4.402 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