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.001146/0.001146, allocations: 107.9 kB / 17.03 MB, free: 5.664 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.001087/0.001087, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.347/1.347, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2082/0.2082, allocations: 43.52 MB / 314.7 MB, free: 480 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.001487/0.001487, allocations: 75.89 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4813/0.5891, allocations: 190 MB / 0.6171 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009874/0.599, allocations: 6.053 MB / 0.6231 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009878/0.6, allocations: 17.78 kB / 0.6231 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.6012, allocations: 323.3 kB / 0.6234 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005643/0.6068, allocations: 1.945 MB / 0.6253 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.6089, allocations: 0.7108 MB / 0.626 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.6114, allocations: 1.521 MB / 0.6275 GB, free: 10 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.612, allocations: 429.1 kB / 0.6279 GB, free: 9.727 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.6131, allocations: 0.5756 MB / 0.6284 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.6137, allocations: 454.2 kB / 0.6289 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.6138, allocations: 48 kB / 0.6289 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004339/0.6181, allocations: 2.106 MB / 0.631 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.6184, allocations: 159.5 kB / 0.6311 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.6188, allocations: 342.4 kB / 0.6315 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.6223, allocations: 1.921 MB / 0.6333 GB, free: 4.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6223, allocations: 0 / 0.6333 GB, free: 4.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6223, allocations: 0 / 0.6333 GB, free: 4.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.6223, allocations: 0 / 0.6333 GB, free: 4.27 MB / 446.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.002013/0.6244, allocations: 1.114 MB / 0.6344 GB, free: 3.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.6244, allocations: 12.03 kB / 0.6344 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6254, allocations: 135.2 kB / 0.6346 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6265, allocations: 492.5 kB / 0.635 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.6265, allocations: 29 kB / 0.6351 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.6266, allocations: 36 kB / 0.6351 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.6278, allocations: 0.5945 MB / 0.6357 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6278, allocations: 0 / 0.6357 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.6278, allocations: 20 kB / 0.6357 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.6279, allocations: 11.94 kB / 0.6357 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.6288, allocations: 475.6 kB / 0.6362 GB, free: 1.246 MB / 446.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.00312/0.6319, allocations: 2.666 MB / 0.6388 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.6326, allocations: 343.5 kB / 0.6391 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.6329, allocations: 165.3 kB / 0.6392 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.6343, allocations: 1.301 MB / 0.6405 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.6343, allocations: 42.78 kB / 0.6406 GB, free: 12.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.6343, allocations: 0 / 0.6406 GB, free: 12.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001661/0.636, allocations: 0.7065 MB / 0.6412 GB, free: 11.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/0.6361, allocations: 132.5 kB / 0.6414 GB, free: 11.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.6366, allocations: 477.8 kB / 0.6418 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.6367, allocations: 37.7 kB / 0.6419 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.6369, allocations: 271.8 kB / 0.6421 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.637, allocations: 114.4 kB / 0.6422 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.6372, allocations: 102 kB / 0.6423 GB, free: 10.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6374, allocations: 362.7 kB / 0.6427 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.6377, allocations: 144.8 kB / 0.6428 GB, free: 9.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.6381, allocations: 278.3 kB / 0.6431 GB, free: 9.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.6388, allocations: 437.6 kB / 0.6435 GB, free: 9.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6388, allocations: 0 / 0.6435 GB, free: 9.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009586/0.6398, allocations: 0.5287 MB / 0.644 GB, free: 8.539 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6398, allocations: 9.469 kB / 0.644 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6398, allocations: 7.938 kB / 0.644 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.6413, allocations: 240.5 kB / 0.6443 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.6416, allocations: 99.89 kB / 0.6443 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004999/0.6421, allocations: 0.5913 MB / 0.6449 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.6424, allocations: 47.53 kB / 0.645 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.6425, allocations: 43.98 kB / 0.645 GB, free: 7.48 MB / 462.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.0002362/0.6428, allocations: 193.6 kB / 0.6452 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.6429, allocations: 51.44 kB / 0.6452 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.6444, allocations: 0.7219 MB / 0.646 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.6444, allocations: 3.984 kB / 0.646 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6445, allocations: 4 kB / 0.646 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6445, allocations: 3.984 kB / 0.646 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.646, allocations: 1.008 MB / 0.6469 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.646, allocations: 4 kB / 0.647 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.6462, allocations: 55.91 kB / 0.647 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/0.6491, allocations: 432.3 kB / 0.6474 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.6492, allocations: 12 kB / 0.6474 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004689/0.6497, allocations: 0.6031 MB / 0.648 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6497, allocations: 7.969 kB / 0.648 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.6505, allocations: 0.5081 MB / 0.6485 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.6507, allocations: 132.4 kB / 0.6486 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/0.6507, allocations: 15.84 kB / 0.6487 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.6511, allocations: 19.98 kB / 0.6487 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.6511, allocations: 27.91 kB / 0.6487 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.6512, allocations: 16 kB / 0.6487 GB, free: 3.492 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006077/0.6518, allocations: 402.8 kB / 0.6491 GB, free: 3.102 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6518, allocations: 0 / 0.6491 GB, free: 3.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001196/0.653, allocations: 363.7 kB / 0.6495 GB, free: 2.746 MB / 462.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.001215/0.6542, allocations: 0.4941 MB / 0.6499 GB, free: 2.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008522/0.6551, allocations: 384 kB / 0.6503 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6551, allocations: 0 / 0.6503 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.6555, allocations: 176.7 kB / 0.6505 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.657, allocations: 365.5 kB / 0.6508 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.6585, allocations: 0.8731 MB / 0.6517 GB, free: 444 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.659, allocations: 0.8557 MB / 0.6525 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006099/0.6596, allocations: 205.9 kB / 0.6527 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.6598, allocations: 75.42 kB / 0.6528 GB, free: 15.27 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6598, allocations: 0 / 0.6528 GB, free: 15.27 MB / 478.1 MB Notification: Performance of Templates: time 0.03089/0.6907, allocations: 18.3 MB / 0.6707 GB, free: 13 MB / 494.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/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