Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001008/0.001008, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008851/0.0008849, allocations: 82.23 kB / 261.7 MB, free: 1.688 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.1998/0.1998, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.761e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.884/7.003, allocations: 2.759 GB / 3.225 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/7.004, allocations: 88.69 kB / 3.225 GB, free: 154.5 MB / 0.4948 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 1.372/8.376, allocations: 407.9 MB / 3.624 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/8.376, allocations: 0 / 3.624 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.114e-05/8.376, allocations: 10.03 kB / 3.624 GB, free: 61.98 MB / 0.4948 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.005294/8.381, allocations: 1.524 MB / 3.625 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/8.381, allocations: 9.969 kB / 3.625 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/8.383, allocations: 246.7 kB / 3.626 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/8.384, allocations: 422.1 kB / 3.626 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/8.384, allocations: 24.31 kB / 3.626 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/8.384, allocations: 24.88 kB / 3.626 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004941/8.384, allocations: 349.3 kB / 3.626 GB, free: 61.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/8.385, allocations: 478.3 kB / 3.627 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/8.385, allocations: 3 kB / 3.627 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/8.385, allocations: 2.969 kB / 3.627 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/8.385, allocations: 10.12 kB / 3.627 GB, free: 60.98 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.05453/8.44, allocations: 35.52 MB / 3.662 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/8.44, allocations: 221.4 kB / 3.662 GB, free: 38.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/8.44, allocations: 95.91 kB / 3.662 GB, free: 38.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09551/8.536, allocations: 55.74 MB / 3.716 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/8.536, allocations: 36.39 kB / 3.716 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/8.536, allocations: 0 / 3.716 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.002188/8.538, allocations: 0.5403 MB / 3.717 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/8.538, allocations: 109.2 kB / 3.717 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/8.539, allocations: 289.6 kB / 3.717 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/8.539, allocations: 33.42 kB / 3.717 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/8.539, allocations: 272.8 kB / 3.717 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/8.539, allocations: 73.89 kB / 3.718 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/8.539, allocations: 4 kB / 3.718 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001272/8.539, allocations: 342.2 kB / 3.718 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/8.539, allocations: 89.81 kB / 3.718 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/8.54, allocations: 254.8 kB / 3.718 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/8.541, allocations: 245.2 kB / 3.718 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/8.541, allocations: 0 / 3.718 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00135/8.542, allocations: 0.4948 MB / 3.719 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001439/8.543, allocations: 2.005 MB / 3.721 GB, free: 32.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/8.543, allocations: 7.25 kB / 3.721 GB, free: 32.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/8.544, allocations: 46.91 kB / 3.721 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/8.544, allocations: 107 kB / 3.721 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/8.545, allocations: 0.6559 MB / 3.722 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/8.545, allocations: 79.38 kB / 3.722 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/8.545, allocations: 24.36 kB / 3.722 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/8.545, allocations: 3.531 kB / 3.722 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008628/8.546, allocations: 349 kB / 3.722 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/8.546, allocations: 4.344 kB / 3.722 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/8.546, allocations: 7.219 kB / 3.722 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/8.547, allocations: 122.8 kB / 3.722 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/8.547, allocations: 17.86 kB / 3.722 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/8.547, allocations: 57.2 kB / 3.722 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/8.547, allocations: 28.48 kB / 3.722 GB, free: 31.85 MB / 0.5261 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 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete 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.0001284/8.547, allocations: 121.8 kB / 3.722 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/8.547, allocations: 35.94 kB / 3.722 GB, free: 31.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/8.549, allocations: 1.457 MB / 3.724 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/8.549, allocations: 28.69 kB / 3.724 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/8.549, allocations: 0 / 3.724 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/8.549, allocations: 3.953 kB / 3.724 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/8.551, allocations: 2.05 MB / 3.726 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/8.551, allocations: 3.703 kB / 3.726 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/8.551, allocations: 53.81 kB / 3.726 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/8.552, allocations: 0.5818 MB / 3.727 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/8.552, allocations: 3.844 kB / 3.727 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009559/8.553, allocations: 1.112 MB / 3.728 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/8.553, allocations: 2.422 kB / 3.728 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/8.554, allocations: 1.177 MB / 3.729 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/8.554, allocations: 187.2 kB / 3.729 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/8.554, allocations: 3.938 kB / 3.729 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/8.555, allocations: 33.5 kB / 3.729 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/8.555, allocations: 25.75 kB / 3.729 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/8.555, allocations: 9.156 kB / 3.729 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001918/8.555, allocations: 213.5 kB / 3.729 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.555, allocations: 0 / 3.729 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004977/8.56, allocations: 1.168 MB / 3.73 GB, free: 29.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.007449/8.567, allocations: 1.737 MB / 3.732 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001101/8.569, allocations: 0.6203 MB / 3.733 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/8.569, allocations: 1.812 kB / 3.733 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/8.569, allocations: 383.6 kB / 3.733 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/8.57, allocations: 155.6 kB / 3.733 GB, free: 29.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/8.571, allocations: 0.9273 MB / 3.734 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/8.572, allocations: 0.9416 MB / 3.735 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007797/8.573, allocations: 0.5203 MB / 3.736 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/8.573, allocations: 44.3 kB / 3.736 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/8.573, allocations: 0 / 3.736 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.03811/8.611, allocations: 30.39 MB / 3.765 GB, free: 23.66 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches