Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 179 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 242.1 MB, free: 9.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000796/0.0007965, allocations: 96.58 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.369/0.369, allocations: 44.14 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4197, allocations: 61.89 MB / 0.5107 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.522/6.941, allocations: 2.766 GB / 3.277 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/6.942, allocations: 93.58 kB / 3.277 GB, free: 91.97 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.504/8.446, allocations: 400.7 MB / 3.668 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.975e-06/8.446, allocations: 0 / 3.668 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.626e-05/8.446, allocations: 14.02 kB / 3.668 GB, free: 57.71 MB / 0.5261 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.006495/8.453, allocations: 1.569 MB / 3.669 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/8.453, allocations: 11.56 kB / 3.669 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/8.455, allocations: 251 kB / 3.67 GB, free: 56.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008841/8.456, allocations: 427.5 kB / 3.67 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/8.456, allocations: 36.91 kB / 3.67 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/8.456, allocations: 38.17 kB / 3.67 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/8.457, allocations: 0.6946 MB / 3.671 GB, free: 56.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/8.457, allocations: 7.719 kB / 3.671 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/8.457, allocations: 19.53 kB / 3.671 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/8.457, allocations: 11.22 kB / 3.671 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/8.459, allocations: 0.5823 MB / 3.671 GB, free: 55.89 MB / 0.5261 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.003324/8.462, allocations: 3.26 MB / 3.675 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/8.463, allocations: 425 kB / 3.675 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/8.464, allocations: 161 kB / 3.675 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08833/8.552, allocations: 55.54 MB / 3.729 GB, free: 33.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/8.552, allocations: 41.81 kB / 3.73 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 3.697e-06/8.552, allocations: 3.938 kB / 3.73 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.003102/8.555, allocations: 0.8973 MB / 3.73 GB, free: 32.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/8.555, allocations: 110.8 kB / 3.73 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/8.556, allocations: 393.4 kB / 3.731 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/8.556, allocations: 29.7 kB / 3.731 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/8.556, allocations: 252.2 kB / 3.731 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/8.556, allocations: 95.09 kB / 3.731 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/8.556, allocations: 12 kB / 3.731 GB, free: 32.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001673/8.556, allocations: 346.2 kB / 3.732 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/8.557, allocations: 135 kB / 3.732 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/8.557, allocations: 307.2 kB / 3.732 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/8.558, allocations: 450.8 kB / 3.732 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/8.558, allocations: 0 / 3.732 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001034/8.559, allocations: 0.4994 MB / 3.733 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/8.559, allocations: 246.2 kB / 3.733 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/8.559, allocations: 3.906 kB / 3.733 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/8.561, allocations: 335.2 kB / 3.733 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/8.562, allocations: 108.7 kB / 3.734 GB, free: 30.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005199/8.562, allocations: 0.5959 MB / 3.734 GB, free: 30.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/8.563, allocations: 74.19 kB / 3.734 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/8.563, allocations: 27.44 kB / 3.734 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/8.563, allocations: 3.969 kB / 3.734 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007761/8.564, allocations: 414.2 kB / 3.735 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/8.564, allocations: 7.375 kB / 3.735 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/8.564, allocations: 11.56 kB / 3.735 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/8.564, allocations: 121.3 kB / 3.735 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/8.564, allocations: 12.28 kB / 3.735 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/8.565, allocations: 69.31 kB / 3.735 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/8.565, allocations: 25.91 kB / 3.735 GB, free: 29.79 MB / 0.5417 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.0003635/8.565, allocations: 249.6 kB / 3.735 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/8.565, allocations: 42.09 kB / 3.735 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/8.567, allocations: 1.898 MB / 3.737 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/8.567, allocations: 26.12 kB / 3.737 GB, free: 28.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/8.567, allocations: 4 kB / 3.737 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/8.567, allocations: 0 / 3.737 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/8.568, allocations: 0.9566 MB / 3.738 GB, free: 28.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/8.568, allocations: 0 / 3.738 GB, free: 28.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/8.569, allocations: 76.25 kB / 3.738 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/8.57, allocations: 0.6371 MB / 3.739 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/8.57, allocations: 11.28 kB / 3.739 GB, free: 27.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007542/8.571, allocations: 1.007 MB / 3.74 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/8.571, allocations: 3.938 kB / 3.74 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/8.572, allocations: 1.29 MB / 3.741 GB, free: 26.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/8.573, allocations: 253.5 kB / 3.741 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/8.573, allocations: 11.94 kB / 3.741 GB, free: 26.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/8.573, allocations: 41.27 kB / 3.741 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/8.573, allocations: 26.67 kB / 3.741 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/8.573, allocations: 15.66 kB / 3.741 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004656/8.574, allocations: 377 kB / 3.742 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/8.574, allocations: 0 / 3.742 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005718/8.579, allocations: 1.21 MB / 3.743 GB, free: 25.88 MB / 0.5417 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.008947/8.588, allocations: 1.636 MB / 3.744 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001976/8.59, allocations: 0.7966 MB / 3.745 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/8.59, allocations: 0 / 3.745 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006605/8.591, allocations: 486 kB / 3.746 GB, free: 25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/8.593, allocations: 228.3 kB / 3.746 GB, free: 24.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/8.595, allocations: 1.902 MB / 3.748 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/8.596, allocations: 0.9786 MB / 3.749 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007631/8.596, allocations: 454.8 kB / 3.749 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/8.597, allocations: 39.44 kB / 3.749 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of SimCode: time 7.51e-07/8.597, allocations: 0 / 3.749 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of Templates: time 0.3926/8.989, allocations: 38.84 MB / 3.787 GB, free: 75.38 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestPressure/TestPressure.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches