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.00182/0.00182, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.002206/0.002206, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.461/1.461, allocations: 230.3 MB / 255.2 MB, free: 15.17 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.2438/0.2438, allocations: 46.92 MB / 358.2 MB, free: 10.39 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.002316/0.002316, allocations: 87.84 kB / 0.4925 GB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 66 MB / 0.557 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5095/0.6404, allocations: 186.6 MB / 0.7392 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006202/0.6466, allocations: 3.67 MB / 0.7428 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.6472, allocations: 23.75 kB / 0.7428 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.6481, allocations: 317.9 kB / 0.7431 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004361/0.6525, allocations: 1.75 MB / 0.7448 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.6544, allocations: 0.7168 MB / 0.7455 GB, free: 108 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.6565, allocations: 1.524 MB / 0.747 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006065/0.6571, allocations: 371.3 kB / 0.7473 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009614/0.658, allocations: 0.6073 MB / 0.7479 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.6587, allocations: 474.1 kB / 0.7484 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.695e-05/0.6588, allocations: 55.98 kB / 0.7484 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.6623, allocations: 1.938 MB / 0.7503 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.6626, allocations: 159.4 kB / 0.7505 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.663, allocations: 346.5 kB / 0.7508 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.6661, allocations: 1.834 MB / 0.7526 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6661, allocations: 4 kB / 0.7526 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6661, allocations: 0 / 0.7526 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.6661, allocations: 0 / 0.7526 GB, free: 8.797 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.002205/0.6683, allocations: 1.104 MB / 0.7537 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6684, allocations: 12.03 kB / 0.7537 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.6694, allocations: 147.5 kB / 0.7538 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000895/0.6703, allocations: 484.8 kB / 0.7543 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.6703, allocations: 33 kB / 0.7543 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.6704, allocations: 39.94 kB / 0.7544 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.6717, allocations: 0.5867 MB / 0.755 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.6717, allocations: 4 kB / 0.755 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.6717, allocations: 16 kB / 0.755 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.6718, allocations: 12 kB / 0.755 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009936/0.6728, allocations: 475.6 kB / 0.7554 GB, free: 5.781 MB / 0.5606 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.003351/0.6761, allocations: 2.659 MB / 0.758 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/0.6769, allocations: 315.5 kB / 0.7583 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.6772, allocations: 153.3 kB / 0.7585 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004491/0.6777, allocations: 437.8 kB / 0.7589 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6777, allocations: 43.47 kB / 0.7589 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.6777, allocations: 0 / 0.7589 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001897/0.6796, allocations: 0.7151 MB / 0.7596 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.6797, allocations: 132.5 kB / 0.7598 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.6803, allocations: 470 kB / 0.7602 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.6803, allocations: 29.7 kB / 0.7602 GB, free: 468 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.6805, allocations: 284.2 kB / 0.7605 GB, free: 180 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.6806, allocations: 119 kB / 0.7606 GB, free: 60 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.6808, allocations: 106.1 kB / 0.7607 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.681, allocations: 358.8 kB / 0.7611 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.6814, allocations: 152.8 kB / 0.7612 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.6818, allocations: 275.7 kB / 0.7615 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.6826, allocations: 437.6 kB / 0.7619 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6826, allocations: 0 / 0.7619 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00113/0.6838, allocations: 0.5369 MB / 0.7624 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6838, allocations: 19.86 kB / 0.7624 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6838, allocations: 7.625 kB / 0.7624 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.6854, allocations: 232.8 kB / 0.7627 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.6858, allocations: 99.88 kB / 0.7628 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005257/0.6863, allocations: 0.5991 MB / 0.7633 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.6867, allocations: 51.66 kB / 0.7634 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/0.6867, allocations: 43.98 kB / 0.7634 GB, free: 13.02 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.0002806/0.687, allocations: 181.6 kB / 0.7636 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6871, allocations: 55.67 kB / 0.7637 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.6891, allocations: 1.078 MB / 0.7647 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6892, allocations: 7.984 kB / 0.7647 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6892, allocations: 0 / 0.7647 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.6892, allocations: 0 / 0.7647 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.6908, allocations: 1.007 MB / 0.7657 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6908, allocations: 8.562 kB / 0.7657 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.691, allocations: 55.91 kB / 0.7658 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/0.6943, allocations: 429.4 kB / 0.7662 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.6943, allocations: 15.98 kB / 0.7662 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005198/0.6948, allocations: 0.5954 MB / 0.7668 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6948, allocations: 4.031 kB / 0.7668 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.6958, allocations: 0.51 MB / 0.7673 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.696, allocations: 136.6 kB / 0.7674 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.6961, allocations: 12.83 kB / 0.7674 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.6964, allocations: 15.98 kB / 0.7674 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.6965, allocations: 27.91 kB / 0.7675 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.6965, allocations: 23.92 kB / 0.7675 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005591/0.6971, allocations: 398.8 kB / 0.7679 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6971, allocations: 0 / 0.7679 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001088/0.6981, allocations: 347 kB / 0.7682 GB, free: 7.969 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.0009945/0.6991, allocations: 445.7 kB / 0.7686 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009271/0.7001, allocations: 357 kB / 0.769 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7001, allocations: 4 kB / 0.769 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.7004, allocations: 147.8 kB / 0.7691 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.7022, allocations: 369.7 kB / 0.7695 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.7038, allocations: 0.9303 MB / 0.7704 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.7043, allocations: 0.8557 MB / 0.7712 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.7047, allocations: 123.4 kB / 0.7713 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7047, allocations: 0 / 0.7713 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of Templates: time 0.02345/0.7281, allocations: 15.47 MB / 0.7864 GB, free: 5.258 MB / 0.5919 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 10.993041580004501]