Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.00124/0.00124, allocations: 85.05 kB / 20.68 MB, free: 0.8906 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.001295/0.001295, allocations: 168.4 kB / 23.96 MB, free: 3.918 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.344/1.344, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 32.8 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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.0.0_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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.659e-05, allocations: 5.375 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3776/0.3776, allocations: 161.6 MB / 0.5876 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.3836, allocations: 3.412 MB / 0.591 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003933/0.384, allocations: 19.81 kB / 0.591 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.3849, allocations: 321.7 kB / 0.5913 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.3889, allocations: 1.791 MB / 0.5931 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.3907, allocations: 0.7341 MB / 0.5938 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.3925, allocations: 1.566 MB / 0.5953 GB, free: 440 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.3931, allocations: 355.9 kB / 0.5956 GB, free: 80 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.3942, allocations: 0.8025 MB / 0.5964 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.3948, allocations: 414.8 kB / 0.5968 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.554e-05/0.3949, allocations: 52 kB / 0.5969 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.3972, allocations: 1.201 MB / 0.598 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.3974, allocations: 163.4 kB / 0.5982 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.3977, allocations: 259.4 kB / 0.5984 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.4001, allocations: 1.776 MB / 0.6002 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4001, allocations: 0 / 0.6002 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4001, allocations: 0 / 0.6002 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4001, allocations: 3.938 kB / 0.6002 GB, free: 11.41 MB / 0.4981 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.001885/0.402, allocations: 1.018 MB / 0.6012 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.402, allocations: 8.031 kB / 0.6012 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.403, allocations: 147.5 kB / 0.6013 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.4037, allocations: 430.1 kB / 0.6017 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.4037, allocations: 29 kB / 0.6018 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.049e-05/0.4038, allocations: 44 kB / 0.6018 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.4051, allocations: 0.8879 MB / 0.6027 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.4051, allocations: 11.86 kB / 0.6027 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.4052, allocations: 20.56 kB / 0.6027 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.4052, allocations: 12 kB / 0.6027 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.4062, allocations: 479.6 kB / 0.6032 GB, free: 8.18 MB / 0.4981 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.002717/0.4089, allocations: 1.885 MB / 0.605 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.4097, allocations: 323.2 kB / 0.6053 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.41, allocations: 153.3 kB / 0.6055 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.4102, allocations: 59.31 kB / 0.6055 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.4103, allocations: 42.09 kB / 0.6056 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.4103, allocations: 0 / 0.6056 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0018/0.4121, allocations: 0.6437 MB / 0.6062 GB, free: 5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.109e-05/0.4121, allocations: 132.5 kB / 0.6063 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.4126, allocations: 413.8 kB / 0.6067 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.4127, allocations: 33.7 kB / 0.6067 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.4129, allocations: 284.4 kB / 0.607 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.413, allocations: 131 kB / 0.6071 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.4132, allocations: 98.17 kB / 0.6072 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4134, allocations: 350.8 kB / 0.6076 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.4138, allocations: 148.9 kB / 0.6077 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.4143, allocations: 361.3 kB / 0.6081 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007866/0.4151, allocations: 437.6 kB / 0.6085 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4151, allocations: 4 kB / 0.6085 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001059/0.4162, allocations: 0.5328 MB / 0.609 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4162, allocations: 8.438 kB / 0.609 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4162, allocations: 8 kB / 0.609 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.4178, allocations: 240.5 kB / 0.6092 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.4181, allocations: 111.8 kB / 0.6094 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000509/0.4186, allocations: 0.5875 MB / 0.6099 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.4189, allocations: 43.66 kB / 0.61 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/0.419, allocations: 47.98 kB / 0.61 GB, free: 0.8633 MB / 0.4981 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.0002415/0.4193, allocations: 186.3 kB / 0.6102 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.4194, allocations: 55.72 kB / 0.6102 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.4213, allocations: 1.082 MB / 0.6113 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4213, allocations: 4 kB / 0.6113 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4213, allocations: 0 / 0.6113 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4214, allocations: 3.984 kB / 0.6113 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4227, allocations: 0.866 MB / 0.6122 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4227, allocations: 4 kB / 0.6122 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.4229, allocations: 47.91 kB / 0.6122 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/0.4261, allocations: 444.4 kB / 0.6126 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.4262, allocations: 8 kB / 0.6126 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004886/0.4267, allocations: 0.6108 MB / 0.6132 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4267, allocations: 0 / 0.6132 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.4275, allocations: 0.4963 MB / 0.6137 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.4276, allocations: 51.64 kB / 0.6138 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.4276, allocations: 11.94 kB / 0.6138 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.4279, allocations: 15.98 kB / 0.6138 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.428, allocations: 23.95 kB / 0.6138 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.428, allocations: 23.98 kB / 0.6138 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004124/0.4285, allocations: 323.1 kB / 0.6141 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4285, allocations: 0 / 0.6141 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000935/0.4294, allocations: 362.9 kB / 0.6145 GB, free: 12.12 MB / 0.5137 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.0009787/0.4304, allocations: 452.5 kB / 0.6149 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000832/0.4312, allocations: 359.9 kB / 0.6153 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4312, allocations: 0 / 0.6153 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.4316, allocations: 148.7 kB / 0.6154 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4329, allocations: 294.5 kB / 0.6157 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.4343, allocations: 0.859 MB / 0.6165 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.4346, allocations: 263.2 kB / 0.6168 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009455/0.4355, allocations: 0.5435 MB / 0.6173 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.4358, allocations: 88.44 kB / 0.6174 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.4358, allocations: 0 / 0.6174 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of Templates: time 0.02737/0.4631, allocations: 16.61 MB / 0.6336 GB, free: 8.711 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.514892246574163]