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.001195/0.001195, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.34/1.34, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 95.98 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.252e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.163/6.298, allocations: 2.765 GB / 3.267 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/6.298, allocations: 90.22 kB / 3.267 GB, free: 155.5 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.347/7.645, allocations: 416.4 MB / 3.674 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.953e-06/7.645, allocations: 0 / 3.674 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.728e-05/7.645, allocations: 17.16 kB / 3.674 GB, free: 67.39 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.005051/7.65, allocations: 1.524 MB / 3.675 GB, free: 66.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/7.65, allocations: 7.75 kB / 3.675 GB, free: 66.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/7.652, allocations: 248.5 kB / 3.676 GB, free: 66.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/7.652, allocations: 421.3 kB / 3.676 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/7.653, allocations: 35.62 kB / 3.676 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/7.653, allocations: 33.91 kB / 3.676 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/7.654, allocations: 0.6832 MB / 3.677 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/7.654, allocations: 1.312 kB / 3.677 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/7.654, allocations: 23.38 kB / 3.677 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/7.654, allocations: 7.906 kB / 3.677 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/7.655, allocations: 0.5391 MB / 3.677 GB, free: 66.3 MB / 0.5261 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.003147/7.658, allocations: 3.254 MB / 3.681 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/7.659, allocations: 405.3 kB / 3.681 GB, free: 63.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/7.66, allocations: 125.1 kB / 3.681 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08883/7.748, allocations: 55.76 MB / 3.735 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/7.749, allocations: 39.22 kB / 3.735 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/7.749, allocations: 0 / 3.735 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002037/7.751, allocations: 0.6401 MB / 3.736 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/7.751, allocations: 110.1 kB / 3.736 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/7.751, allocations: 338.4 kB / 3.737 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/7.751, allocations: 36.08 kB / 3.737 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/7.751, allocations: 255.2 kB / 3.737 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/7.751, allocations: 89.75 kB / 3.737 GB, free: 29.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/7.751, allocations: 10.78 kB / 3.737 GB, free: 29.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/7.751, allocations: 348.3 kB / 3.737 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/7.752, allocations: 100.6 kB / 3.737 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/7.752, allocations: 262.4 kB / 3.738 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/7.752, allocations: 136.6 kB / 3.738 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/7.752, allocations: 3.906 kB / 3.738 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006579/7.753, allocations: 442.9 kB / 3.738 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003816/7.753, allocations: 2.007 MB / 3.74 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/7.753, allocations: 3.875 kB / 3.74 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/7.756, allocations: 334.6 kB / 3.74 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/7.756, allocations: 103.7 kB / 3.741 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003931/7.756, allocations: 0.5889 MB / 3.741 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/7.757, allocations: 78.42 kB / 3.741 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/7.757, allocations: 22.95 kB / 3.741 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/7.757, allocations: 13.02 kB / 3.741 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004678/7.757, allocations: 342 kB / 3.742 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/7.757, allocations: 7.438 kB / 3.742 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/7.757, allocations: 9.656 kB / 3.742 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/7.758, allocations: 121.2 kB / 3.742 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/7.758, allocations: 11.72 kB / 3.742 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/7.758, allocations: 65.22 kB / 3.742 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/7.758, allocations: 28.05 kB / 3.742 GB, free: 26.11 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 (boundary_fixed.medium.phase,massFlowRate1.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.0001217/7.758, allocations: 130.1 kB / 3.742 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/7.759, allocations: 48.45 kB / 3.742 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/7.76, allocations: 1.857 MB / 3.744 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/7.76, allocations: 24.86 kB / 3.744 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/7.76, allocations: 3.172 kB / 3.744 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/7.76, allocations: 3.891 kB / 3.744 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/7.761, allocations: 0.958 MB / 3.745 GB, free: 25.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/7.761, allocations: 3.953 kB / 3.745 GB, free: 25.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/7.761, allocations: 77.14 kB / 3.745 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/7.763, allocations: 0.7624 MB / 3.746 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/7.763, allocations: 7.344 kB / 3.746 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005627/7.763, allocations: 0.9976 MB / 3.747 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/7.763, allocations: 0 / 3.747 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/7.764, allocations: 1.212 MB / 3.748 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/7.765, allocations: 257.1 kB / 3.748 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/7.765, allocations: 13.34 kB / 3.748 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/7.765, allocations: 33.81 kB / 3.748 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/7.765, allocations: 25.06 kB / 3.748 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/7.765, allocations: 21.11 kB / 3.748 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003301/7.765, allocations: 369.3 kB / 3.748 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/7.765, allocations: 0 / 3.748 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005209/7.771, allocations: 1.205 MB / 3.75 GB, free: 24.21 MB / 0.5261 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 () * 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.007533/7.778, allocations: 1.634 MB / 3.751 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001153/7.779, allocations: 0.6963 MB / 3.752 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/7.779, allocations: 1.812 kB / 3.752 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004498/7.78, allocations: 447.4 kB / 3.752 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/7.781, allocations: 239.8 kB / 3.753 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/7.782, allocations: 1.099 MB / 3.754 GB, free: 23.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/7.783, allocations: 0.9878 MB / 3.755 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007288/7.783, allocations: 480 kB / 3.755 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/7.783, allocations: 37.84 kB / 3.755 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of SimCode: time 4.1e-07/7.783, allocations: 0 / 3.755 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.04574/7.829, allocations: 39.11 MB / 3.793 GB, free: 20.63 MB / 0.5261 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/jenkins/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