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.0008658/0.0008658, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004481/0.004481, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8816/0.8816, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2317/0.2317, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 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.923e-06/1.923e-06, allocations: 0 / 443.5 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.514e-05, allocations: 6.281 kB / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3576/0.3576, allocations: 161.6 MB / 0.5909 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.3619, allocations: 3.399 MB / 0.5942 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.3622, allocations: 27.75 kB / 0.5943 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.3628, allocations: 313.7 kB / 0.5946 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.3657, allocations: 1.798 MB / 0.5963 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3668, allocations: 0.7308 MB / 0.597 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.3679, allocations: 1.562 MB / 0.5986 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.3682, allocations: 360.5 kB / 0.5989 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007173/0.369, allocations: 0.8025 MB / 0.5997 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.3694, allocations: 410.8 kB / 0.6001 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.3695, allocations: 52 kB / 0.6001 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.371, allocations: 1.201 MB / 0.6013 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3711, allocations: 167.4 kB / 0.6015 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.3713, allocations: 255.4 kB / 0.6017 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.3728, allocations: 1.784 MB / 0.6034 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3728, allocations: 0 / 0.6034 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3728, allocations: 0 / 0.6034 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3728, allocations: 0 / 0.6034 GB, free: 1.742 MB / 0.4948 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.001157/0.374, allocations: 1.021 MB / 0.6044 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.374, allocations: 12.03 kB / 0.6045 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.3745, allocations: 146.4 kB / 0.6046 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.3751, allocations: 426.1 kB / 0.605 GB, free: 92 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3751, allocations: 37 kB / 0.605 GB, free: 56 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.3751, allocations: 39.98 kB / 0.6051 GB, free: 16 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.3759, allocations: 0.8996 MB / 0.606 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3759, allocations: 0 / 0.606 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.376, allocations: 19.98 kB / 0.606 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.376, allocations: 12 kB / 0.606 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.3765, allocations: 479.6 kB / 0.6064 GB, free: 14.5 MB / 0.5105 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.001606/0.3781, allocations: 1.879 MB / 0.6083 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.3786, allocations: 319.2 kB / 0.6086 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.3787, allocations: 153.4 kB / 0.6087 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.3789, allocations: 48.25 kB / 0.6088 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3789, allocations: 46.77 kB / 0.6088 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.3789, allocations: 0 / 0.6088 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009671/0.3799, allocations: 0.6407 MB / 0.6094 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3799, allocations: 140.4 kB / 0.6096 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.3802, allocations: 409.9 kB / 0.61 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.3802, allocations: 37.7 kB / 0.61 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.3804, allocations: 288.3 kB / 0.6103 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.3804, allocations: 127 kB / 0.6104 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.3805, allocations: 98.19 kB / 0.6105 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.3806, allocations: 350.8 kB / 0.6108 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3808, allocations: 148.9 kB / 0.611 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.3811, allocations: 361.4 kB / 0.6113 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.3815, allocations: 436.8 kB / 0.6117 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.3815, allocations: 4 kB / 0.6117 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006396/0.3822, allocations: 0.5332 MB / 0.6123 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3822, allocations: 4.031 kB / 0.6123 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3822, allocations: 8 kB / 0.6123 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007356/0.3829, allocations: 250 kB / 0.6125 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.3831, allocations: 107.8 kB / 0.6126 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003251/0.3834, allocations: 0.5875 MB / 0.6132 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3836, allocations: 47.66 kB / 0.6132 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.3836, allocations: 40 kB / 0.6133 GB, free: 7.203 MB / 0.5105 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.0001619/0.3838, allocations: 182.9 kB / 0.6134 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.3838, allocations: 55.72 kB / 0.6135 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.385, allocations: 1.086 MB / 0.6146 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.385, allocations: 4 kB / 0.6146 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.385, allocations: 0 / 0.6146 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.385, allocations: 0 / 0.6146 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.3858, allocations: 0.8699 MB / 0.6154 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3858, allocations: 0 / 0.6154 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3859, allocations: 52.84 kB / 0.6155 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.3873, allocations: 444.3 kB / 0.6159 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.3873, allocations: 8 kB / 0.6159 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002868/0.3876, allocations: 0.6046 MB / 0.6165 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3876, allocations: 4.094 kB / 0.6165 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.388, allocations: 0.4994 MB / 0.617 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.3881, allocations: 47.58 kB / 0.617 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.3881, allocations: 8 kB / 0.617 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3883, allocations: 15.98 kB / 0.617 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.3883, allocations: 31.89 kB / 0.6171 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3883, allocations: 16 kB / 0.6171 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002473/0.3886, allocations: 327.1 kB / 0.6174 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 7.938 kB / 0.6174 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006501/0.3892, allocations: 354.8 kB / 0.6177 GB, free: 2.48 MB / 0.5105 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.0006683/0.3899, allocations: 458.5 kB / 0.6182 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.3904, allocations: 359.8 kB / 0.6185 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3904, allocations: 4 kB / 0.6185 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3906, allocations: 149 kB / 0.6187 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.3913, allocations: 289.4 kB / 0.6189 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.3923, allocations: 0.8983 MB / 0.6198 GB, free: 316 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.3925, allocations: 255.2 kB / 0.6201 GB, free: 28 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.3927, allocations: 124.4 kB / 0.6202 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.3927, allocations: 0 / 0.6202 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.01202/0.4047, allocations: 15.2 MB / 0.635 GB, free: 0.7578 MB / 0.5261 GB " [Timeout remaining time 659] 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.658479648642242]