Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 103.5 kB / 17.98 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 209.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.109/2.109, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5841/0.5841, allocations: 46.1 MB / 344.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 75.22 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3062, allocations: 62.45 MB / 480.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 1.206/1.512, allocations: 181.9 MB / 0.6466 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/1.525, allocations: 4.651 MB / 0.6511 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/1.527, allocations: 19.88 kB / 0.6511 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/1.529, allocations: 306.4 kB / 0.6514 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009745/1.539, allocations: 1.633 MB / 0.653 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004915/1.544, allocations: 0.8879 MB / 0.6539 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004353/1.549, allocations: 1.703 MB / 0.6555 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/1.55, allocations: 430.2 kB / 0.656 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/1.553, allocations: 0.8565 MB / 0.6568 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/1.555, allocations: 0.5292 MB / 0.6573 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003512/1.555, allocations: 56 kB / 0.6574 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005345/1.561, allocations: 1.271 MB / 0.6586 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005459/1.561, allocations: 175.4 kB / 0.6588 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/1.563, allocations: 382.3 kB / 0.6591 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/1.566, allocations: 1.181 MB / 0.6603 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/1.567, allocations: 0 / 0.6603 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.655e-06/1.567, allocations: 0 / 0.6603 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.297e-05/1.567, allocations: 0 / 0.6603 GB, free: 15.54 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00487/1.571, allocations: 1.106 MB / 0.6614 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/1.572, allocations: 8.031 kB / 0.6614 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/1.574, allocations: 175 kB / 0.6615 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/1.576, allocations: 496.4 kB / 0.662 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/1.576, allocations: 33 kB / 0.662 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/1.576, allocations: 44 kB / 0.6621 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/1.579, allocations: 0.6438 MB / 0.6627 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/1.579, allocations: 3.938 kB / 0.6627 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/1.579, allocations: 27.94 kB / 0.6627 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/1.579, allocations: 11.98 kB / 0.6628 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/1.581, allocations: 499.6 kB / 0.6632 GB, free: 12.38 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.006378/1.587, allocations: 2.648 MB / 0.6658 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/1.589, allocations: 326.7 kB / 0.6661 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/1.589, allocations: 160.7 kB / 0.6663 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/1.59, allocations: 445.5 kB / 0.6667 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/1.59, allocations: 38.56 kB / 0.6667 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 6.101e-06/1.59, allocations: 0 / 0.6667 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.003082/1.593, allocations: 0.7093 MB / 0.6674 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/1.594, allocations: 162.1 kB / 0.6676 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/1.595, allocations: 0.5145 MB / 0.6681 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.595, allocations: 33.7 kB / 0.6681 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/1.596, allocations: 303.6 kB / 0.6684 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/1.596, allocations: 134.1 kB / 0.6685 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/1.596, allocations: 110.2 kB / 0.6687 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003452/1.597, allocations: 366.8 kB / 0.669 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/1.597, allocations: 149.1 kB / 0.6691 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009834/1.598, allocations: 322.9 kB / 0.6695 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.6, allocations: 474.7 kB / 0.6699 GB, free: 5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.6, allocations: 4 kB / 0.6699 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002592/1.602, allocations: 0.5716 MB / 0.6705 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/1.602, allocations: 7.938 kB / 0.6705 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/1.603, allocations: 8 kB / 0.6705 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/1.605, allocations: 236.8 kB / 0.6707 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/1.606, allocations: 123.8 kB / 0.6708 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/1.607, allocations: 0.5836 MB / 0.6714 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/1.608, allocations: 63.42 kB / 0.6715 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.608, allocations: 56.02 kB / 0.6715 GB, free: 3.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.0005529/1.609, allocations: 193.6 kB / 0.6717 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003285/1.609, allocations: 67.31 kB / 0.6718 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/1.612, allocations: 1.105 MB / 0.6728 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.612, allocations: 4 kB / 0.6728 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/1.612, allocations: 7.297 kB / 0.6729 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.612, allocations: 3.938 kB / 0.6729 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/1.615, allocations: 1.006 MB / 0.6738 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.615, allocations: 0 / 0.6738 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/1.615, allocations: 51.92 kB / 0.6739 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004613/1.62, allocations: 448.3 kB / 0.6743 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/1.62, allocations: 8 kB / 0.6743 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007318/1.621, allocations: 0.603 MB / 0.6749 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.621, allocations: 4.031 kB / 0.6749 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/1.622, allocations: 0.4967 MB / 0.6754 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/1.623, allocations: 136.4 kB / 0.6755 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/1.623, allocations: 15.94 kB / 0.6755 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/1.624, allocations: 31.88 kB / 0.6756 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.624, allocations: 23.91 kB / 0.6756 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/1.624, allocations: 19.98 kB / 0.6756 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001016/1.625, allocations: 455 kB / 0.676 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.524e-06/1.625, allocations: 0 / 0.676 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001661/1.627, allocations: 291.7 kB / 0.6763 GB, free: 14.19 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001807/1.628, allocations: 395.3 kB / 0.6767 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00152/1.63, allocations: 382 kB / 0.6771 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.63, allocations: 0 / 0.6771 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005052/1.63, allocations: 165.4 kB / 0.6772 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.634, allocations: 403 kB / 0.6776 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/1.636, allocations: 1.151 MB / 0.6787 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/1.637, allocations: 0.8598 MB / 0.6796 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/1.638, allocations: 143.3 kB / 0.6797 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/1.638, allocations: 0 / 0.6797 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.04092/1.679, allocations: 15.57 MB / 0.6949 GB, free: 11.14 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches