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.001553/0.001553, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001067/0.001066, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2762/0.2762, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.594e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.015/8.131, allocations: 2.76 GB / 3.233 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/8.132, allocations: 89.48 kB / 3.233 GB, free: 82.38 MB / 0.5105 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.04/10.17, allocations: 412 MB / 3.635 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/10.17, allocations: 0 / 3.635 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.891e-05/10.17, allocations: 8.844 kB / 3.635 GB, free: 65.92 MB / 0.5105 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.006208/10.18, allocations: 1.54 MB / 3.637 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/10.18, allocations: 9.781 kB / 3.637 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/10.18, allocations: 240.9 kB / 3.637 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/10.18, allocations: 417.4 kB / 3.637 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/10.18, allocations: 34.53 kB / 3.638 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/10.18, allocations: 36.19 kB / 3.638 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/10.19, allocations: 0.6855 MB / 3.638 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/10.19, allocations: 3.938 kB / 3.638 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/10.19, allocations: 15.78 kB / 3.638 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/10.19, allocations: 11.09 kB / 3.638 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/10.19, allocations: 0.5419 MB / 3.639 GB, free: 64.08 MB / 0.5105 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.005646/10.19, allocations: 3.262 MB / 3.642 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/10.19, allocations: 407.2 kB / 3.642 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/10.2, allocations: 130.9 kB / 3.642 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.215/10.41, allocations: 55.74 MB / 3.697 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/10.41, allocations: 34.56 kB / 3.697 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 5.65e-06/10.41, allocations: 0 / 3.697 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.004933/10.42, allocations: 0.6409 MB / 3.698 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/10.42, allocations: 110.8 kB / 3.698 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/10.42, allocations: 339.7 kB / 3.698 GB, free: 17.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-05/10.42, allocations: 33.7 kB / 3.698 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/10.42, allocations: 304.6 kB / 3.698 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/10.42, allocations: 90.31 kB / 3.698 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/10.42, allocations: 8 kB / 3.698 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/10.42, allocations: 334.4 kB / 3.699 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/10.42, allocations: 88.88 kB / 3.699 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/10.42, allocations: 269 kB / 3.699 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/10.42, allocations: 143.4 kB / 3.699 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/10.42, allocations: 0 / 3.699 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00172/10.42, allocations: 408.4 kB / 3.7 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000575/10.42, allocations: 2.007 MB / 3.702 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/10.42, allocations: 4 kB / 3.702 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007165/10.43, allocations: 338.9 kB / 3.702 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/10.43, allocations: 105 kB / 3.702 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000908/10.43, allocations: 0.5977 MB / 3.703 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/10.43, allocations: 74.72 kB / 3.703 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/10.43, allocations: 23.66 kB / 3.703 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/10.43, allocations: 4 kB / 3.703 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00155/10.43, allocations: 341.5 kB / 3.703 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/10.43, allocations: 7.844 kB / 3.703 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/10.43, allocations: 8 kB / 3.703 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/10.43, allocations: 118.5 kB / 3.703 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.749e-05/10.43, allocations: 15.41 kB / 3.703 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009444/10.44, allocations: 58.11 kB / 3.703 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/10.44, allocations: 23.66 kB / 3.703 GB, free: 11.79 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 () * 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.0002814/10.44, allocations: 132.9 kB / 3.703 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/10.44, allocations: 47.44 kB / 3.703 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/10.44, allocations: 1.864 MB / 3.705 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/10.44, allocations: 25.53 kB / 3.705 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/10.44, allocations: 4 kB / 3.705 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/10.44, allocations: 0 / 3.705 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/10.44, allocations: 0.9581 MB / 3.706 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/10.44, allocations: 0 / 3.706 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008582/10.44, allocations: 75.89 kB / 3.706 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/10.45, allocations: 0.7699 MB / 3.707 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/10.45, allocations: 8 kB / 3.707 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/10.45, allocations: 0.9949 MB / 3.708 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/10.45, allocations: 4.062 kB / 3.708 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/10.45, allocations: 1.211 MB / 3.709 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006948/10.45, allocations: 251.5 kB / 3.709 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/10.45, allocations: 7.953 kB / 3.709 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/10.45, allocations: 43.81 kB / 3.709 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/10.45, allocations: 31.95 kB / 3.709 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/10.45, allocations: 15.98 kB / 3.709 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009444/10.46, allocations: 369.6 kB / 3.71 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.162e-06/10.46, allocations: 0 / 3.71 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007717/10.46, allocations: 1.201 MB / 3.711 GB, free: 3.895 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 () * 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.01356/10.48, allocations: 1.632 MB / 3.713 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002734/10.48, allocations: 0.6825 MB / 3.713 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/10.48, allocations: 4.062 kB / 3.713 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/10.48, allocations: 448.7 kB / 3.714 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/10.48, allocations: 232.5 kB / 3.714 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/10.49, allocations: 1.137 MB / 3.715 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009922/10.49, allocations: 0.9872 MB / 3.716 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/10.49, allocations: 47.42 kB / 3.716 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of SimCode: time 6.222e-06/10.49, allocations: 0 / 3.716 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.5642/11.05, allocations: 31.71 MB / 3.747 GB, free: 73.58 MB / 0.5261 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