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: 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_4.0.0_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_4.0.0_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.0009716/0.0009717, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001093/0.001093, allocations: 180.9 kB / 18.71 MB, free: 4.352 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2097/0.2097, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3797, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.1979/0.5777, allocations: 183 MB / 0.6977 GB, free: 4.359 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006637/0.5844, allocations: 3.619 MB / 0.7012 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007255/0.5851, allocations: 19.88 kB / 0.7012 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5863, allocations: 313.9 kB / 0.7015 GB, free: 408 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.5912, allocations: 1.704 MB / 0.7032 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.5932, allocations: 0.7165 MB / 0.7039 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.5953, allocations: 1.528 MB / 0.7054 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007352/0.596, allocations: 423.5 kB / 0.7058 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.5971, allocations: 0.5839 MB / 0.7063 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/0.598, allocations: 458.1 kB / 0.7068 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.5981, allocations: 52 kB / 0.7068 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.6014, allocations: 1.891 MB / 0.7087 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.6017, allocations: 163.4 kB / 0.7088 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.6022, allocations: 342.5 kB / 0.7092 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.6054, allocations: 1.803 MB / 0.7109 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.6054, allocations: 0 / 0.7109 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6054, allocations: 0 / 0.7109 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.6055, allocations: 4 kB / 0.7109 GB, free: 6.738 MB / 0.5606 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.00222/0.6077, allocations: 1.104 MB / 0.712 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6077, allocations: 8.031 kB / 0.712 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6089, allocations: 135.5 kB / 0.7121 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.6101, allocations: 492.8 kB / 0.7126 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.6102, allocations: 36.94 kB / 0.7126 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.6103, allocations: 44 kB / 0.7127 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.6115, allocations: 0.5828 MB / 0.7133 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6115, allocations: 4 kB / 0.7133 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.6116, allocations: 20 kB / 0.7133 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.6116, allocations: 11.94 kB / 0.7133 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009397/0.6126, allocations: 471.5 kB / 0.7137 GB, free: 3.723 MB / 0.5606 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.002667/0.6153, allocations: 2.648 MB / 0.7163 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.6159, allocations: 347.5 kB / 0.7167 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.6162, allocations: 169.3 kB / 0.7168 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2977/0.914, allocations: 431 kB / 0.7172 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.9141, allocations: 41.92 kB / 0.7173 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.9141, allocations: 3.281 kB / 0.7173 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00253/0.9166, allocations: 0.7066 MB / 0.718 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.9167, allocations: 137.1 kB / 0.7181 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.9176, allocations: 475.8 kB / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.9176, allocations: 31.72 kB / 0.7186 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.9179, allocations: 277.7 kB / 0.7188 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.918, allocations: 122 kB / 0.719 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.9182, allocations: 104.1 kB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9184, allocations: 358.3 kB / 0.7194 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.9187, allocations: 146.9 kB / 0.7195 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.9192, allocations: 280 kB / 0.7198 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/0.9199, allocations: 443.2 kB / 0.7202 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.9199, allocations: 1.25 kB / 0.7202 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001058/0.921, allocations: 0.5445 MB / 0.7208 GB, free: 189 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.921, allocations: 9.719 kB / 0.7208 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.921, allocations: 3.953 kB / 0.7208 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.9226, allocations: 236.4 kB / 0.721 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.923, allocations: 106.9 kB / 0.7211 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003783/0.9234, allocations: 0.5899 MB / 0.7217 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.9237, allocations: 49 kB / 0.7217 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.9238, allocations: 46.08 kB / 0.7218 GB, free: 188.4 MB / 0.5606 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.0002449/0.9241, allocations: 183.9 kB / 0.7219 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.9242, allocations: 55.14 kB / 0.722 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.9264, allocations: 1.082 MB / 0.7231 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.9264, allocations: 6.688 kB / 0.7231 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9264, allocations: 5.312 kB / 0.7231 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.9264, allocations: 2.156 kB / 0.7231 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.928, allocations: 1.008 MB / 0.7241 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.928, allocations: 1.312 kB / 0.7241 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.9282, allocations: 55.5 kB / 0.7241 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/0.931, allocations: 429.9 kB / 0.7245 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.931, allocations: 14.11 kB / 0.7245 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002992/0.9313, allocations: 0.6013 MB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.9314, allocations: 13.16 kB / 0.7251 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.9321, allocations: 0.5082 MB / 0.7256 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.9322, allocations: 139.8 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.9323, allocations: 10.52 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.9326, allocations: 15.86 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.9327, allocations: 29.22 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.9327, allocations: 18.75 kB / 0.7258 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004631/0.9332, allocations: 402 kB / 0.7262 GB, free: 186 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9332, allocations: 0 / 0.7262 GB, free: 186 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001049/0.9343, allocations: 335 kB / 0.7265 GB, free: 186 MB / 0.5606 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.0009935/0.9353, allocations: 442.2 kB / 0.727 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008835/0.9361, allocations: 377.5 kB / 0.7273 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9362, allocations: 0.875 kB / 0.7273 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.9365, allocations: 172.4 kB / 0.7275 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.9381, allocations: 358.1 kB / 0.7278 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.9393, allocations: 0.8976 MB / 0.7287 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.9396, allocations: 0.8553 MB / 0.7295 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009037/0.9405, allocations: 0.5536 MB / 0.7301 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.9408, allocations: 90.73 kB / 0.7302 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.9408, allocations: 0 / 0.7302 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02347/0.9642, allocations: 17.46 MB / 0.7472 GB, free: 171.4 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/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