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.001314/0.001314, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001416/0.001416, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2367/0.2367, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.001879/0.001879, allocations: 63.89 kB / 0.4921 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 66 MB / 0.5565 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.531/0.6636, allocations: 186.6 MB / 0.7387 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00642/0.67, allocations: 3.662 MB / 0.7423 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.6708, allocations: 27.75 kB / 0.7423 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.6717, allocations: 313.9 kB / 0.7426 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.676, allocations: 1.744 MB / 0.7443 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.6779, allocations: 0.7227 MB / 0.7451 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.6799, allocations: 1.528 MB / 0.7465 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.6805, allocations: 383.2 kB / 0.7469 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009126/0.6814, allocations: 0.5995 MB / 0.7475 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.6821, allocations: 474.1 kB / 0.7479 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.6822, allocations: 52 kB / 0.748 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.6856, allocations: 1.934 MB / 0.7499 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.6858, allocations: 167.4 kB / 0.75 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.6862, allocations: 342.5 kB / 0.7504 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.689, allocations: 1.834 MB / 0.7522 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.689, allocations: 0 / 0.7522 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.689, allocations: 0 / 0.7522 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.689, allocations: 0 / 0.7522 GB, free: 8.637 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.002038/0.6911, allocations: 1.112 MB / 0.7533 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6911, allocations: 8.031 kB / 0.7533 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6922, allocations: 139.5 kB / 0.7534 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008302/0.693, allocations: 488.8 kB / 0.7539 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.693, allocations: 29 kB / 0.7539 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.6931, allocations: 43.94 kB / 0.7539 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.6943, allocations: 0.5867 MB / 0.7545 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.6943, allocations: 0 / 0.7545 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.395e-05/0.6944, allocations: 20 kB / 0.7545 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.6944, allocations: 12 kB / 0.7545 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6954, allocations: 475.6 kB / 0.755 GB, free: 5.617 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.003384/0.6988, allocations: 2.651 MB / 0.7576 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.6996, allocations: 321.3 kB / 0.7579 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.6999, allocations: 165.3 kB / 0.758 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004334/0.7004, allocations: 429.9 kB / 0.7584 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.7004, allocations: 38.84 kB / 0.7585 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.534e-06/0.7004, allocations: 0 / 0.7585 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001942/0.7023, allocations: 0.715 MB / 0.7592 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7024, allocations: 132.5 kB / 0.7593 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000587/0.703, allocations: 474 kB / 0.7598 GB, free: 336 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.7031, allocations: 29.7 kB / 0.7598 GB, free: 300 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.7033, allocations: 284.2 kB / 0.7601 GB, free: 12 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7035, allocations: 115.1 kB / 0.7602 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.7036, allocations: 114.1 kB / 0.7603 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7038, allocations: 358.8 kB / 0.7606 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.7041, allocations: 140.8 kB / 0.7608 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.7046, allocations: 279.7 kB / 0.761 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007987/0.7054, allocations: 441.6 kB / 0.7614 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7054, allocations: 0 / 0.7614 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001119/0.7065, allocations: 0.5444 MB / 0.762 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.7065, allocations: 11.94 kB / 0.762 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7065, allocations: 4 kB / 0.762 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.7082, allocations: 240.9 kB / 0.7622 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.7086, allocations: 99.89 kB / 0.7623 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005135/0.7091, allocations: 0.5914 MB / 0.7629 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.7094, allocations: 47.66 kB / 0.7629 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.7095, allocations: 43.98 kB / 0.763 GB, free: 12.86 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.0002876/0.7098, allocations: 191.8 kB / 0.7632 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.7099, allocations: 51.67 kB / 0.7632 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.7119, allocations: 1.084 MB / 0.7643 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.7119, allocations: 4 kB / 0.7643 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7119, allocations: 0 / 0.7643 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7119, allocations: 0 / 0.7643 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.7135, allocations: 1.013 MB / 0.7653 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7135, allocations: 0 / 0.7653 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.7137, allocations: 52.59 kB / 0.7653 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.7169, allocations: 436.2 kB / 0.7657 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.717, allocations: 21.11 kB / 0.7658 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005121/0.7175, allocations: 0.5914 MB / 0.7663 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7175, allocations: 4.031 kB / 0.7663 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/0.7184, allocations: 0.504 MB / 0.7668 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.7186, allocations: 136.6 kB / 0.767 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/0.7187, allocations: 11.95 kB / 0.767 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.719, allocations: 20.86 kB / 0.767 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.7191, allocations: 23.97 kB / 0.767 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.7191, allocations: 23.92 kB / 0.767 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005351/0.7196, allocations: 402.8 kB / 0.7674 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7196, allocations: 0 / 0.7674 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001086/0.7207, allocations: 343 kB / 0.7677 GB, free: 7.805 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.001008/0.7217, allocations: 441.6 kB / 0.7682 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009377/0.7227, allocations: 364.6 kB / 0.7685 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7227, allocations: 0 / 0.7685 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.7231, allocations: 151.8 kB / 0.7687 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.7248, allocations: 369.4 kB / 0.769 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.7264, allocations: 0.9285 MB / 0.7699 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.7269, allocations: 0.8518 MB / 0.7707 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.7273, allocations: 127.4 kB / 0.7709 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.7273, allocations: 0 / 0.7709 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of Templates: time 0.0234/0.7507, allocations: 15.46 MB / 0.786 GB, free: 5.109 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/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: 11.653823744010879]