Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 124.5 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 207.2 kB / 20.75 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 67.89 kB / 0.4914 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 65.99 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5981/0.7301, allocations: 186.6 MB / 0.7381 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007932/0.738, allocations: 3.658 MB / 0.7416 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009271/0.739, allocations: 27.75 kB / 0.7417 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.7404, allocations: 321.9 kB / 0.742 GB, free: 2.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.7467, allocations: 1.748 MB / 0.7437 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.7492, allocations: 0.7147 MB / 0.7444 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002848/0.7521, allocations: 1.532 MB / 0.7459 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.7528, allocations: 375.3 kB / 0.7462 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.7539, allocations: 0.5994 MB / 0.7468 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.7546, allocations: 478.1 kB / 0.7473 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.847e-05/0.7547, allocations: 52 kB / 0.7473 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.759, allocations: 1.942 MB / 0.7492 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.7592, allocations: 159.4 kB / 0.7494 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.7596, allocations: 342.5 kB / 0.7497 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.7629, allocations: 1.834 MB / 0.7515 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7629, allocations: 0 / 0.7515 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7629, allocations: 0 / 0.7515 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.7629, allocations: 4 kB / 0.7515 GB, free: 8.602 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.002409/0.7653, allocations: 1.108 MB / 0.7526 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7654, allocations: 8.031 kB / 0.7526 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.7664, allocations: 143.5 kB / 0.7527 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.7673, allocations: 484.8 kB / 0.7532 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.7673, allocations: 29 kB / 0.7532 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.7674, allocations: 47.94 kB / 0.7533 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.7686, allocations: 0.5828 MB / 0.7538 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.7686, allocations: 0 / 0.7538 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.7687, allocations: 24 kB / 0.7539 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.7687, allocations: 12 kB / 0.7539 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.7697, allocations: 471.5 kB / 0.7543 GB, free: 5.586 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.00348/0.7732, allocations: 2.655 MB / 0.7569 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.774, allocations: 323.5 kB / 0.7572 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.7744, allocations: 149.3 kB / 0.7574 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/0.7749, allocations: 445.8 kB / 0.7578 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.7749, allocations: 36.59 kB / 0.7578 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.7749, allocations: 0 / 0.7578 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001989/0.7769, allocations: 0.7151 MB / 0.7585 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.777, allocations: 132.5 kB / 0.7586 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.7776, allocations: 470 kB / 0.7591 GB, free: 304 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.7777, allocations: 37.7 kB / 0.7591 GB, free: 260 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.778, allocations: 280.4 kB / 0.7594 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.7781, allocations: 122.9 kB / 0.7595 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.7783, allocations: 98.08 kB / 0.7596 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7785, allocations: 362.8 kB / 0.76 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.7788, allocations: 148.8 kB / 0.7601 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.7793, allocations: 271.7 kB / 0.7604 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.7802, allocations: 441.6 kB / 0.7608 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7802, allocations: 0 / 0.7608 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001181/0.7814, allocations: 0.5406 MB / 0.7613 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.7814, allocations: 9.625 kB / 0.7613 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7814, allocations: 8.375 kB / 0.7613 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.7831, allocations: 244.5 kB / 0.7616 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.7835, allocations: 103.9 kB / 0.7617 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006067/0.7841, allocations: 0.5836 MB / 0.7622 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.7845, allocations: 51.61 kB / 0.7623 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.7846, allocations: 47.98 kB / 0.7623 GB, free: 12.83 MB / 0.5762 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.0003/0.7849, allocations: 191.9 kB / 0.7625 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.785, allocations: 55.67 kB / 0.7626 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.7871, allocations: 1.075 MB / 0.7636 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.7871, allocations: 4 kB / 0.7636 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7872, allocations: 3.984 kB / 0.7636 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7872, allocations: 7.938 kB / 0.7636 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.7889, allocations: 1.001 MB / 0.7646 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7889, allocations: 0 / 0.7646 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.7891, allocations: 60.06 kB / 0.7647 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/0.7926, allocations: 437 kB / 0.7651 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.7927, allocations: 8 kB / 0.7651 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005735/0.7932, allocations: 0.5954 MB / 0.7657 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.7932, allocations: 8 kB / 0.7657 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.7943, allocations: 0.5041 MB / 0.7662 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.7945, allocations: 144.6 kB / 0.7663 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7946, allocations: 11.95 kB / 0.7663 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.795, allocations: 15.98 kB / 0.7663 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.7951, allocations: 31.84 kB / 0.7664 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.7951, allocations: 16 kB / 0.7664 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006844/0.7958, allocations: 402.8 kB / 0.7668 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7958, allocations: 0 / 0.7668 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00146/0.7973, allocations: 339 kB / 0.7671 GB, free: 7.773 MB / 0.5762 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.001224/0.7985, allocations: 449.7 kB / 0.7675 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.7996, allocations: 356.1 kB / 0.7678 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7996, allocations: 0 / 0.7678 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.8, allocations: 153 kB / 0.768 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.8018, allocations: 370 kB / 0.7683 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.8035, allocations: 0.9004 MB / 0.7692 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.804, allocations: 0.8557 MB / 0.7701 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001016/0.805, allocations: 0.5478 MB / 0.7706 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.8053, allocations: 99.38 kB / 0.7707 GB, free: 4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.8053, allocations: 0 / 0.7707 GB, free: 4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03309/0.8384, allocations: 17.74 MB / 0.788 GB, free: 2.383 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.647460479289293]