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.001405/0.001405, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001492/0.001492, allocations: 205 kB / 25.12 MB, free: 3.59 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.471/1.471, allocations: 230.4 MB / 258.7 MB, free: 8.078 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.2418/0.2418, allocations: 46.93 MB / 362 MB, free: 4.25 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.002393/0.002393, allocations: 91.84 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3364, allocations: 66.07 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5611/0.8975, allocations: 184.4 MB / 0.7424 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005881/0.9033, allocations: 3.682 MB / 0.746 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.904, allocations: 22.44 kB / 0.746 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.9048, allocations: 325.8 kB / 0.7463 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.9091, allocations: 1.774 MB / 0.748 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.9108, allocations: 0.7189 MB / 0.7487 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.9124, allocations: 1.551 MB / 0.7503 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.9128, allocations: 373.4 kB / 0.7506 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007811/0.9136, allocations: 0.5995 MB / 0.7512 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.9142, allocations: 477.1 kB / 0.7517 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.9143, allocations: 53.11 kB / 0.7517 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.9167, allocations: 1.26 MB / 0.7529 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.9168, allocations: 156.2 kB / 0.7531 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.9172, allocations: 347.8 kB / 0.7534 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.9195, allocations: 1.668 MB / 0.755 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9195, allocations: 1.031 kB / 0.755 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9195, allocations: 0 / 0.755 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.9195, allocations: 0.75 kB / 0.755 GB, free: 1.527 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.001884/0.9214, allocations: 1.039 MB / 0.7561 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9214, allocations: 8.094 kB / 0.7561 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.9224, allocations: 144.7 kB / 0.7562 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.9232, allocations: 428.2 kB / 0.7566 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.9232, allocations: 31.41 kB / 0.7566 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.9233, allocations: 39.41 kB / 0.7567 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.9244, allocations: 0.8998 MB / 0.7576 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.9245, allocations: 0.9688 kB / 0.7576 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.9245, allocations: 21.91 kB / 0.7576 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.9245, allocations: 11.38 kB / 0.7576 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.9253, allocations: 483.3 kB / 0.7581 GB, free: 16.22 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.003027/0.9284, allocations: 2.612 MB / 0.7606 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.929, allocations: 329.6 kB / 0.7609 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.9293, allocations: 156.7 kB / 0.7611 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.9296, allocations: 59.14 kB / 0.7611 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.9297, allocations: 35.19 kB / 0.7612 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.9297, allocations: 0 / 0.7612 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001652/0.9313, allocations: 0.6546 MB / 0.7618 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.9314, allocations: 134.5 kB / 0.7619 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/0.932, allocations: 478.4 kB / 0.7624 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.9321, allocations: 32.64 kB / 0.7624 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.9323, allocations: 284.7 kB / 0.7627 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.9324, allocations: 120.5 kB / 0.7628 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.9325, allocations: 102.5 kB / 0.7629 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.9327, allocations: 364.5 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.933, allocations: 151 kB / 0.7634 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.9335, allocations: 360.6 kB / 0.7637 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.9341, allocations: 441.7 kB / 0.7642 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.9341, allocations: 4.312 kB / 0.7642 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009729/0.9351, allocations: 0.5411 MB / 0.7647 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9351, allocations: 3.438 kB / 0.7647 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.9351, allocations: 5.797 kB / 0.7647 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.9366, allocations: 240.3 kB / 0.7649 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.9369, allocations: 103.8 kB / 0.765 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005376/0.9374, allocations: 0.6006 MB / 0.7656 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.9379, allocations: 47.52 kB / 0.7657 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.9379, allocations: 47.22 kB / 0.7657 GB, free: 12.45 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.0003756/0.9383, allocations: 184.6 kB / 0.7659 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.9385, allocations: 56.75 kB / 0.7659 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.9405, allocations: 1.092 MB / 0.767 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.9405, allocations: 11.39 kB / 0.767 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9405, allocations: 0.8438 kB / 0.767 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9405, allocations: 0 / 0.767 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.942, allocations: 0.9882 MB / 0.768 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.942, allocations: 0 / 0.768 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.9422, allocations: 56.3 kB / 0.768 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/0.9453, allocations: 436.9 kB / 0.7684 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.9453, allocations: 12.44 kB / 0.7685 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006433/0.946, allocations: 0.6051 MB / 0.769 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.946, allocations: 5.141 kB / 0.7691 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.9471, allocations: 0.5102 MB / 0.7696 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.9473, allocations: 56.98 kB / 0.7696 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.9474, allocations: 17.67 kB / 0.7696 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.9477, allocations: 18.42 kB / 0.7696 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.9478, allocations: 30.55 kB / 0.7697 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.9479, allocations: 17.41 kB / 0.7697 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006279/0.9485, allocations: 408.9 kB / 0.7701 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9485, allocations: 0 / 0.7701 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001403/0.9499, allocations: 338.1 kB / 0.7704 GB, free: 10.87 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.001137/0.9511, allocations: 443.1 kB / 0.7708 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000967/0.952, allocations: 355.5 kB / 0.7712 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.952, allocations: 3.375 kB / 0.7712 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.9523, allocations: 150 kB / 0.7713 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.954, allocations: 370.8 kB / 0.7717 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.9557, allocations: 0.9088 MB / 0.7725 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.9562, allocations: 0.8553 MB / 0.7734 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00107/0.9573, allocations: 0.5571 MB / 0.7739 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.9575, allocations: 88.69 kB / 0.774 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/0.9575, allocations: 0 / 0.774 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of Templates: time 0.03033/0.9878, allocations: 18.38 MB / 0.792 GB, free: 4.988 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 -s gbode -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: 6.289912641048431]