Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001356/0.001356, allocations: 84.14 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.00143/0.00143, allocations: 169 kB / 23.96 MB, free: 4.16 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.369/1.369, 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.2065/0.2065, 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.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.301e-05, allocations: 2.281 kB / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3575/0.3575, allocations: 161.6 MB / 0.5876 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006528/0.364, allocations: 3.401 MB / 0.5909 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.3646, allocations: 19.81 kB / 0.5909 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.3656, allocations: 313.7 kB / 0.5912 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.3706, allocations: 1.789 MB / 0.593 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.3734, allocations: 0.7385 MB / 0.5937 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.3764, allocations: 1.554 MB / 0.5952 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.3771, allocations: 348.5 kB / 0.5956 GB, free: 160 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.3783, allocations: 0.8141 MB / 0.5964 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007134/0.379, allocations: 406.8 kB / 0.5967 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.3791, allocations: 52 kB / 0.5968 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.3821, allocations: 1.141 MB / 0.5979 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.3823, allocations: 167.3 kB / 0.5981 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.3827, allocations: 251.5 kB / 0.5983 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.3854, allocations: 1.734 MB / 0.6 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3854, allocations: 0 / 0.6 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3854, allocations: 0 / 0.6 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.3855, allocations: 3.984 kB / 0.6 GB, free: 11.6 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.001978/0.3874, allocations: 1.025 MB / 0.601 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3875, allocations: 8.031 kB / 0.601 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009967/0.3885, allocations: 143.2 kB / 0.6012 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.3892, allocations: 425.5 kB / 0.6016 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3892, allocations: 37 kB / 0.6016 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.3893, allocations: 36 kB / 0.6016 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3906, allocations: 0.8879 MB / 0.6025 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.3907, allocations: 11.88 kB / 0.6025 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.3907, allocations: 19.09 kB / 0.6025 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3907, allocations: 12 kB / 0.6025 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009592/0.3917, allocations: 475.6 kB / 0.603 GB, free: 8.375 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.002701/0.3944, allocations: 1.869 MB / 0.6048 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.3952, allocations: 319.5 kB / 0.6051 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.3955, allocations: 153.3 kB / 0.6053 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.3957, allocations: 48.31 kB / 0.6053 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3957, allocations: 38.84 kB / 0.6054 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.3957, allocations: 0 / 0.6054 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001768/0.3975, allocations: 0.6359 MB / 0.606 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.3976, allocations: 132.5 kB / 0.6061 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.398, allocations: 409.8 kB / 0.6065 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.3981, allocations: 29.7 kB / 0.6065 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.3983, allocations: 288.3 kB / 0.6068 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3984, allocations: 119 kB / 0.6069 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3986, allocations: 106.2 kB / 0.607 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3988, allocations: 350.8 kB / 0.6073 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.3992, allocations: 148.9 kB / 0.6075 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.3997, allocations: 361.3 kB / 0.6078 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.4005, allocations: 429.6 kB / 0.6082 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4005, allocations: 0 / 0.6082 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001055/0.4015, allocations: 0.5367 MB / 0.6088 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4016, allocations: 8 kB / 0.6088 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4016, allocations: 448 / 0.6088 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.4031, allocations: 248.5 kB / 0.609 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.4035, allocations: 95.89 kB / 0.6091 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005158/0.404, allocations: 0.5952 MB / 0.6097 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.4043, allocations: 43.72 kB / 0.6097 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.4044, allocations: 47.98 kB / 0.6098 GB, free: 1.117 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.0002544/0.4047, allocations: 182.3 kB / 0.6099 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.4048, allocations: 51.66 kB / 0.61 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.4069, allocations: 1.084 MB / 0.611 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4069, allocations: 7.938 kB / 0.6111 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4069, allocations: 0 / 0.6111 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4069, allocations: 0 / 0.6111 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4083, allocations: 0.8582 MB / 0.6119 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4083, allocations: 0 / 0.6119 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.4085, allocations: 55.91 kB / 0.6119 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/0.4118, allocations: 436.4 kB / 0.6124 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.4118, allocations: 8 kB / 0.6124 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005239/0.4124, allocations: 0.5991 MB / 0.613 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4124, allocations: 4.031 kB / 0.613 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.4132, allocations: 0.4964 MB / 0.6134 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.4133, allocations: 55.64 kB / 0.6135 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.4134, allocations: 11.94 kB / 0.6135 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.4137, allocations: 15.98 kB / 0.6135 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.4138, allocations: 27.95 kB / 0.6136 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.4138, allocations: 8 kB / 0.6136 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004275/0.4143, allocations: 323.1 kB / 0.6139 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4143, allocations: 0 / 0.6139 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001054/0.4153, allocations: 358.8 kB / 0.6142 GB, free: 12.42 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.001004/0.4163, allocations: 476.8 kB / 0.6147 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008548/0.4172, allocations: 351.9 kB / 0.615 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4172, allocations: 4 kB / 0.615 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.4176, allocations: 148.7 kB / 0.6151 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.4189, allocations: 300.5 kB / 0.6154 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4204, allocations: 0.8432 MB / 0.6163 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4207, allocations: 258.9 kB / 0.6165 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009239/0.4216, allocations: 0.5393 MB / 0.617 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.4218, allocations: 88.45 kB / 0.6171 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.4218, allocations: 0 / 0.6171 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of Templates: time 0.0271/0.4489, allocations: 16.13 MB / 0.6329 GB, free: 9.473 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.604749206453562]