Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001963/0.001963, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002456/0.002456, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2308/0.2308, allocations: 46.9 MB / 361.1 MB, free: 4.645 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 79.88 kB / 0.4968 GB, free: 8.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3183, allocations: 65.97 MB / 0.5612 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2283/0.5466, allocations: 186.9 MB / 0.7437 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006545/0.5532, allocations: 3.694 MB / 0.7473 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.5536, allocations: 15.88 kB / 0.7473 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008949/0.5545, allocations: 329.8 kB / 0.7476 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.5588, allocations: 1.745 MB / 0.7493 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.5606, allocations: 0.7149 MB / 0.75 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002063/0.5626, allocations: 1.544 MB / 0.7516 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006096/0.5632, allocations: 367.3 kB / 0.7519 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009696/0.5642, allocations: 0.5916 MB / 0.7525 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.5649, allocations: 490 kB / 0.7529 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/0.565, allocations: 52 kB / 0.753 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3232/0.8881, allocations: 2.393 MB / 0.7553 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.8885, allocations: 162.7 kB / 0.7555 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.8891, allocations: 347.6 kB / 0.7558 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.8937, allocations: 1.995 MB / 0.7578 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8937, allocations: 0.625 kB / 0.7578 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8937, allocations: 0.5938 kB / 0.7578 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.8937, allocations: 1.781 kB / 0.7578 GB, free: 5.805 MB / 0.5762 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.002224/0.896, allocations: 1.103 MB / 0.7588 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.896, allocations: 9.984 kB / 0.7589 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.897, allocations: 141.5 kB / 0.759 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.8978, allocations: 495.5 kB / 0.7595 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.8978, allocations: 40.14 kB / 0.7595 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.8979, allocations: 36.53 kB / 0.7595 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.8989, allocations: 0.5871 MB / 0.7601 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.8989, allocations: 2.906 kB / 0.7601 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.36e-05/0.899, allocations: 19.31 kB / 0.7601 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.899, allocations: 14.62 kB / 0.7601 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.9, allocations: 480.1 kB / 0.7606 GB, free: 4.738 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.002938/0.9029, allocations: 2.657 MB / 0.7632 GB, free: 18.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.9037, allocations: 326 kB / 0.7635 GB, free: 18.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.904, allocations: 154.5 kB / 0.7637 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.9044, allocations: 438 kB / 0.7641 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.9045, allocations: 39.84 kB / 0.7641 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.9045, allocations: 1.562 kB / 0.7641 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001777/0.9063, allocations: 0.7187 MB / 0.7648 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.9064, allocations: 134.4 kB / 0.7649 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.9069, allocations: 477.6 kB / 0.7654 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.907, allocations: 34.39 kB / 0.7654 GB, free: 17.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.9072, allocations: 288.2 kB / 0.7657 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.9072, allocations: 121.3 kB / 0.7658 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.9074, allocations: 104.4 kB / 0.7659 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.9076, allocations: 363.6 kB / 0.7663 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.9079, allocations: 150.4 kB / 0.7664 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.9083, allocations: 279 kB / 0.7667 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.909, allocations: 443.4 kB / 0.7671 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.909, allocations: 2.938 kB / 0.7671 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001022/0.91, allocations: 0.5363 MB / 0.7676 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.91, allocations: 7.688 kB / 0.7676 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.91, allocations: 4.5 kB / 0.7676 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.9117, allocations: 238.5 kB / 0.7679 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.912, allocations: 106.1 kB / 0.768 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005421/0.9126, allocations: 0.5939 MB / 0.7685 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.913, allocations: 49.27 kB / 0.7686 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.9131, allocations: 45.67 kB / 0.7686 GB, free: 16.49 MB / 0.5919 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.0002723/0.9133, allocations: 185.9 kB / 0.7688 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.9135, allocations: 54.89 kB / 0.7689 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.9155, allocations: 1.077 MB / 0.7699 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.9155, allocations: 7.094 kB / 0.7699 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9155, allocations: 2.375 kB / 0.7699 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9155, allocations: 1.453 kB / 0.7699 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.9171, allocations: 1.018 MB / 0.7709 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.9171, allocations: 5.938 kB / 0.7709 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.9174, allocations: 51.53 kB / 0.771 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00333/0.9207, allocations: 439.2 kB / 0.7714 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.9207, allocations: 11.25 kB / 0.7714 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004862/0.9212, allocations: 0.6029 MB / 0.772 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9212, allocations: 6.094 kB / 0.772 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.9221, allocations: 0.5127 MB / 0.7725 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.9223, allocations: 137.2 kB / 0.7726 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.9224, allocations: 8.984 kB / 0.7726 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.9227, allocations: 16.92 kB / 0.7727 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.9228, allocations: 31.5 kB / 0.7727 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.9228, allocations: 19.03 kB / 0.7727 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005616/0.9234, allocations: 408.7 kB / 0.7731 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.9234, allocations: 0.9375 kB / 0.7731 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001205/0.9246, allocations: 342.8 kB / 0.7734 GB, free: 14.81 MB / 0.5919 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.001083/0.9257, allocations: 444.2 kB / 0.7738 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008823/0.9266, allocations: 357 kB / 0.7742 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9266, allocations: 2.219 kB / 0.7742 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.9269, allocations: 162.5 kB / 0.7743 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.9288, allocations: 375.4 kB / 0.7747 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.9301, allocations: 0.9063 MB / 0.7756 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.9306, allocations: 0.8576 MB / 0.7764 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009839/0.9316, allocations: 0.5535 MB / 0.777 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.9318, allocations: 91.59 kB / 0.7771 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.9318, allocations: 0.875 kB / 0.7771 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.02861/0.9604, allocations: 18.31 MB / 0.7949 GB, free: 10.99 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.383988325018436]