Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005808/0.005808, allocations: 109.9 kB / 21.98 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.5 MB / 258.9 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2211/0.2211, allocations: 46.92 MB / 362.3 MB, free: 4.207 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 79.86 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5962/0.9286, allocations: 186.9 MB / 0.7452 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005172/0.9338, allocations: 3.695 MB / 0.7489 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.9344, allocations: 22.69 kB / 0.7489 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008318/0.9352, allocations: 329.4 kB / 0.7492 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.9392, allocations: 1.758 MB / 0.7509 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.9408, allocations: 0.7305 MB / 0.7516 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.9425, allocations: 1.557 MB / 0.7531 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.943, allocations: 360 kB / 0.7535 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009058/0.9439, allocations: 0.6042 MB / 0.7541 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.9444, allocations: 488.9 kB / 0.7545 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.9445, allocations: 51.12 kB / 0.7546 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.9482, allocations: 2.417 MB / 0.7569 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.9483, allocations: 157.4 kB / 0.7571 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004323/0.9488, allocations: 351.8 kB / 0.7574 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.9517, allocations: 1.997 MB / 0.7594 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.9518, allocations: 3.406 kB / 0.7594 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9518, allocations: 0 / 0.7594 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.9518, allocations: 1.031 kB / 0.7594 GB, free: 1.516 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.002005/0.9538, allocations: 1.039 MB / 0.7604 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.9538, allocations: 8.594 kB / 0.7604 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/0.9548, allocations: 139.3 kB / 0.7605 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/0.9555, allocations: 433.6 kB / 0.761 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.9555, allocations: 32.03 kB / 0.761 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.9556, allocations: 41 kB / 0.761 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.9566, allocations: 0.5958 MB / 0.7616 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.9566, allocations: 0.9062 kB / 0.7616 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.9566, allocations: 23.05 kB / 0.7616 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.9566, allocations: 11.56 kB / 0.7616 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.9575, allocations: 477.8 kB / 0.7621 GB, free: 16.57 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.002887/0.9603, allocations: 2.621 MB / 0.7647 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.961, allocations: 326.9 kB / 0.765 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.9613, allocations: 159.2 kB / 0.7651 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.9615, allocations: 54.12 kB / 0.7652 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.9616, allocations: 41.45 kB / 0.7652 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.255e-06/0.9616, allocations: 0.9688 kB / 0.7652 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001618/0.9632, allocations: 0.649 MB / 0.7658 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.9633, allocations: 135.6 kB / 0.766 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.9637, allocations: 477.2 kB / 0.7664 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.9638, allocations: 36.7 kB / 0.7665 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.964, allocations: 286.5 kB / 0.7667 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.964, allocations: 115.7 kB / 0.7669 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.9642, allocations: 104.5 kB / 0.767 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.9644, allocations: 373.6 kB / 0.7673 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.9646, allocations: 146.2 kB / 0.7674 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.965, allocations: 275.8 kB / 0.7677 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.9656, allocations: 440 kB / 0.7681 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9656, allocations: 5.516 kB / 0.7681 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009381/0.9665, allocations: 0.5373 MB / 0.7687 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9665, allocations: 9.031 kB / 0.7687 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.9666, allocations: 3.094 kB / 0.7687 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.968, allocations: 238.2 kB / 0.7689 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.9684, allocations: 105.1 kB / 0.769 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005046/0.9689, allocations: 0.5965 MB / 0.7696 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.9692, allocations: 50.08 kB / 0.7696 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.9693, allocations: 46.17 kB / 0.7697 GB, free: 12.91 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.0002581/0.9695, allocations: 186.6 kB / 0.7698 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.9696, allocations: 54.8 kB / 0.7699 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.9713, allocations: 1.094 MB / 0.771 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.9713, allocations: 4.406 kB / 0.771 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9713, allocations: 3.188 kB / 0.771 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.9713, allocations: 3.562 kB / 0.771 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.9726, allocations: 0.9814 MB / 0.7719 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9726, allocations: 3.656 kB / 0.7719 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.9728, allocations: 53.17 kB / 0.772 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/0.9758, allocations: 441.5 kB / 0.7724 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.9758, allocations: 8.031 kB / 0.7724 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004587/0.9763, allocations: 0.6067 MB / 0.773 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9763, allocations: 5.562 kB / 0.773 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.977, allocations: 0.5095 MB / 0.7735 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.9772, allocations: 60.28 kB / 0.7736 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/0.9773, allocations: 19.05 kB / 0.7736 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.9776, allocations: 27.81 kB / 0.7736 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.9776, allocations: 20.88 kB / 0.7736 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.9777, allocations: 17.39 kB / 0.7737 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000456/0.9781, allocations: 411.3 kB / 0.774 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9781, allocations: 3.25 kB / 0.7741 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009618/0.9791, allocations: 332.3 kB / 0.7744 GB, free: 11.32 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.0008374/0.9799, allocations: 439.7 kB / 0.7748 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007421/0.9807, allocations: 358.7 kB / 0.7751 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9807, allocations: 0 / 0.7751 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.981, allocations: 157.1 kB / 0.7753 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.9824, allocations: 361.8 kB / 0.7756 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.9838, allocations: 0.9284 MB / 0.7765 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.9842, allocations: 0.8581 MB / 0.7774 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.9845, allocations: 123.3 kB / 0.7775 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.9845, allocations: 3.188 kB / 0.7775 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of Templates: time 0.02047/1.005, allocations: 15.84 MB / 0.793 GB, free: 5.742 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.361974430968985]