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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2462/0.2462, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 497.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3861, allocations: 64.29 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2279/0.614, allocations: 183.9 MB / 0.7285 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006688/0.6207, allocations: 3.668 MB / 0.7321 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.6214, allocations: 19.81 kB / 0.7321 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.6225, allocations: 333.8 kB / 0.7324 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.6271, allocations: 1.756 MB / 0.7341 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.629, allocations: 0.7162 MB / 0.7348 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3119/0.9409, allocations: 1.543 MB / 0.7363 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.9417, allocations: 364.8 kB / 0.7367 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.9431, allocations: 0.5946 MB / 0.7372 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.9438, allocations: 479.2 kB / 0.7377 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.9439, allocations: 53.02 kB / 0.7378 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.9481, allocations: 2.392 MB / 0.7401 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.9483, allocations: 167.7 kB / 0.7402 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.9487, allocations: 344.3 kB / 0.7406 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.9512, allocations: 1.976 MB / 0.7425 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9512, allocations: 3.922 kB / 0.7425 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.654e-06/0.9512, allocations: 4.688 kB / 0.7425 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.9512, allocations: 0 / 0.7425 GB, free: 3.391 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.001684/0.9529, allocations: 1.032 MB / 0.7435 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.9529, allocations: 8.562 kB / 0.7435 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.9539, allocations: 139.7 kB / 0.7437 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.9548, allocations: 426.7 kB / 0.7441 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.9548, allocations: 29.69 kB / 0.7441 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.9548, allocations: 41.78 kB / 0.7441 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.9558, allocations: 0.5912 MB / 0.7447 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.9558, allocations: 5.109 kB / 0.7447 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.9558, allocations: 20.69 kB / 0.7447 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.9559, allocations: 10.75 kB / 0.7447 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.9566, allocations: 477.3 kB / 0.7452 GB, free: 18.49 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.002691/0.9593, allocations: 2.627 MB / 0.7478 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.96, allocations: 329.2 kB / 0.7481 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.9602, allocations: 159.5 kB / 0.7482 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.9604, allocations: 51.44 kB / 0.7483 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.9605, allocations: 38.84 kB / 0.7483 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.9605, allocations: 0.8125 kB / 0.7483 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001503/0.962, allocations: 0.6512 MB / 0.749 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.9621, allocations: 133.3 kB / 0.7491 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.9625, allocations: 481.6 kB / 0.7495 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.9626, allocations: 34.55 kB / 0.7496 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.9627, allocations: 282.8 kB / 0.7498 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.9628, allocations: 116.6 kB / 0.75 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.9629, allocations: 105.2 kB / 0.7501 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.9631, allocations: 359.9 kB / 0.7504 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.9633, allocations: 148.3 kB / 0.7505 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.9637, allocations: 282 kB / 0.7508 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.9642, allocations: 444 kB / 0.7512 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9643, allocations: 3.562 kB / 0.7512 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00084/0.9651, allocations: 0.5354 MB / 0.7518 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9651, allocations: 7.188 kB / 0.7518 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.9651, allocations: 3.844 kB / 0.7518 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.9666, allocations: 246.5 kB / 0.752 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.9669, allocations: 103.9 kB / 0.7521 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004494/0.9673, allocations: 0.5929 MB / 0.7527 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.9676, allocations: 49.34 kB / 0.7527 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.9677, allocations: 44.69 kB / 0.7528 GB, free: 14.83 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.0002339/0.9679, allocations: 190.6 kB / 0.753 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.968, allocations: 56.42 kB / 0.753 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.9696, allocations: 1.097 MB / 0.7541 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9696, allocations: 7.281 kB / 0.7541 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9696, allocations: 0.8125 kB / 0.7541 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9696, allocations: 5.719 kB / 0.7541 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.9709, allocations: 0.9867 MB / 0.7551 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.9709, allocations: 0.75 kB / 0.7551 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.9711, allocations: 55 kB / 0.7551 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003042/0.9741, allocations: 438.7 kB / 0.7555 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.9742, allocations: 12.02 kB / 0.7555 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004506/0.9746, allocations: 0.6031 MB / 0.7561 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9746, allocations: 6.25 kB / 0.7561 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.9753, allocations: 0.5101 MB / 0.7566 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.9754, allocations: 56.38 kB / 0.7567 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.9755, allocations: 25.08 kB / 0.7567 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.9758, allocations: 16.69 kB / 0.7567 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.9759, allocations: 37.53 kB / 0.7568 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.9759, allocations: 16.45 kB / 0.7568 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004125/0.9763, allocations: 409.9 kB / 0.7572 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9763, allocations: 0.7812 kB / 0.7572 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008524/0.9772, allocations: 322.5 kB / 0.7575 GB, free: 13.25 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.0009064/0.9781, allocations: 441.2 kB / 0.7579 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007345/0.9788, allocations: 359.3 kB / 0.7582 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9788, allocations: 3.344 kB / 0.7582 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.9791, allocations: 150.6 kB / 0.7584 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.9806, allocations: 382.4 kB / 0.7588 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.9817, allocations: 0.8948 MB / 0.7596 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.9821, allocations: 0.8626 MB / 0.7605 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008545/0.983, allocations: 0.551 MB / 0.761 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.9832, allocations: 90.95 kB / 0.7611 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.9832, allocations: 0 / 0.7611 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.02608/1.009, allocations: 18.17 MB / 0.7788 GB, free: 9.09 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/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: 6.5543332658708096]