Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.002087/0.002087, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002977/0.002977, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.663/1.663, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2452/0.2452, allocations: 46.93 MB / 357.1 MB, free: 10.33 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.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.91 kB / 0.4914 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1729, allocations: 66 MB / 0.5559 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.7034/0.8763, allocations: 186.4 MB / 0.7379 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005227/0.8816, allocations: 2.138 MB / 0.74 GB, free: 4.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008914/0.8825, allocations: 19.81 kB / 0.74 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.8837, allocations: 305.9 kB / 0.7403 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.8879, allocations: 1.194 MB / 0.7414 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.89, allocations: 0.673 MB / 0.7421 GB, free: 2.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.8927, allocations: 1.484 MB / 0.7435 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/0.8934, allocations: 379.8 kB / 0.7439 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.8946, allocations: 0.5877 MB / 0.7445 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.8953, allocations: 458.2 kB / 0.7449 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.8954, allocations: 51.94 kB / 0.745 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.8975, allocations: 0.8114 MB / 0.7458 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.8977, allocations: 155.4 kB / 0.7459 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.8981, allocations: 326.5 kB / 0.7462 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.9002, allocations: 1.215 MB / 0.7474 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9002, allocations: 3.938 kB / 0.7474 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9002, allocations: 0 / 0.7474 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.9002, allocations: 0 / 0.7474 GB, free: 12.92 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001988/0.9022, allocations: 1.004 MB / 0.7484 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.9023, allocations: 12.03 kB / 0.7484 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.9033, allocations: 131.5 kB / 0.7485 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.9041, allocations: 468.8 kB / 0.749 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.9041, allocations: 33 kB / 0.749 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.9042, allocations: 40 kB / 0.749 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.9053, allocations: 0.5554 MB / 0.7496 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.9053, allocations: 7.875 kB / 0.7496 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.9054, allocations: 16 kB / 0.7496 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.9054, allocations: 12 kB / 0.7496 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.9063, allocations: 407.6 kB / 0.75 GB, free: 10.12 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.003427/0.9097, allocations: 2.577 MB / 0.7525 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.9104, allocations: 274.8 kB / 0.7528 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.9107, allocations: 136.8 kB / 0.7529 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003959/0.9111, allocations: 352.4 kB / 0.7532 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.9112, allocations: 38.56 kB / 0.7533 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.9112, allocations: 0 / 0.7533 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002716/0.9139, allocations: 0.7058 MB / 0.754 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.914, allocations: 132.5 kB / 0.7541 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.9147, allocations: 445.9 kB / 0.7545 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.9148, allocations: 29.7 kB / 0.7546 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.9151, allocations: 276.2 kB / 0.7548 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.9153, allocations: 111.1 kB / 0.7549 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.9155, allocations: 109.6 kB / 0.755 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002612/0.9158, allocations: 354.8 kB / 0.7554 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.9162, allocations: 143.9 kB / 0.7555 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.9168, allocations: 281.6 kB / 0.7558 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.9179, allocations: 421.6 kB / 0.7562 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9179, allocations: 0 / 0.7562 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00148/0.9193, allocations: 0.529 MB / 0.7567 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.9194, allocations: 8 kB / 0.7567 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9194, allocations: 4 kB / 0.7567 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.9215, allocations: 280.8 kB / 0.757 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.922, allocations: 103.8 kB / 0.7571 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.923, allocations: 0.5953 MB / 0.7577 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.9235, allocations: 55.72 kB / 0.7577 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.9236, allocations: 48.06 kB / 0.7578 GB, free: 1.648 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003927/0.9239, allocations: 191.7 kB / 0.7579 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.9241, allocations: 59.67 kB / 0.758 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.9264, allocations: 1.014 MB / 0.759 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.9264, allocations: 4 kB / 0.759 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9264, allocations: 0 / 0.759 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9264, allocations: 0 / 0.759 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.9284, allocations: 0.9713 MB / 0.7599 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9284, allocations: 0 / 0.7599 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.9287, allocations: 51.89 kB / 0.76 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.9305, allocations: 264.6 kB / 0.7602 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.9306, allocations: 19.92 kB / 0.7603 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.9316, allocations: 0.5953 MB / 0.7608 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9316, allocations: 0.875 kB / 0.7608 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.933, allocations: 0.5158 MB / 0.7613 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.9332, allocations: 132.7 kB / 0.7615 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9333, allocations: 11.94 kB / 0.7615 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.9338, allocations: 19.98 kB / 0.7615 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.9339, allocations: 23.91 kB / 0.7615 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.9339, allocations: 23.97 kB / 0.7615 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005914/0.9345, allocations: 386.8 kB / 0.7619 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9345, allocations: 0 / 0.7619 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009127/0.9354, allocations: 219.6 kB / 0.7621 GB, free: 12.99 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0007219/0.9362, allocations: 287.7 kB / 0.7624 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.9376, allocations: 347.6 kB / 0.7627 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.9376, allocations: 4 kB / 0.7627 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000758/0.9384, allocations: 152.9 kB / 0.7629 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.9401, allocations: 344.8 kB / 0.7632 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.9424, allocations: 0.9224 MB / 0.7641 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.9429, allocations: 0.8472 MB / 0.7649 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001072/0.944, allocations: 0.547 MB / 0.7655 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.9443, allocations: 91.38 kB / 0.7656 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.9443, allocations: 0 / 0.7656 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of Templates: time 0.02773/0.972, allocations: 14.39 MB / 0.7796 GB, free: 11.15 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.820607282221317]