Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 185.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 93.23 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5002/0.5002, allocations: 43.57 MB / 362.7 MB, free: 52.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004632, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.483/8.609, allocations: 2.76 GB / 3.239 GB, free: 52.93 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/8.61, allocations: 91.31 kB / 3.239 GB, free: 52.88 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.048/10.66, allocations: 413.2 MB / 3.643 GB, free: 29.74 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.894e-06/10.66, allocations: 0 / 3.643 GB, free: 29.74 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.582e-05/10.66, allocations: 15.91 kB / 3.643 GB, free: 29.73 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006526/10.66, allocations: 1.566 MB / 3.644 GB, free: 28.12 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/10.66, allocations: 8.031 kB / 3.644 GB, free: 28.11 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/10.67, allocations: 240.2 kB / 3.644 GB, free: 27.88 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/10.67, allocations: 435 kB / 3.645 GB, free: 27.42 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/10.67, allocations: 33.69 kB / 3.645 GB, free: 27.39 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/10.67, allocations: 36 kB / 3.645 GB, free: 27.35 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/10.67, allocations: 0.6941 MB / 3.645 GB, free: 26.59 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/10.67, allocations: 3.938 kB / 3.645 GB, free: 26.59 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/10.67, allocations: 24 kB / 3.646 GB, free: 26.57 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/10.67, allocations: 12 kB / 3.646 GB, free: 26.55 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/10.67, allocations: 0.58 MB / 3.646 GB, free: 25.97 MB / 0.4949 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.004832/10.68, allocations: 3.238 MB / 3.649 GB, free: 22.51 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/10.68, allocations: 430.3 kB / 3.65 GB, free: 22.08 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5557/11.24, allocations: 55.53 MB / 3.704 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/11.24, allocations: 38.34 kB / 3.704 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 3.056e-06/11.24, allocations: 0 / 3.704 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.004502/11.24, allocations: 0.889 MB / 3.705 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/11.24, allocations: 106 kB / 3.705 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/11.24, allocations: 349.1 kB / 3.705 GB, free: 50.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/11.24, allocations: 29.64 kB / 3.705 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/11.24, allocations: 304.2 kB / 3.706 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/11.24, allocations: 92.44 kB / 3.706 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/11.24, allocations: 6.906 kB / 3.706 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/11.24, allocations: 332.5 kB / 3.706 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/11.24, allocations: 136.8 kB / 3.706 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/11.24, allocations: 297.9 kB / 3.706 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/11.24, allocations: 172 kB / 3.707 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/11.24, allocations: 3.156 kB / 3.707 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001602/11.25, allocations: 490.6 kB / 3.707 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004274/11.25, allocations: 2.009 MB / 3.709 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/11.25, allocations: 5.844 kB / 3.709 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/11.25, allocations: 341.3 kB / 3.709 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/11.25, allocations: 97.62 kB / 3.709 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005709/11.25, allocations: 0.6058 MB / 3.71 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/11.25, allocations: 76.61 kB / 3.71 GB, free: 46.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/11.25, allocations: 25.47 kB / 3.71 GB, free: 46.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/11.25, allocations: 7.031 kB / 3.71 GB, free: 46.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/11.25, allocations: 415.6 kB / 3.71 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/11.25, allocations: 9.562 kB / 3.711 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/11.25, allocations: 7.312 kB / 3.711 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/11.25, allocations: 113.1 kB / 3.711 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/11.25, allocations: 14.62 kB / 3.711 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/11.26, allocations: 60.92 kB / 3.711 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/11.26, allocations: 23.86 kB / 3.711 GB, free: 46.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003386/11.26, allocations: 255.9 kB / 3.711 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/11.26, allocations: 46 kB / 3.711 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/11.26, allocations: 1.891 MB / 3.713 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/11.26, allocations: 24.34 kB / 3.713 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/11.26, allocations: 0 / 3.713 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/11.26, allocations: 6.188 kB / 3.713 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/11.26, allocations: 0.9618 MB / 3.714 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/11.26, allocations: 3.812 kB / 3.714 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/11.26, allocations: 74 kB / 3.714 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/11.26, allocations: 0.6425 MB / 3.715 GB, free: 46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/11.26, allocations: 8.656 kB / 3.715 GB, free: 46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/11.26, allocations: 0.992 MB / 3.715 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/11.26, allocations: 1.969 kB / 3.715 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/11.27, allocations: 1.295 MB / 3.717 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/11.27, allocations: 251 kB / 3.717 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/11.27, allocations: 11.66 kB / 3.717 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/11.27, allocations: 38.62 kB / 3.717 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/11.27, allocations: 33.75 kB / 3.717 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/11.27, allocations: 12.19 kB / 3.717 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006247/11.27, allocations: 378.2 kB / 3.717 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/11.27, allocations: 2.188 kB / 3.717 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00586/11.27, allocations: 1.204 MB / 3.719 GB, free: 44.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008699/11.28, allocations: 1.632 MB / 3.72 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002677/11.29, allocations: 0.7938 MB / 3.721 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/11.29, allocations: 2.75 kB / 3.721 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009422/11.29, allocations: 484.8 kB / 3.721 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/11.29, allocations: 224 kB / 3.722 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/11.29, allocations: 1.927 MB / 3.724 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/11.29, allocations: 0.9824 MB / 3.725 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/11.29, allocations: 48.38 kB / 3.725 GB, free: 43.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.533e-06/11.29, allocations: 0 / 3.725 GB, free: 43.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.08786/11.38, allocations: 32.01 MB / 3.756 GB, free: 40.59 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestPressure/TestPressure.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches