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.001406/0.001406, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002219, allocations: 83.16 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1614, allocations: 62.46 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4787/0.6402, allocations: 186 MB / 0.6505 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006534/0.6468, allocations: 3.651 MB / 0.654 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006868/0.6475, allocations: 15.88 kB / 0.6541 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009845/0.6485, allocations: 313.9 kB / 0.6544 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.653, allocations: 1.728 MB / 0.656 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.655, allocations: 0.7254 MB / 0.6568 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.6571, allocations: 1.52 MB / 0.6582 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006307/0.6578, allocations: 423.5 kB / 0.6586 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/0.6587, allocations: 0.576 MB / 0.6592 GB, free: 140 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.6593, allocations: 446.3 kB / 0.6596 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.597e-05/0.6594, allocations: 55.98 kB / 0.6597 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.6633, allocations: 1.883 MB / 0.6615 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.6636, allocations: 159.5 kB / 0.6617 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.6642, allocations: 342.5 kB / 0.662 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.6675, allocations: 1.816 MB / 0.6638 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6675, allocations: 0 / 0.6638 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6675, allocations: 0 / 0.6638 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.6675, allocations: 0 / 0.6638 GB, free: 11.45 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.002154/0.6697, allocations: 1.083 MB / 0.6648 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6697, allocations: 8.031 kB / 0.6648 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009645/0.6707, allocations: 143.1 kB / 0.665 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.6715, allocations: 460.5 kB / 0.6654 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.6715, allocations: 33 kB / 0.6655 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/0.6716, allocations: 39.94 kB / 0.6655 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.6729, allocations: 0.5906 MB / 0.6661 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6729, allocations: 0 / 0.6661 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.673, allocations: 24 kB / 0.6661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.673, allocations: 8 kB / 0.6661 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.6739, allocations: 471.6 kB / 0.6665 GB, free: 8.48 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.003692/0.6776, allocations: 2.667 MB / 0.6692 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.6784, allocations: 343.5 kB / 0.6695 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.6787, allocations: 177.3 kB / 0.6696 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005255/0.6793, allocations: 429.9 kB / 0.6701 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.6793, allocations: 42.78 kB / 0.6701 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.6793, allocations: 0 / 0.6701 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001956/0.6813, allocations: 0.7148 MB / 0.6708 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.6814, allocations: 132.5 kB / 0.6709 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.682, allocations: 470 kB / 0.6714 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.6821, allocations: 33.7 kB / 0.6714 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.6823, allocations: 279.8 kB / 0.6717 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6825, allocations: 114.4 kB / 0.6718 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.6827, allocations: 102 kB / 0.6719 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6828, allocations: 358.8 kB / 0.6722 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.6832, allocations: 148.7 kB / 0.6724 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.6836, allocations: 277.9 kB / 0.6726 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.6844, allocations: 433.6 kB / 0.673 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6844, allocations: 0 / 0.673 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001096/0.6855, allocations: 0.5456 MB / 0.6736 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6856, allocations: 7.938 kB / 0.6736 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6856, allocations: 4 kB / 0.6736 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.6872, allocations: 244.9 kB / 0.6738 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.6875, allocations: 99.89 kB / 0.6739 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005781/0.6881, allocations: 0.5836 MB / 0.6745 GB, free: 15.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.6885, allocations: 51.52 kB / 0.6745 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.6886, allocations: 47.98 kB / 0.6746 GB, free: 15.69 MB / 0.5138 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.0003333/0.6889, allocations: 185.7 kB / 0.6748 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.6891, allocations: 55.34 kB / 0.6748 GB, free: 15.44 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.6913, allocations: 1.084 MB / 0.6759 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6913, allocations: 4 kB / 0.6759 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6913, allocations: 0 / 0.6759 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6913, allocations: 3.938 kB / 0.6759 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.6929, allocations: 1.01 MB / 0.6769 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6929, allocations: 0 / 0.6769 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.6931, allocations: 55.91 kB / 0.6769 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/0.6964, allocations: 437.2 kB / 0.6773 GB, free: 12.76 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.6965, allocations: 12 kB / 0.6773 GB, free: 12.75 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005309/0.697, allocations: 0.6041 MB / 0.6779 GB, free: 12.12 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.697, allocations: 0 / 0.6779 GB, free: 12.12 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.698, allocations: 0.5118 MB / 0.6784 GB, free: 11.57 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.6982, allocations: 136.4 kB / 0.6786 GB, free: 11.42 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6983, allocations: 11.94 kB / 0.6786 GB, free: 11.41 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.6986, allocations: 19.98 kB / 0.6786 GB, free: 11.39 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.6987, allocations: 27.91 kB / 0.6786 GB, free: 11.36 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.6988, allocations: 23.92 kB / 0.6786 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0005468/0.6993, allocations: 398.8 kB / 0.679 GB, free: 10.95 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6993, allocations: 0 / 0.679 GB, free: 10.95 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.001019/0.7003, allocations: 335.7 kB / 0.6793 GB, free: 10.62 MB / 0.5138 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.001072/0.7014, allocations: 447.2 kB / 0.6798 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0009636/0.7024, allocations: 392.7 kB / 0.6801 GB, free: 9.797 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.7024, allocations: 3.938 kB / 0.6801 GB, free: 9.793 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.7028, allocations: 163.8 kB / 0.6803 GB, free: 9.633 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.7045, allocations: 364.3 kB / 0.6807 GB, free: 9.289 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.706, allocations: 0.8921 MB / 0.6815 GB, free: 8.355 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.7065, allocations: 0.8557 MB / 0.6824 GB, free: 7.473 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001232/0.7078, allocations: 0.5626 MB / 0.6829 GB, free: 6.914 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.708, allocations: 91.39 kB / 0.683 GB, free: 6.824 MB / 0.5138 GB Notification: Performance of SimCode: time 6.01e-07/0.7081, allocations: 0 / 0.683 GB, free: 6.824 MB / 0.5138 GB Notification: Performance of Templates: time 0.03347/0.7415, allocations: 17.59 MB / 0.7002 GB, free: 5.344 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