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.0009801/0.00098, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0009188/0.000919, allocations: 83.62 kB / 281.6 MB, free: 5.262 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.222/0.222, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.353e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.423/7.562, allocations: 2.765 GB / 3.259 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/7.563, allocations: 86.95 kB / 3.26 GB, free: 115.9 MB / 0.5105 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.511/9.074, allocations: 412.3 MB / 3.662 GB, free: 76.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/9.074, allocations: 3.188 kB / 3.662 GB, free: 76.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.584e-05/9.074, allocations: 17.75 kB / 3.662 GB, free: 76.77 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.005615/9.08, allocations: 1.523 MB / 3.664 GB, free: 76.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/9.08, allocations: 11.14 kB / 3.664 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/9.082, allocations: 254.2 kB / 3.664 GB, free: 76.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/9.082, allocations: 422.9 kB / 3.664 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/9.083, allocations: 16.88 kB / 3.664 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/9.083, allocations: 23.56 kB / 3.664 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006269/9.083, allocations: 349.5 kB / 3.665 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/9.084, allocations: 482.4 kB / 3.665 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/9.084, allocations: 4.484 kB / 3.665 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/9.084, allocations: 3.531 kB / 3.665 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/9.084, allocations: 15.25 kB / 3.665 GB, free: 75.62 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.05859/9.143, allocations: 35.54 MB / 3.7 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/9.143, allocations: 212.2 kB / 3.7 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/9.143, allocations: 104.9 kB / 3.7 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09883/9.242, allocations: 55.74 MB / 3.755 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/9.242, allocations: 41.22 kB / 3.755 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=22): time 2.405e-06/9.242, allocations: 1.859 kB / 3.755 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22): time 0.00224/9.245, allocations: 0.5309 MB / 3.755 GB, free: 34.26 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/9.245, allocations: 108.7 kB / 3.755 GB, free: 34.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/9.245, allocations: 296.3 kB / 3.756 GB, free: 34.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/9.245, allocations: 25.7 kB / 3.756 GB, free: 33.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/9.245, allocations: 275.5 kB / 3.756 GB, free: 33.83 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/9.246, allocations: 80.03 kB / 3.756 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/9.246, allocations: 0 / 3.756 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001466/9.246, allocations: 348.6 kB / 3.756 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/9.246, allocations: 86.36 kB / 3.756 GB, free: 33.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/9.246, allocations: 251.6 kB / 3.757 GB, free: 33.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/9.247, allocations: 242.9 kB / 3.757 GB, free: 33.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/9.247, allocations: 3.531 kB / 3.757 GB, free: 33.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001426/9.249, allocations: 0.4892 MB / 3.757 GB, free: 33.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008232/9.249, allocations: 2.01 MB / 3.759 GB, free: 31.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/9.25, allocations: 3.656 kB / 3.759 GB, free: 31.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/9.25, allocations: 53.17 kB / 3.759 GB, free: 31.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/9.25, allocations: 111 kB / 3.759 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009317/9.251, allocations: 0.6539 MB / 3.76 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/9.252, allocations: 72.47 kB / 3.76 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/9.252, allocations: 23.94 kB / 3.76 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/9.252, allocations: 5.219 kB / 3.76 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008793/9.253, allocations: 347 kB / 3.761 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/9.253, allocations: 7.062 kB / 3.761 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/9.253, allocations: 7.406 kB / 3.761 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/9.253, allocations: 128.9 kB / 3.761 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/9.253, allocations: 9.438 kB / 3.761 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/9.253, allocations: 64.23 kB / 3.761 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/9.254, allocations: 21.53 kB / 3.761 GB, free: 30.5 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 (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.0001855/9.254, allocations: 118.8 kB / 3.761 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/9.254, allocations: 40.22 kB / 3.761 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/9.256, allocations: 1.463 MB / 3.762 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/9.256, allocations: 28.36 kB / 3.762 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/9.256, allocations: 0 / 3.762 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/9.256, allocations: 6.234 kB / 3.762 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/9.258, allocations: 2.045 MB / 3.764 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/9.258, allocations: 0 / 3.764 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/9.259, allocations: 53.03 kB / 3.764 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005888/9.259, allocations: 0.5875 MB / 3.765 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/9.259, allocations: 6.328 kB / 3.765 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/9.26, allocations: 1.109 MB / 3.766 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/9.26, allocations: 0 / 3.766 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/9.262, allocations: 1.175 MB / 3.767 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/9.262, allocations: 186.6 kB / 3.767 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/9.262, allocations: 2.281 kB / 3.767 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/9.262, allocations: 33.94 kB / 3.767 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/9.262, allocations: 23.59 kB / 3.767 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/9.262, allocations: 9.375 kB / 3.767 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002189/9.263, allocations: 224.8 kB / 3.768 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/9.263, allocations: 2.953 kB / 3.768 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005496/9.268, allocations: 1.163 MB / 3.769 GB, free: 28.51 MB / 0.5417 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.009188/9.277, allocations: 1.748 MB / 3.771 GB, free: 28.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001257/9.279, allocations: 0.6112 MB / 3.771 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/9.279, allocations: 3.391 kB / 3.771 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004519/9.279, allocations: 386.2 kB / 3.772 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/9.28, allocations: 160.5 kB / 3.772 GB, free: 28.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/9.282, allocations: 0.9224 MB / 3.773 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/9.282, allocations: 0.9408 MB / 3.773 GB, free: 27.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008046/9.283, allocations: 0.5313 MB / 3.774 GB, free: 27.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/9.283, allocations: 29.03 kB / 3.774 GB, free: 27.07 MB / 0.5417 GB Notification: Performance of SimCode: time 7.21e-07/9.283, allocations: 0 / 3.774 GB, free: 27.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.0435/9.327, allocations: 30.39 MB / 3.804 GB, free: 11.47 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/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