Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001311/0.001311, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.001439/0.001439, allocations: 163.4 kB / 23.95 MB, free: 4.168 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.441/1.441, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2872/0.2872, allocations: 34.28 MB / 295 MB, free: 14.58 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.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_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_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.249e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3701/0.3702, allocations: 161.7 MB / 0.5902 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.3763, allocations: 3.4 MB / 0.5935 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.3768, allocations: 23.81 kB / 0.5935 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009217/0.3777, allocations: 313.7 kB / 0.5938 GB, free: 420 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004697/0.3824, allocations: 1.796 MB / 0.5956 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.3846, allocations: 0.7301 MB / 0.5963 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.3869, allocations: 1.559 MB / 0.5978 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007181/0.3876, allocations: 355.9 kB / 0.5982 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.3889, allocations: 0.8065 MB / 0.5989 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.3896, allocations: 418.7 kB / 0.5993 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3897, allocations: 52 kB / 0.5994 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.3928, allocations: 1.197 MB / 0.6006 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.393, allocations: 163.4 kB / 0.6007 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.3934, allocations: 255.4 kB / 0.601 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.3963, allocations: 1.784 MB / 0.6027 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3963, allocations: 0 / 0.6027 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.093e-06/0.3963, allocations: 0 / 0.6027 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.3963, allocations: 0 / 0.6027 GB, free: 7.301 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.002048/0.3983, allocations: 1.018 MB / 0.6037 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3984, allocations: 12.03 kB / 0.6037 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.3995, allocations: 143.5 kB / 0.6038 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007877/0.4002, allocations: 426.1 kB / 0.6043 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.4003, allocations: 37 kB / 0.6043 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.4004, allocations: 36 kB / 0.6043 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.4018, allocations: 0.8965 MB / 0.6052 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4018, allocations: 3.938 kB / 0.6052 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.061e-05/0.4019, allocations: 23.94 kB / 0.6052 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.4019, allocations: 8 kB / 0.6052 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.4029, allocations: 475.6 kB / 0.6057 GB, free: 4.074 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.003113/0.406, allocations: 1.893 MB / 0.6075 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008644/0.4069, allocations: 323.2 kB / 0.6078 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.4073, allocations: 153.3 kB / 0.608 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.4076, allocations: 54.59 kB / 0.608 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.4076, allocations: 34.84 kB / 0.6081 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.4076, allocations: 0 / 0.6081 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001892/0.4095, allocations: 0.6446 MB / 0.6087 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.4096, allocations: 136.5 kB / 0.6088 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.4101, allocations: 409.8 kB / 0.6092 GB, free: 328 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.4102, allocations: 37.7 kB / 0.6093 GB, free: 284 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.4104, allocations: 280.4 kB / 0.6095 GB, free: 0 / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4105, allocations: 127 kB / 0.6097 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.4107, allocations: 106.2 kB / 0.6098 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.4109, allocations: 354.8 kB / 0.6101 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.4113, allocations: 144.9 kB / 0.6102 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.4119, allocations: 357.5 kB / 0.6106 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009043/0.4128, allocations: 432.8 kB / 0.611 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.4128, allocations: 7.984 kB / 0.611 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00119/0.414, allocations: 0.5367 MB / 0.6115 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.414, allocations: 4 kB / 0.6115 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.414, allocations: 4 kB / 0.6115 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.4157, allocations: 253 kB / 0.6118 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.4161, allocations: 107.8 kB / 0.6119 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005917/0.4167, allocations: 0.5926 MB / 0.6124 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.417, allocations: 39.73 kB / 0.6125 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/0.4171, allocations: 47.98 kB / 0.6125 GB, free: 12.75 MB / 0.5137 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.0003406/0.4174, allocations: 185.6 kB / 0.6127 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.4176, allocations: 51.66 kB / 0.6128 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.4197, allocations: 1.09 MB / 0.6138 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4197, allocations: 4 kB / 0.6138 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4197, allocations: 0 / 0.6138 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4197, allocations: 3.984 kB / 0.6138 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.4213, allocations: 0.87 MB / 0.6147 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4213, allocations: 0 / 0.6147 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.4215, allocations: 59.22 kB / 0.6147 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/0.4249, allocations: 436.2 kB / 0.6151 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.4249, allocations: 11.98 kB / 0.6152 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005383/0.4254, allocations: 0.6031 MB / 0.6157 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.4254, allocations: 7.969 kB / 0.6158 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.4263, allocations: 0.4925 MB / 0.6162 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/0.4264, allocations: 43.66 kB / 0.6163 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4266, allocations: 15.92 kB / 0.6163 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.4269, allocations: 19.98 kB / 0.6163 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.427, allocations: 23.91 kB / 0.6163 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.427, allocations: 19.98 kB / 0.6164 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00045/0.4275, allocations: 323.1 kB / 0.6167 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4275, allocations: 0 / 0.6167 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001151/0.4286, allocations: 354.9 kB / 0.617 GB, free: 8.031 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.001132/0.4297, allocations: 461.9 kB / 0.6174 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009543/0.4307, allocations: 359.8 kB / 0.6178 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.4307, allocations: 4 kB / 0.6178 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.4311, allocations: 149 kB / 0.6179 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.4326, allocations: 293.3 kB / 0.6182 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4342, allocations: 0.8637 MB / 0.6191 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.4344, allocations: 255.2 kB / 0.6193 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001022/0.4355, allocations: 0.5594 MB / 0.6198 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.4357, allocations: 76.47 kB / 0.6199 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/0.4357, allocations: 0 / 0.6199 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of Templates: time 0.02995/0.4656, allocations: 16.6 MB / 0.6361 GB, free: 4.613 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.000551730394363]