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.001334/0.001334, allocations: 118 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.5 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 343.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 81.47 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1466, allocations: 62.45 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5262/0.6728, allocations: 181.9 MB / 0.646 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.6806, allocations: 4.649 MB / 0.6506 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.6814, allocations: 23.88 kB / 0.6506 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.6826, allocations: 294.4 kB / 0.6509 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004962/0.6875, allocations: 1.635 MB / 0.6525 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.6902, allocations: 0.8776 MB / 0.6533 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.6927, allocations: 1.711 MB / 0.655 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.6934, allocations: 438.2 kB / 0.6554 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.6951, allocations: 0.8526 MB / 0.6562 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.6958, allocations: 0.5175 MB / 0.6567 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.099e-05/0.6959, allocations: 56 kB / 0.6568 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.6988, allocations: 1.279 MB / 0.658 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.699, allocations: 179.4 kB / 0.6582 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.6995, allocations: 382.3 kB / 0.6586 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.7023, allocations: 1.64 MB / 0.6602 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7023, allocations: 0 / 0.6602 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7023, allocations: 3.938 kB / 0.6602 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.7023, allocations: 0 / 0.6602 GB, free: 14.95 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.002199/0.7045, allocations: 1.114 MB / 0.6613 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.7046, allocations: 8.031 kB / 0.6613 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.7058, allocations: 163 kB / 0.6614 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.7067, allocations: 496.4 kB / 0.6619 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.7068, allocations: 33 kB / 0.6619 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.7069, allocations: 40 kB / 0.662 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.7083, allocations: 0.6464 MB / 0.6626 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.7083, allocations: 3.938 kB / 0.6626 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.7084, allocations: 28 kB / 0.6626 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.7084, allocations: 12 kB / 0.6627 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.7094, allocations: 0.4957 MB / 0.6631 GB, free: 11.79 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.003868/0.7133, allocations: 2.645 MB / 0.6657 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.7141, allocations: 326.7 kB / 0.666 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.7144, allocations: 160.7 kB / 0.6662 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.7149, allocations: 441.5 kB / 0.6666 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.715, allocations: 38.56 kB / 0.6666 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.715, allocations: 3.938 kB / 0.6666 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001833/0.7168, allocations: 0.6976 MB / 0.6673 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.717, allocations: 170.1 kB / 0.6675 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.7178, allocations: 0.5145 MB / 0.668 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.7178, allocations: 29.7 kB / 0.668 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.7181, allocations: 303.6 kB / 0.6683 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.7183, allocations: 126.1 kB / 0.6684 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.7185, allocations: 122.2 kB / 0.6685 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.7188, allocations: 370.7 kB / 0.6689 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.7191, allocations: 137.1 kB / 0.669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.7195, allocations: 322.9 kB / 0.6693 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.7203, allocations: 478.7 kB / 0.6698 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7203, allocations: 0 / 0.6698 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001062/0.7214, allocations: 0.5751 MB / 0.6704 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.7214, allocations: 11.94 kB / 0.6704 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7214, allocations: 4 kB / 0.6704 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.723, allocations: 241.1 kB / 0.6706 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.7234, allocations: 123.8 kB / 0.6707 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005546/0.724, allocations: 0.5797 MB / 0.6713 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.7244, allocations: 63.42 kB / 0.6713 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7245, allocations: 55.92 kB / 0.6714 GB, free: 2.746 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.0003185/0.7249, allocations: 193.7 kB / 0.6716 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.725, allocations: 63.25 kB / 0.6716 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.7274, allocations: 1.107 MB / 0.6727 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.7274, allocations: 11.94 kB / 0.6727 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.7274, allocations: 0 / 0.6727 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7275, allocations: 7.969 kB / 0.6727 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.7292, allocations: 1.002 MB / 0.6737 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7292, allocations: 12.02 kB / 0.6737 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.7294, allocations: 47.92 kB / 0.6738 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/0.7327, allocations: 440.1 kB / 0.6742 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.7327, allocations: 16 kB / 0.6742 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004956/0.7332, allocations: 0.5991 MB / 0.6748 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.7332, allocations: 4.031 kB / 0.6748 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.7341, allocations: 0.4967 MB / 0.6753 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.7342, allocations: 132.4 kB / 0.6754 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.7344, allocations: 16.81 kB / 0.6754 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.7348, allocations: 31.88 kB / 0.6755 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.7348, allocations: 31.91 kB / 0.6755 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.7349, allocations: 16 kB / 0.6755 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006046/0.7355, allocations: 451 kB / 0.6759 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7355, allocations: 0 / 0.6759 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001042/0.7366, allocations: 291.8 kB / 0.6762 GB, free: 13.61 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.00108/0.7376, allocations: 403 kB / 0.6766 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000907/0.7386, allocations: 386 kB / 0.677 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7386, allocations: 4 kB / 0.677 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.7389, allocations: 157.2 kB / 0.6771 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.7408, allocations: 404.8 kB / 0.6775 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.7427, allocations: 1.122 MB / 0.6786 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.7432, allocations: 0.8677 MB / 0.6795 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001371/0.7446, allocations: 0.5709 MB / 0.68 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.7449, allocations: 91.39 kB / 0.6801 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.7449, allocations: 3.938 kB / 0.6801 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of Templates: time 0.03244/0.7773, allocations: 17.08 MB / 0.6968 GB, free: 8.605 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