Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.4 MB / 246.3 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.62 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 62.45 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4575/0.5772, allocations: 184 MB / 0.6477 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006451/0.5837, allocations: 3.795 MB / 0.6514 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008775/0.5846, allocations: 19.88 kB / 0.6515 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.5859, allocations: 270.5 kB / 0.6517 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.5908, allocations: 1.53 MB / 0.6532 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.593, allocations: 0.6522 MB / 0.6538 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003245/0.5963, allocations: 2.027 MB / 0.6558 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/0.5969, allocations: 356.2 kB / 0.6562 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009726/0.5979, allocations: 0.5214 MB / 0.6567 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.5986, allocations: 474 kB / 0.6571 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.5987, allocations: 32 kB / 0.6572 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.6027, allocations: 1.833 MB / 0.6589 GB, free: 236 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.603, allocations: 135.5 kB / 0.6591 GB, free: 100 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004981/0.6035, allocations: 334.5 kB / 0.6594 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.6063, allocations: 1.788 MB / 0.6611 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6064, allocations: 0 / 0.6611 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6064, allocations: 0 / 0.6611 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.6064, allocations: 0 / 0.6611 GB, free: 13.98 MB / 0.4981 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.002206/0.6086, allocations: 1.083 MB / 0.6622 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.6087, allocations: 11.97 kB / 0.6622 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.6097, allocations: 155.1 kB / 0.6624 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.6105, allocations: 460.5 kB / 0.6628 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.6106, allocations: 32.94 kB / 0.6628 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.6107, allocations: 39.94 kB / 0.6629 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.6119, allocations: 0.5945 MB / 0.6634 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.6119, allocations: 7.875 kB / 0.6634 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.612, allocations: 24 kB / 0.6635 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.612, allocations: 8 kB / 0.6635 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009662/0.613, allocations: 471.6 kB / 0.6639 GB, free: 10.99 MB / 0.4981 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.003099/0.6161, allocations: 2.643 MB / 0.6665 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/0.6168, allocations: 346.1 kB / 0.6668 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.6172, allocations: 173.3 kB / 0.667 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.6177, allocations: 433.8 kB / 0.6674 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.6178, allocations: 42.84 kB / 0.6675 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.6178, allocations: 0 / 0.6675 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001788/0.6196, allocations: 0.7109 MB / 0.6682 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.6197, allocations: 140.5 kB / 0.6683 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.6203, allocations: 461.9 kB / 0.6687 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.6204, allocations: 33.7 kB / 0.6688 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.6206, allocations: 275.8 kB / 0.669 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.906e-05/0.6207, allocations: 118.3 kB / 0.6691 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.6208, allocations: 98.11 kB / 0.6692 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.621, allocations: 358.8 kB / 0.6696 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.6214, allocations: 152.8 kB / 0.6697 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.6218, allocations: 275.7 kB / 0.67 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.6225, allocations: 437.6 kB / 0.6704 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6225, allocations: 0 / 0.6704 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009934/0.6235, allocations: 0.5407 MB / 0.6709 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6235, allocations: 7.938 kB / 0.6709 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.6235, allocations: 4 kB / 0.6709 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.6252, allocations: 240.5 kB / 0.6712 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.6256, allocations: 103.9 kB / 0.6713 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004572/0.626, allocations: 0.5836 MB / 0.6718 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.6264, allocations: 71.47 kB / 0.6719 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.6265, allocations: 44 kB / 0.6719 GB, free: 2.211 MB / 0.4981 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.000298/0.6268, allocations: 181.6 kB / 0.6721 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.6269, allocations: 55.42 kB / 0.6722 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.6289, allocations: 1.085 MB / 0.6732 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6289, allocations: 4 kB / 0.6732 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6289, allocations: 0 / 0.6732 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.629, allocations: 7.984 kB / 0.6732 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.6304, allocations: 1.007 MB / 0.6742 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.6304, allocations: 160 / 0.6742 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.6307, allocations: 59.91 kB / 0.6743 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/0.6341, allocations: 436.2 kB / 0.6747 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.6341, allocations: 8 kB / 0.6747 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000436/0.6345, allocations: 0.6078 MB / 0.6753 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6346, allocations: 4.031 kB / 0.6753 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.6353, allocations: 0.5004 MB / 0.6758 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.6355, allocations: 140.3 kB / 0.6759 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.6356, allocations: 20 kB / 0.6759 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.636, allocations: 31.97 kB / 0.676 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.6361, allocations: 23.97 kB / 0.676 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.6361, allocations: 19.94 kB / 0.676 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004851/0.6366, allocations: 402.8 kB / 0.6764 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6366, allocations: 0 / 0.6764 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009591/0.6376, allocations: 347.5 kB / 0.6767 GB, free: 13.12 MB / 0.5137 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.00101/0.6386, allocations: 445.9 kB / 0.6772 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008314/0.6394, allocations: 364.5 kB / 0.6775 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6394, allocations: 0 / 0.6775 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.6398, allocations: 163.8 kB / 0.6777 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.6415, allocations: 348.6 kB / 0.678 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.6429, allocations: 1.061 MB / 0.679 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.6432, allocations: 0.8596 MB / 0.6799 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001134/0.6444, allocations: 0.5517 MB / 0.6804 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.6447, allocations: 91.39 kB / 0.6805 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/0.6447, allocations: 0 / 0.6805 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.02426/0.6689, allocations: 16.94 MB / 0.697 GB, free: 8.355 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches