Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001402/0.001402, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001552/0.001552, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] 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.2178/0.2178, allocations: 44.91 MB / 359.6 MB, free: 6.32 MB / 286.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.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002195/0.002195, allocations: 67.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3285, allocations: 65.46 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5345/0.863, allocations: 186.9 MB / 0.7408 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005439/0.8684, allocations: 3.696 MB / 0.7444 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.869, allocations: 25.47 kB / 0.7444 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008877/0.8699, allocations: 329.1 kB / 0.7447 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.8741, allocations: 1.763 MB / 0.7464 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.8757, allocations: 0.7218 MB / 0.7471 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.8775, allocations: 1.557 MB / 0.7487 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006255/0.8782, allocations: 364.9 kB / 0.749 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.8793, allocations: 0.5988 MB / 0.7496 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009699/0.8803, allocations: 486.9 kB / 0.7501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.8805, allocations: 51.88 kB / 0.7501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/0.8845, allocations: 2.421 MB / 0.7525 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.8848, allocations: 165.6 kB / 0.7526 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.8854, allocations: 347.3 kB / 0.753 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.8888, allocations: 1.995 MB / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8888, allocations: 0 / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8888, allocations: 0.5938 kB / 0.7549 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.521e-05/0.8888, allocations: 1.203 kB / 0.7549 GB, free: 1.535 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.002454/0.8913, allocations: 1.037 MB / 0.7559 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.8913, allocations: 10.44 kB / 0.7559 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.8924, allocations: 142.6 kB / 0.7561 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.8933, allocations: 432 kB / 0.7565 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.8933, allocations: 30.97 kB / 0.7565 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.8933, allocations: 40.09 kB / 0.7565 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.8943, allocations: 0.5902 MB / 0.7571 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.8944, allocations: 11.02 kB / 0.7571 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.8944, allocations: 19.34 kB / 0.7571 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.8944, allocations: 11.06 kB / 0.7572 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007992/0.8952, allocations: 483.8 kB / 0.7576 GB, free: 16.6 MB / 0.5762 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.003033/0.8983, allocations: 2.616 MB / 0.7602 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006525/0.8989, allocations: 326.5 kB / 0.7605 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.8992, allocations: 156.2 kB / 0.7606 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.8994, allocations: 59.23 kB / 0.7607 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.8994, allocations: 38.27 kB / 0.7607 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.8994, allocations: 0 / 0.7607 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.0015/0.9009, allocations: 0.6545 MB / 0.7614 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.901, allocations: 131.2 kB / 0.7615 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.9015, allocations: 480.6 kB / 0.762 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.9015, allocations: 32.3 kB / 0.762 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.9017, allocations: 285.2 kB / 0.7623 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.9018, allocations: 120.1 kB / 0.7624 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.9019, allocations: 105.2 kB / 0.7625 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.9021, allocations: 362.2 kB / 0.7628 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.9024, allocations: 149.2 kB / 0.763 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.9027, allocations: 285.3 kB / 0.7632 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.9033, allocations: 433 kB / 0.7636 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.9033, allocations: 7.344 kB / 0.7636 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009132/0.9042, allocations: 0.5455 MB / 0.7642 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.9042, allocations: 4.875 kB / 0.7642 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.9042, allocations: 2.062 kB / 0.7642 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.9057, allocations: 237.4 kB / 0.7644 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.906, allocations: 108.2 kB / 0.7645 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004828/0.9065, allocations: 0.594 MB / 0.7651 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.9068, allocations: 48.11 kB / 0.7651 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/0.9069, allocations: 47.62 kB / 0.7652 GB, free: 12.93 MB / 0.5762 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.0002383/0.9071, allocations: 184.4 kB / 0.7654 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.9072, allocations: 53.95 kB / 0.7654 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.9088, allocations: 1.094 MB / 0.7665 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.9088, allocations: 4.469 kB / 0.7665 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.9089, allocations: 0.9062 kB / 0.7665 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9089, allocations: 0 / 0.7665 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.9102, allocations: 0.9854 MB / 0.7675 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.9102, allocations: 2.75 kB / 0.7675 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.9104, allocations: 55.73 kB / 0.7675 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003035/0.9134, allocations: 436.8 kB / 0.7679 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.9135, allocations: 12.69 kB / 0.7679 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004665/0.9139, allocations: 0.6039 MB / 0.7685 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9139, allocations: 3.938 kB / 0.7685 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/0.9147, allocations: 0.5119 MB / 0.769 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.9149, allocations: 57.69 kB / 0.7691 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.915, allocations: 21.23 kB / 0.7691 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.9153, allocations: 17.77 kB / 0.7691 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.9154, allocations: 31.52 kB / 0.7692 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.9154, allocations: 17 kB / 0.7692 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004531/0.9159, allocations: 411.6 kB / 0.7696 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9159, allocations: 1.094 kB / 0.7696 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001065/0.9169, allocations: 335 kB / 0.7699 GB, free: 11.35 MB / 0.5762 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.001098/0.918, allocations: 438.8 kB / 0.7703 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.9188, allocations: 356.9 kB / 0.7706 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.9188, allocations: 4.156 kB / 0.7706 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.9191, allocations: 155.2 kB / 0.7708 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.9208, allocations: 379.7 kB / 0.7712 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.9223, allocations: 0.9348 MB / 0.7721 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.9228, allocations: 0.8534 MB / 0.7729 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.9231, allocations: 125.3 kB / 0.773 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.9231, allocations: 0 / 0.773 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of Templates: time 0.02197/0.9451, allocations: 15.83 MB / 0.7885 GB, free: 6.184 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.37248506792821]