Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 243 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2827/0.2827, allocations: 44.2 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 61.3 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1212, allocations: 60.84 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4837/0.605, allocations: 181.1 MB / 0.6366 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007078/0.6121, allocations: 4.599 MB / 0.6411 GB, free: 6.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005502/0.6127, allocations: 15.88 kB / 0.6411 GB, free: 6.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009253/0.6137, allocations: 337.8 kB / 0.6414 GB, free: 5.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.6179, allocations: 1.783 MB / 0.6431 GB, free: 4.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.6203, allocations: 0.945 MB / 0.6441 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.6223, allocations: 1.691 MB / 0.6457 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005798/0.6229, allocations: 455.8 kB / 0.6461 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.6244, allocations: 0.8331 MB / 0.647 GB, free: 252 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.625, allocations: 498.1 kB / 0.6474 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.6251, allocations: 56 kB / 0.6475 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.6274, allocations: 1.295 MB / 0.6488 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.6276, allocations: 171.5 kB / 0.6489 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.628, allocations: 374.3 kB / 0.6493 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.6299, allocations: 1.636 MB / 0.6509 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6299, allocations: 0 / 0.6509 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6299, allocations: 4 kB / 0.6509 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.63, allocations: 0 / 0.6509 GB, free: 12.23 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.001864/0.6318, allocations: 1.099 MB / 0.6519 GB, free: 11.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6319, allocations: 12.03 kB / 0.652 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.633, allocations: 159.1 kB / 0.6521 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.6339, allocations: 0.4964 MB / 0.6526 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.6339, allocations: 35 kB / 0.6526 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.634, allocations: 44 kB / 0.6527 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.635, allocations: 0.6361 MB / 0.6533 GB, free: 9.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6351, allocations: 7.938 kB / 0.6533 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.6351, allocations: 20 kB / 0.6533 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.6352, allocations: 12 kB / 0.6533 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.6361, allocations: 499.5 kB / 0.6538 GB, free: 9.082 MB / 494.1 MB 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.002881/0.639, allocations: 2.652 MB / 0.6564 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.6397, allocations: 334.1 kB / 0.6567 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.64, allocations: 161 kB / 0.6569 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.6404, allocations: 433.5 kB / 0.6573 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6405, allocations: 34.56 kB / 0.6573 GB, free: 5.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.6405, allocations: 0 / 0.6573 GB, free: 5.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001606/0.6421, allocations: 0.7063 MB / 0.658 GB, free: 4.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6422, allocations: 166.2 kB / 0.6582 GB, free: 4.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006033/0.6428, allocations: 0.5184 MB / 0.6587 GB, free: 3.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.6429, allocations: 37.7 kB / 0.6587 GB, free: 3.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.6431, allocations: 299.6 kB / 0.659 GB, free: 3.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.6432, allocations: 130.1 kB / 0.6591 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.6434, allocations: 118.1 kB / 0.6592 GB, free: 3.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6436, allocations: 362.8 kB / 0.6596 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.6438, allocations: 153 kB / 0.6597 GB, free: 2.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.6442, allocations: 322.9 kB / 0.66 GB, free: 2.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.6449, allocations: 465.9 kB / 0.6605 GB, free: 1.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6449, allocations: 4 kB / 0.6605 GB, free: 1.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009773/0.6459, allocations: 0.5717 MB / 0.661 GB, free: 1.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6459, allocations: 15.92 kB / 0.6611 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6459, allocations: 4 kB / 0.6611 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.6474, allocations: 232.7 kB / 0.6613 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.6478, allocations: 119.8 kB / 0.6614 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00042/0.6483, allocations: 0.5843 MB / 0.662 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.6486, allocations: 63.41 kB / 0.662 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.6487, allocations: 51.98 kB / 0.6621 GB, free: 36 kB / 494.1 MB 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.0002427/0.6489, allocations: 197.6 kB / 0.6623 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.6491, allocations: 59.34 kB / 0.6623 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.6508, allocations: 1.096 MB / 0.6634 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6508, allocations: 4 kB / 0.6634 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6508, allocations: 4 kB / 0.6634 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6508, allocations: 3.984 kB / 0.6634 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.6522, allocations: 1.002 MB / 0.6644 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6522, allocations: 8.031 kB / 0.6644 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.6524, allocations: 47.91 kB / 0.6644 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.6555, allocations: 452.1 kB / 0.6649 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.6555, allocations: 11.98 kB / 0.6649 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/0.6559, allocations: 0.5952 MB / 0.6655 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6559, allocations: 0 / 0.6655 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.6566, allocations: 0.5045 MB / 0.6659 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.6568, allocations: 140.4 kB / 0.6661 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.6569, allocations: 15.84 kB / 0.6661 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.6572, allocations: 15.98 kB / 0.6661 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.6573, allocations: 31.84 kB / 0.6661 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.6573, allocations: 19.98 kB / 0.6662 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004945/0.6578, allocations: 438.8 kB / 0.6666 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6579, allocations: 0 / 0.6666 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008059/0.6587, allocations: 299.8 kB / 0.6669 GB, free: 10.93 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.0007967/0.6595, allocations: 391.7 kB / 0.6672 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007598/0.6602, allocations: 376.2 kB / 0.6676 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6603, allocations: 7.938 kB / 0.6676 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.6606, allocations: 153.3 kB / 0.6678 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.6622, allocations: 395 kB / 0.6681 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.6635, allocations: 0.9409 MB / 0.669 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.6639, allocations: 0.8715 MB / 0.6699 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009601/0.6649, allocations: 0.5735 MB / 0.6705 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.6651, allocations: 95.41 kB / 0.6705 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.6651, allocations: 0 / 0.6705 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of Templates: time 0.02698/0.6921, allocations: 17.04 MB / 0.6872 GB, free: 6.211 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches