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.001741/0.001741, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002229/0.002229, allocations: 209 kB / 24.48 MB, free: 3.938 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.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.2252/0.2252, allocations: 46.96 MB / 361.6 MB, free: 4.039 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 0.0021/0.0021, allocations: 59.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 66.05 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2219/0.5717, allocations: 161.7 MB / 0.7198 GB, free: 1.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006832/0.5786, allocations: 3.4 MB / 0.7231 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.5793, allocations: 19.81 kB / 0.7231 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.5804, allocations: 317.9 kB / 0.7234 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.5855, allocations: 1.775 MB / 0.7251 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.5875, allocations: 0.7084 MB / 0.7258 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.5898, allocations: 1.544 MB / 0.7273 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007719/0.5906, allocations: 367.8 kB / 0.7277 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.5919, allocations: 0.6034 MB / 0.7283 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.5928, allocations: 458 kB / 0.7287 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.593, allocations: 55.98 kB / 0.7288 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.596, allocations: 1.193 MB / 0.7299 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.5962, allocations: 167.3 kB / 0.7301 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.5968, allocations: 286.9 kB / 0.7304 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003367/0.6001, allocations: 1.675 MB / 0.732 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6001, allocations: 0 / 0.732 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6001, allocations: 0 / 0.732 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.6002, allocations: 0 / 0.732 GB, free: 5.262 MB / 0.5606 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.00245/0.6026, allocations: 1.041 MB / 0.733 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.6026, allocations: 8.031 kB / 0.733 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.6038, allocations: 139.5 kB / 0.7332 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.6048, allocations: 429.6 kB / 0.7336 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.6048, allocations: 32.94 kB / 0.7336 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.6049, allocations: 40 kB / 0.7336 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.6062, allocations: 0.8918 MB / 0.7345 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.6062, allocations: 4 kB / 0.7345 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.6063, allocations: 20 kB / 0.7345 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.6063, allocations: 12 kB / 0.7346 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6073, allocations: 475.6 kB / 0.735 GB, free: 2.023 MB / 0.5606 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.002916/0.6102, allocations: 1.881 MB / 0.7368 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2723/0.8826, allocations: 322.6 kB / 0.7372 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.883, allocations: 162.1 kB / 0.7373 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.8833, allocations: 48.72 kB / 0.7374 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.8833, allocations: 38.7 kB / 0.7374 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.8833, allocations: 0.5312 kB / 0.7374 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002032/0.8853, allocations: 0.6439 MB / 0.738 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.8854, allocations: 133.1 kB / 0.7381 GB, free: 176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.886, allocations: 412.9 kB / 0.7385 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.886, allocations: 32.58 kB / 0.7386 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.8862, allocations: 289 kB / 0.7388 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.916e-05/0.8863, allocations: 124 kB / 0.739 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.8865, allocations: 108.1 kB / 0.7391 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.8866, allocations: 356.9 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.8869, allocations: 147.8 kB / 0.7395 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.8873, allocations: 359.9 kB / 0.7399 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.8879, allocations: 438 kB / 0.7403 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8879, allocations: 1.656 kB / 0.7403 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009004/0.8888, allocations: 0.5349 MB / 0.7408 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.8889, allocations: 9.812 kB / 0.7408 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8889, allocations: 0 / 0.7408 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.8903, allocations: 246.5 kB / 0.7411 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.8907, allocations: 110.6 kB / 0.7412 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003524/0.891, allocations: 0.5925 MB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.8913, allocations: 48.72 kB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.8914, allocations: 43.97 kB / 0.7418 GB, free: 173.7 MB / 0.5606 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.0002239/0.8916, allocations: 178 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.355e-05/0.8917, allocations: 49.53 kB / 0.7421 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.8934, allocations: 1.09 MB / 0.7431 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8934, allocations: 10.73 kB / 0.7431 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8934, allocations: 0 / 0.7431 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8934, allocations: 2.062 kB / 0.7431 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.8945, allocations: 0.8559 MB / 0.744 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8945, allocations: 0 / 0.744 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.8947, allocations: 54.92 kB / 0.744 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.8975, allocations: 442.9 kB / 0.7445 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.8975, allocations: 8 kB / 0.7445 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003012/0.8978, allocations: 0.6077 MB / 0.7451 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8978, allocations: 8.016 kB / 0.7451 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.8984, allocations: 0.4976 MB / 0.7455 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.8985, allocations: 46.59 kB / 0.7456 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/0.8986, allocations: 9.969 kB / 0.7456 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.8989, allocations: 19.92 kB / 0.7456 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.899, allocations: 27.95 kB / 0.7456 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.899, allocations: 15.98 kB / 0.7457 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002926/0.8993, allocations: 327.1 kB / 0.746 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8993, allocations: 5.188 kB / 0.746 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008737/0.9002, allocations: 355 kB / 0.7463 GB, free: 170.1 MB / 0.5606 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.0007781/0.9009, allocations: 425.2 kB / 0.7467 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.9017, allocations: 364.4 kB / 0.7471 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9017, allocations: 64 / 0.7471 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.902, allocations: 153.8 kB / 0.7472 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.9032, allocations: 302.8 kB / 0.7475 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.9044, allocations: 0.9183 MB / 0.7484 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.9045, allocations: 262.2 kB / 0.7487 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.9048, allocations: 123 kB / 0.7488 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.9048, allocations: 4 kB / 0.7488 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.01583/0.9206, allocations: 15.11 MB / 0.7635 GB, free: 152.5 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/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: 10.77332493988797]