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.001333/0.001332, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.256/1.256, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.309/0.309, allocations: 43.54 MB / 314.5 MB, free: 8.785 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.000462/0.0004621, allocations: 12 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.111, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3417/0.4528, allocations: 147 MB / 0.5759 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009249/0.4621, allocations: 7.094 MB / 0.5829 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.4625, allocations: 23.88 kB / 0.5829 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008531/0.4634, allocations: 246.7 kB / 0.5831 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.4665, allocations: 1.34 MB / 0.5844 GB, free: 56 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.4684, allocations: 0.8321 MB / 0.5852 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.4695, allocations: 0.9062 MB / 0.5861 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.47, allocations: 340.4 kB / 0.5865 GB, free: 14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007431/0.4708, allocations: 498.5 kB / 0.5869 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.4712, allocations: 342.7 kB / 0.5873 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.4713, allocations: 24 kB / 0.5873 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.4741, allocations: 1.864 MB / 0.5891 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.4742, allocations: 131.5 kB / 0.5892 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.4744, allocations: 153.4 kB / 0.5894 GB, free: 11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.4758, allocations: 1.206 MB / 0.5905 GB, free: 9.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4758, allocations: 0 / 0.5905 GB, free: 9.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4759, allocations: 0 / 0.5905 GB, free: 9.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.4759, allocations: 0 / 0.5905 GB, free: 9.793 MB / 462.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.001584/0.4775, allocations: 0.9716 MB / 0.5915 GB, free: 8.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.4775, allocations: 8.031 kB / 0.5915 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009212/0.4784, allocations: 139.1 kB / 0.5916 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.4791, allocations: 452.8 kB / 0.5921 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.4791, allocations: 33 kB / 0.5921 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.4792, allocations: 40 kB / 0.5921 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.4801, allocations: 0.5828 MB / 0.5927 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4801, allocations: 0 / 0.5927 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.4802, allocations: 20 kB / 0.5927 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.4802, allocations: 15.95 kB / 0.5927 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.481, allocations: 479.5 kB / 0.5932 GB, free: 6.945 MB / 462.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.0027/0.4837, allocations: 2.659 MB / 0.5958 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.4844, allocations: 343.5 kB / 0.5961 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/0.4847, allocations: 329.4 kB / 0.5964 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4848, allocations: 34.84 kB / 0.5965 GB, free: 3.301 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.704e-06/0.4848, allocations: 0 / 0.5965 GB, free: 3.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001559/0.4864, allocations: 0.7194 MB / 0.5972 GB, free: 2.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.4864, allocations: 136.5 kB / 0.5973 GB, free: 2.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.4869, allocations: 473.9 kB / 0.5978 GB, free: 1.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.487, allocations: 33.7 kB / 0.5978 GB, free: 1.879 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.4872, allocations: 271.8 kB / 0.598 GB, free: 1.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.4873, allocations: 126.2 kB / 0.5982 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.4873, allocations: 4 kB / 0.5982 GB, free: 1.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4874, allocations: 366.7 kB / 0.5985 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.4877, allocations: 152.8 kB / 0.5987 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.4881, allocations: 275.7 kB / 0.5989 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.4884, allocations: 189 kB / 0.5991 GB, free: 472 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4884, allocations: 4 kB / 0.5991 GB, free: 468 kB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008846/0.4893, allocations: 0.5336 MB / 0.5996 GB, free: 15.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4893, allocations: 11.98 kB / 0.5996 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4893, allocations: 4 kB / 0.5996 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.4908, allocations: 284.8 kB / 0.5999 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.4912, allocations: 107.9 kB / 0.6 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004133/0.4916, allocations: 0.5952 MB / 0.6006 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.492, allocations: 72.22 kB / 0.6007 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.492, allocations: 47.98 kB / 0.6007 GB, free: 14.77 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000212/0.4923, allocations: 181.7 kB / 0.6009 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.4924, allocations: 51.34 kB / 0.6009 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.4939, allocations: 0.7303 MB / 0.6017 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4939, allocations: 4 kB / 0.6017 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4939, allocations: 3.984 kB / 0.6017 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4939, allocations: 3.953 kB / 0.6017 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.4953, allocations: 0.987 MB / 0.6026 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4953, allocations: 7.125 kB / 0.6026 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.4955, allocations: 60.06 kB / 0.6027 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/0.4986, allocations: 0.5353 MB / 0.6032 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.4987, allocations: 12 kB / 0.6032 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003858/0.4991, allocations: 0.6068 MB / 0.6038 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4991, allocations: 4.031 kB / 0.6038 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.4998, allocations: 0.5707 MB / 0.6044 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5, allocations: 152.4 kB / 0.6045 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.5001, allocations: 8 kB / 0.6045 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.5004, allocations: 39.88 kB / 0.6046 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.5005, allocations: 19.97 kB / 0.6046 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.5006, allocations: 20 kB / 0.6046 GB, free: 10.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004008/0.501, allocations: 374.8 kB / 0.605 GB, free: 10.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.501, allocations: 0 / 0.605 GB, free: 10.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009982/0.502, allocations: 371.6 kB / 0.6053 GB, free: 9.852 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.503, allocations: 0.4967 MB / 0.6058 GB, free: 9.352 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008429/0.5039, allocations: 384.2 kB / 0.6062 GB, free: 8.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5039, allocations: 0 / 0.6062 GB, free: 8.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.5042, allocations: 167.8 kB / 0.6063 GB, free: 8.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.5055, allocations: 295.4 kB / 0.6066 GB, free: 8.527 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.507, allocations: 1.059 MB / 0.6077 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.5074, allocations: 0.8672 MB / 0.6085 GB, free: 6.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007416/0.5082, allocations: 195.2 kB / 0.6087 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.5084, allocations: 75.42 kB / 0.6088 GB, free: 6.281 MB / 478.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5084, allocations: 0 / 0.6088 GB, free: 6.281 MB / 478.1 MB Notification: Performance of Templates: time 0.02296/0.5313, allocations: 16.17 MB / 0.6245 GB, free: 6.145 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches