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.001777/0.001777, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002282/0.002282, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 8.047 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.2624/0.2624, allocations: 46.93 MB / 360.8 MB, free: 4.316 MB / 286.1 MB " [Timeout remaining time 179] 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.002252/0.002252, allocations: 67.91 kB / 0.4967 GB, free: 7.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4117, allocations: 66.04 MB / 0.5611 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.7045/1.116, allocations: 186.8 MB / 0.7436 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006049/1.122, allocations: 3.689 MB / 0.7472 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006141/1.123, allocations: 27.81 kB / 0.7472 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009227/1.124, allocations: 331.3 kB / 0.7475 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/1.128, allocations: 1.746 MB / 0.7492 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/1.13, allocations: 0.7383 MB / 0.75 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001764/1.131, allocations: 1.548 MB / 0.7515 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/1.132, allocations: 355.8 kB / 0.7518 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/1.133, allocations: 0.6009 MB / 0.7524 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/1.134, allocations: 478.8 kB / 0.7529 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/1.134, allocations: 52.06 kB / 0.7529 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/1.137, allocations: 1.961 MB / 0.7548 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/1.138, allocations: 160.7 kB / 0.755 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003726/1.138, allocations: 346.3 kB / 0.7553 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00243/1.14, allocations: 1.831 MB / 0.7571 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.14, allocations: 0.9688 kB / 0.7571 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/1.14, allocations: 0 / 0.7571 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.14, allocations: 0 / 0.7571 GB, free: 1.57 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.001941/1.142, allocations: 1.035 MB / 0.7581 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.142, allocations: 10.28 kB / 0.7581 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009477/1.143, allocations: 147 kB / 0.7583 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/1.144, allocations: 423.4 kB / 0.7587 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/1.144, allocations: 31.5 kB / 0.7587 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/1.144, allocations: 40.75 kB / 0.7587 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/1.145, allocations: 0.5847 MB / 0.7593 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.145, allocations: 8.922 kB / 0.7593 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/1.145, allocations: 18.81 kB / 0.7593 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.145, allocations: 8.656 kB / 0.7593 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/1.146, allocations: 477.5 kB / 0.7598 GB, free: 16.64 MB / 0.5762 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.003057/1.149, allocations: 2.608 MB / 0.7623 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/1.15, allocations: 330.5 kB / 0.7627 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/1.15, allocations: 155.3 kB / 0.7628 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/1.15, allocations: 56.02 kB / 0.7629 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/1.15, allocations: 38.09 kB / 0.7629 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/1.15, allocations: 0 / 0.7629 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001659/1.152, allocations: 0.637 MB / 0.7635 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.152, allocations: 134.2 kB / 0.7636 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/1.153, allocations: 471.5 kB / 0.7641 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/1.153, allocations: 36.39 kB / 0.7641 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/1.153, allocations: 285.1 kB / 0.7644 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/1.153, allocations: 114 kB / 0.7645 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.153, allocations: 104.2 kB / 0.7646 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002439/1.153, allocations: 363.7 kB / 0.765 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/1.154, allocations: 146.3 kB / 0.7651 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/1.154, allocations: 287.5 kB / 0.7654 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/1.155, allocations: 433.2 kB / 0.7658 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.155, allocations: 3.062 kB / 0.7658 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009543/1.156, allocations: 0.5381 MB / 0.7663 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.156, allocations: 6.094 kB / 0.7663 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.156, allocations: 4.453 kB / 0.7663 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/1.157, allocations: 240.5 kB / 0.7666 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/1.158, allocations: 104.8 kB / 0.7667 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005394/1.158, allocations: 0.594 MB / 0.7672 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/1.159, allocations: 48.09 kB / 0.7673 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/1.159, allocations: 47.11 kB / 0.7673 GB, free: 12.96 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.0002762/1.159, allocations: 181.8 kB / 0.7675 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/1.159, allocations: 54.58 kB / 0.7675 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/1.161, allocations: 1.084 MB / 0.7686 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.161, allocations: 4.188 kB / 0.7686 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.161, allocations: 0 / 0.7686 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.161, allocations: 8.047 kB / 0.7686 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/1.162, allocations: 0.9848 MB / 0.7696 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.162, allocations: 0 / 0.7696 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/1.163, allocations: 49.09 kB / 0.7696 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.166, allocations: 442.2 kB / 0.77 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/1.166, allocations: 10.28 kB / 0.7701 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005596/1.166, allocations: 0.6056 MB / 0.7706 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.166, allocations: 2.766 kB / 0.7707 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/1.167, allocations: 0.503 MB / 0.7711 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/1.167, allocations: 59.27 kB / 0.7712 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/1.167, allocations: 18.88 kB / 0.7712 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/1.168, allocations: 20.33 kB / 0.7712 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/1.168, allocations: 29.58 kB / 0.7713 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/1.168, allocations: 17.44 kB / 0.7713 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004967/1.168, allocations: 402.6 kB / 0.7717 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.168, allocations: 0.9688 kB / 0.7717 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001371/1.17, allocations: 342 kB / 0.772 GB, free: 11.37 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.00108/1.171, allocations: 435.5 kB / 0.7724 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009814/1.172, allocations: 354 kB / 0.7727 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.172, allocations: 4.25 kB / 0.7727 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/1.172, allocations: 155.6 kB / 0.7729 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.174, allocations: 367.1 kB / 0.7732 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/1.175, allocations: 0.8972 MB / 0.7741 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/1.176, allocations: 0.8575 MB / 0.775 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001001/1.177, allocations: 0.552 MB / 0.7755 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/1.177, allocations: 89.86 kB / 0.7756 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/1.177, allocations: 0 / 0.7756 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.03374/1.211, allocations: 17.98 MB / 0.7931 GB, free: 5.141 MB / 0.5762 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.967019202886149]