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.000961/0.000961, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2127, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4543/0.578, allocations: 179.6 MB / 0.6471 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.5853, allocations: 4.667 MB / 0.6517 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007885/0.5861, allocations: 15.88 kB / 0.6517 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5872, allocations: 294.4 kB / 0.652 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.5926, allocations: 1.561 MB / 0.6535 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.5951, allocations: 0.8703 MB / 0.6544 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.5978, allocations: 2.202 MB / 0.6565 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.5985, allocations: 381.9 kB / 0.6569 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.5999, allocations: 0.7784 MB / 0.6577 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.6006, allocations: 0.4941 MB / 0.6581 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.6007, allocations: 28 kB / 0.6582 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.6031, allocations: 1.213 MB / 0.6593 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.6033, allocations: 155.4 kB / 0.6595 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.6037, allocations: 380 kB / 0.6599 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.6061, allocations: 1.589 MB / 0.6614 GB, free: 2.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6061, allocations: 3.938 kB / 0.6614 GB, free: 2.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.6061, allocations: 0 / 0.6614 GB, free: 2.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.6062, allocations: 0 / 0.6614 GB, free: 2.355 MB / 494.1 MB 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.001816/0.608, allocations: 0.9583 MB / 0.6623 GB, free: 1.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.6081, allocations: 8.031 kB / 0.6624 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.6093, allocations: 163.9 kB / 0.6625 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.61, allocations: 492.3 kB / 0.663 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.6101, allocations: 33 kB / 0.663 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.6102, allocations: 48 kB / 0.6631 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.6113, allocations: 0.6439 MB / 0.6637 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.6114, allocations: 7.875 kB / 0.6637 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.6114, allocations: 20 kB / 0.6637 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.6115, allocations: 12 kB / 0.6637 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.6124, allocations: 0.4957 MB / 0.6642 GB, free: 15.35 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.003115/0.6155, allocations: 2.656 MB / 0.6668 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.6162, allocations: 330.7 kB / 0.6671 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.6165, allocations: 160.7 kB / 0.6673 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/0.6169, allocations: 441.5 kB / 0.6677 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.617, allocations: 38.56 kB / 0.6677 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.617, allocations: 0 / 0.6677 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001603/0.6186, allocations: 0.7132 MB / 0.6684 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.6187, allocations: 166.1 kB / 0.6686 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.6193, allocations: 0.5184 MB / 0.6691 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.6193, allocations: 37.7 kB / 0.6691 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.6196, allocations: 291.7 kB / 0.6694 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.6197, allocations: 134.1 kB / 0.6695 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.6197, allocations: 37.7 kB / 0.6696 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6199, allocations: 370.8 kB / 0.6699 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.6202, allocations: 145.1 kB / 0.6701 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.6206, allocations: 322.9 kB / 0.6704 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.6212, allocations: 478.9 kB / 0.6708 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6213, allocations: 0 / 0.6708 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009539/0.6222, allocations: 0.5828 MB / 0.6714 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6223, allocations: 11.94 kB / 0.6714 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6223, allocations: 4.625 kB / 0.6714 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.6239, allocations: 296.5 kB / 0.6717 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.6243, allocations: 115.9 kB / 0.6718 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004669/0.6248, allocations: 0.5836 MB / 0.6724 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.6252, allocations: 67.36 kB / 0.6724 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.231e-05/0.6253, allocations: 55.98 kB / 0.6725 GB, free: 6.285 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.0002793/0.6256, allocations: 201 kB / 0.6727 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.6257, allocations: 63.31 kB / 0.6727 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.6278, allocations: 1.103 MB / 0.6738 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6278, allocations: 4 kB / 0.6738 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6278, allocations: 0 / 0.6738 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.6279, allocations: 7.984 kB / 0.6738 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.6293, allocations: 1.006 MB / 0.6748 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6293, allocations: 15.95 kB / 0.6748 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.6295, allocations: 51.92 kB / 0.6749 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/0.6329, allocations: 0.5353 MB / 0.6754 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.633, allocations: 12 kB / 0.6754 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004287/0.6334, allocations: 0.5914 MB / 0.676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6334, allocations: 7.969 kB / 0.676 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.6341, allocations: 0.5084 MB / 0.6765 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.6343, allocations: 164.2 kB / 0.6766 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6345, allocations: 8 kB / 0.6767 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.6349, allocations: 39.92 kB / 0.6767 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.635, allocations: 27.91 kB / 0.6767 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.635, allocations: 19.98 kB / 0.6767 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005723/0.6356, allocations: 451 kB / 0.6772 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6356, allocations: 0 / 0.6772 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001034/0.6366, allocations: 295.8 kB / 0.6775 GB, free: 1 MB / 0.4981 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.001102/0.6377, allocations: 386 kB / 0.6778 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008155/0.6386, allocations: 377.5 kB / 0.6782 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6386, allocations: 4 kB / 0.6782 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.6389, allocations: 145.8 kB / 0.6783 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.6411, allocations: 391.2 kB / 0.6787 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.6428, allocations: 1.16 MB / 0.6798 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.6433, allocations: 0.8715 MB / 0.6807 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001421/0.6447, allocations: 0.5675 MB / 0.6812 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.645, allocations: 99.39 kB / 0.6813 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.645, allocations: 0 / 0.6813 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.02878/0.6738, allocations: 16.41 MB / 0.6974 GB, free: 12.66 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/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