Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00182/0.00182, allocations: 79.34 kB / 20.52 MB, free: 1.281 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.00237/0.00237, allocations: 164.5 kB / 23.76 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.241/0.241, allocations: 32.37 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 71.91 kB / 407.8 MB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1113, allocations: 61.04 MB / 468.8 MB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4069/0.5182, allocations: 165 MB / 0.6189 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009155/0.5274, allocations: 5.608 MB / 0.6244 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.5279, allocations: 23.81 kB / 0.6244 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009456/0.5288, allocations: 313.9 kB / 0.6247 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.5342, allocations: 1.964 MB / 0.6267 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.5362, allocations: 0.723 MB / 0.6274 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.5391, allocations: 1.548 MB / 0.6289 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000738/0.5398, allocations: 348 kB / 0.6292 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.5411, allocations: 0.5995 MB / 0.6298 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007358/0.5418, allocations: 462 kB / 0.6302 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.5419, allocations: 56 kB / 0.6303 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.5451, allocations: 1.361 MB / 0.6316 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.5454, allocations: 171.3 kB / 0.6318 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.5458, allocations: 298.8 kB / 0.6321 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.5487, allocations: 1.768 MB / 0.6338 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5487, allocations: 0 / 0.6338 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5487, allocations: 0 / 0.6338 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.5487, allocations: 4 kB / 0.6338 GB, free: 4.973 MB / 0.5294 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.002123/0.5508, allocations: 1.06 MB / 0.6348 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5509, allocations: 12.03 kB / 0.6348 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5519, allocations: 143.5 kB / 0.635 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.5528, allocations: 426.9 kB / 0.6354 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.5528, allocations: 33 kB / 0.6354 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.5529, allocations: 40 kB / 0.6355 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.5542, allocations: 0.8996 MB / 0.6363 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5542, allocations: 0 / 0.6363 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.5543, allocations: 16 kB / 0.6363 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5543, allocations: 12 kB / 0.6364 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.5553, allocations: 475.6 kB / 0.6368 GB, free: 1.711 MB / 0.5294 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.002936/0.5582, allocations: 1.915 MB / 0.6387 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.559, allocations: 311.6 kB / 0.639 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.5593, allocations: 157.3 kB / 0.6391 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009642/0.5602, allocations: 416.3 kB / 0.6395 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5603, allocations: 46.77 kB / 0.6396 GB, free: 14.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.5603, allocations: 0 / 0.6396 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.00179/0.5621, allocations: 0.6362 MB / 0.6402 GB, free: 14.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.5622, allocations: 132.5 kB / 0.6403 GB, free: 14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.5627, allocations: 409.9 kB / 0.6407 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.5627, allocations: 33.7 kB / 0.6407 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5629, allocations: 288.3 kB / 0.641 GB, free: 13.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.563, allocations: 126.9 kB / 0.6411 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.5632, allocations: 98.14 kB / 0.6412 GB, free: 13.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5634, allocations: 354.8 kB / 0.6416 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.5637, allocations: 156.8 kB / 0.6417 GB, free: 12.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.5642, allocations: 349.5 kB / 0.6421 GB, free: 12.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.565, allocations: 440.7 kB / 0.6425 GB, free: 11.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.565, allocations: 0 / 0.6425 GB, free: 11.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00111/0.5661, allocations: 0.5212 MB / 0.643 GB, free: 11.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.5661, allocations: 11.98 kB / 0.643 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5661, allocations: 3.938 kB / 0.643 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.5677, allocations: 248.9 kB / 0.6432 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.5681, allocations: 99.88 kB / 0.6433 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005095/0.5686, allocations: 0.5953 MB / 0.6439 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.5689, allocations: 47.66 kB / 0.644 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.569, allocations: 47.92 kB / 0.644 GB, free: 10.03 MB / 0.545 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.0002659/0.5693, allocations: 187.2 kB / 0.6442 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5694, allocations: 47.72 kB / 0.6442 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.571, allocations: 0.7296 MB / 0.6449 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.571, allocations: 4 kB / 0.6449 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.571, allocations: 0 / 0.6449 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.571, allocations: 0 / 0.6449 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.5724, allocations: 0.8581 MB / 0.6458 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5724, allocations: 4.031 kB / 0.6458 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5726, allocations: 51.91 kB / 0.6458 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003341/0.576, allocations: 448.1 kB / 0.6463 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.576, allocations: 12 kB / 0.6463 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004879/0.5765, allocations: 0.603 MB / 0.6469 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5765, allocations: 4.031 kB / 0.6469 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.5774, allocations: 0.5041 MB / 0.6474 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.5775, allocations: 47.64 kB / 0.6474 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.5775, allocations: 8 kB / 0.6474 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.5778, allocations: 15.98 kB / 0.6474 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.5779, allocations: 27.95 kB / 0.6475 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.5779, allocations: 16 kB / 0.6475 GB, free: 6.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004059/0.5784, allocations: 327.1 kB / 0.6478 GB, free: 6.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5784, allocations: 0 / 0.6478 GB, free: 6.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001066/0.5794, allocations: 378.8 kB / 0.6481 GB, free: 5.656 MB / 0.545 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.001153/0.5806, allocations: 0.4976 MB / 0.6486 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008937/0.5815, allocations: 364.6 kB / 0.649 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5815, allocations: 4 kB / 0.649 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.5818, allocations: 151.8 kB / 0.6491 GB, free: 4.645 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5832, allocations: 296.2 kB / 0.6494 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.5847, allocations: 0.895 MB / 0.6503 GB, free: 3.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.585, allocations: 255.2 kB / 0.6505 GB, free: 3.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000611/0.5856, allocations: 194.7 kB / 0.6507 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.5858, allocations: 80.48 kB / 0.6508 GB, free: 2.895 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.5858, allocations: 0 / 0.6508 GB, free: 2.895 MB / 0.545 GB Notification: Performance of Templates: time 0.02871/0.6145, allocations: 17.37 MB / 0.6677 GB, free: 1.555 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.983630061033182]