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.EdgedBend.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.001324/0.001324, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001461/0.001461, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.451/1.451, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2294/0.2294, allocations: 46.89 MB / 361.1 MB, free: 4.727 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.EdgedBend,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.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,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.EdgedBend") [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.002359/0.002359, allocations: 83.86 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3358, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5326/0.8683, allocations: 186.8 MB / 0.7437 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005353/0.8737, allocations: 3.698 MB / 0.7473 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.8743, allocations: 17.38 kB / 0.7473 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.8751, allocations: 322.3 kB / 0.7476 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.8793, allocations: 1.74 MB / 0.7493 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.8809, allocations: 0.721 MB / 0.75 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.8824, allocations: 1.528 MB / 0.7515 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.8828, allocations: 369.6 kB / 0.7518 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.8835, allocations: 0.5855 MB / 0.7524 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.884, allocations: 483.8 kB / 0.7529 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.8841, allocations: 51.72 kB / 0.7529 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.8871, allocations: 1.935 MB / 0.7548 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.8873, allocations: 159.9 kB / 0.755 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.8877, allocations: 343.8 kB / 0.7553 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.8905, allocations: 1.833 MB / 0.7571 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8905, allocations: 0.6875 kB / 0.7571 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8905, allocations: 0 / 0.7571 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.8905, allocations: 0.7812 kB / 0.7571 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.002047/0.8926, allocations: 1.105 MB / 0.7582 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.8926, allocations: 8.859 kB / 0.7582 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.8936, allocations: 145.8 kB / 0.7583 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.8944, allocations: 486.5 kB / 0.7588 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.8945, allocations: 34.86 kB / 0.7588 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.8945, allocations: 40.53 kB / 0.7588 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009699/0.8955, allocations: 0.5856 MB / 0.7594 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.8955, allocations: 0.9375 kB / 0.7594 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.8956, allocations: 24.8 kB / 0.7594 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.8956, allocations: 14.12 kB / 0.7595 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.8964, allocations: 474.2 kB / 0.7599 GB, free: 16.44 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.002951/0.8993, allocations: 2.644 MB / 0.7625 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.9, allocations: 330.7 kB / 0.7628 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.9003, allocations: 150.4 kB / 0.7629 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.9008, allocations: 440.1 kB / 0.7634 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.9008, allocations: 42.7 kB / 0.7634 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.9008, allocations: 0.9375 kB / 0.7634 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001667/0.9025, allocations: 0.7171 MB / 0.7641 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.9025, allocations: 131.8 kB / 0.7642 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.903, allocations: 464.1 kB / 0.7647 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.9031, allocations: 37.92 kB / 0.7647 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.9033, allocations: 282.1 kB / 0.765 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.9033, allocations: 119.6 kB / 0.7651 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.9035, allocations: 104.6 kB / 0.7652 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9037, allocations: 361.2 kB / 0.7655 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.9039, allocations: 148 kB / 0.7657 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.9043, allocations: 282.8 kB / 0.7659 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.9049, allocations: 437.9 kB / 0.7664 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9049, allocations: 0.9375 kB / 0.7664 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009188/0.9058, allocations: 0.5382 MB / 0.7669 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.9059, allocations: 7.406 kB / 0.7669 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.9059, allocations: 4.125 kB / 0.7669 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.9074, allocations: 237.1 kB / 0.7671 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.9077, allocations: 105.9 kB / 0.7672 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004842/0.9082, allocations: 0.5939 MB / 0.7678 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.9086, allocations: 50.58 kB / 0.7679 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.9087, allocations: 47.48 kB / 0.7679 GB, free: 12.17 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.0002911/0.909, allocations: 181 kB / 0.7681 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.9091, allocations: 54.92 kB / 0.7681 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.9108, allocations: 1.073 MB / 0.7692 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.9108, allocations: 11.06 kB / 0.7692 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9108, allocations: 0 / 0.7692 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.9109, allocations: 4.938 kB / 0.7692 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.9123, allocations: 1.011 MB / 0.7702 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9123, allocations: 2.281 kB / 0.7702 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.9125, allocations: 56.44 kB / 0.7702 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/0.9156, allocations: 429.5 kB / 0.7706 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.9156, allocations: 10.25 kB / 0.7707 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004761/0.9161, allocations: 0.6059 MB / 0.7712 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9161, allocations: 2.031 kB / 0.7712 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.9168, allocations: 0.5015 MB / 0.7717 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.917, allocations: 140.9 kB / 0.7719 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.9171, allocations: 8.469 kB / 0.7719 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.9174, allocations: 23.19 kB / 0.7719 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.9175, allocations: 26.06 kB / 0.7719 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.9175, allocations: 17.94 kB / 0.7719 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004528/0.918, allocations: 398.7 kB / 0.7723 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.918, allocations: 0.8438 kB / 0.7723 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001223/0.9192, allocations: 343.6 kB / 0.7727 GB, free: 10.47 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.001105/0.9203, allocations: 463.9 kB / 0.7731 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.9212, allocations: 358.6 kB / 0.7734 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9212, allocations: 2.469 kB / 0.7734 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.9215, allocations: 150.3 kB / 0.7736 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.9232, allocations: 376 kB / 0.7739 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.9246, allocations: 0.8973 MB / 0.7748 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.9251, allocations: 0.8583 MB / 0.7757 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008789/0.9259, allocations: 0.5465 MB / 0.7762 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.9262, allocations: 83.97 kB / 0.7763 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.9262, allocations: 2.5 kB / 0.7763 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of Templates: time 0.02891/0.9551, allocations: 17.88 MB / 0.7937 GB, free: 4.242 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.309060902800411]