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.001489/0.001489, allocations: 179.2 kB / 8.363 MB, free: 0.7148 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.965/1.965, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 91.81 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2971/0.2971, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.602e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.408, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.959/8.367, allocations: 2.759 GB / 3.225 GB, free: 27.87 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/8.368, allocations: 85.7 kB / 3.225 GB, free: 27.82 MB / 0.4952 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.053/10.42, allocations: 407.9 MB / 3.624 GB, free: 18.82 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.704e-06/10.42, allocations: 0 / 3.624 GB, free: 18.82 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 3.488e-05/10.42, allocations: 8 kB / 3.624 GB, free: 18.81 MB / 0.4952 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.006447/10.43, allocations: 1.527 MB / 3.625 GB, free: 17.24 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/10.43, allocations: 12.02 kB / 3.625 GB, free: 17.23 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/10.43, allocations: 247.2 kB / 3.626 GB, free: 16.98 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/10.43, allocations: 426.9 kB / 3.626 GB, free: 16.53 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/10.43, allocations: 16.69 kB / 3.626 GB, free: 16.52 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/10.43, allocations: 24 kB / 3.626 GB, free: 16.49 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008678/10.43, allocations: 349.4 kB / 3.626 GB, free: 16.15 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/10.43, allocations: 483 kB / 3.627 GB, free: 15.62 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/10.43, allocations: 0 / 3.627 GB, free: 15.62 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/10.43, allocations: 0 / 3.627 GB, free: 15.62 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/10.43, allocations: 15.98 kB / 3.627 GB, free: 15.6 MB / 0.4952 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.4628/10.9, allocations: 35.51 MB / 3.661 GB, free: 39.95 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/10.9, allocations: 220 kB / 3.662 GB, free: 39.93 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/10.9, allocations: 102 kB / 3.662 GB, free: 39.92 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1772/11.07, allocations: 55.74 MB / 3.716 GB, free: 21.5 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/11.07, allocations: 40.89 kB / 3.716 GB, free: 21.46 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/11.07, allocations: 0 / 3.716 GB, free: 21.46 MB / 0.5108 GB Notification: Performance of matching and sorting (n=22): time 0.002976/11.08, allocations: 0.5325 MB / 3.717 GB, free: 21.41 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007925/11.08, allocations: 108.2 kB / 3.717 GB, free: 37.29 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/11.08, allocations: 294.2 kB / 3.717 GB, free: 37.19 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/11.08, allocations: 25.7 kB / 3.717 GB, free: 37.16 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/11.08, allocations: 335.6 kB / 3.718 GB, free: 36.94 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/11.08, allocations: 76.45 kB / 3.718 GB, free: 36.9 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/11.08, allocations: 0 / 3.718 GB, free: 36.9 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001432/11.08, allocations: 326.9 kB / 3.718 GB, free: 36.59 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/11.08, allocations: 89.34 kB / 3.718 GB, free: 36.58 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/11.08, allocations: 248.1 kB / 3.718 GB, free: 36.38 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/11.08, allocations: 239.8 kB / 3.718 GB, free: 36.37 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/11.08, allocations: 0 / 3.718 GB, free: 36.37 MB / 0.5265 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00217/11.08, allocations: 495.7 kB / 3.719 GB, free: 36.31 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008117/11.08, allocations: 2.012 MB / 3.721 GB, free: 34.21 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/11.08, allocations: 3.875 kB / 3.721 GB, free: 34.21 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/11.09, allocations: 56.08 kB / 3.721 GB, free: 34.2 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/11.09, allocations: 100.9 kB / 3.721 GB, free: 34.2 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/11.09, allocations: 0.6507 MB / 3.722 GB, free: 33.68 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008465/11.09, allocations: 81.05 kB / 3.722 GB, free: 33.67 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/11.09, allocations: 30.81 kB / 3.722 GB, free: 33.66 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/11.09, allocations: 3.688 kB / 3.722 GB, free: 33.66 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/11.09, allocations: 345.8 kB / 3.722 GB, free: 33.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/11.09, allocations: 4.5 kB / 3.722 GB, free: 33.66 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/11.09, allocations: 15.16 kB / 3.722 GB, free: 33.66 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/11.09, allocations: 116.5 kB / 3.722 GB, free: 33.65 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/11.09, allocations: 15.91 kB / 3.722 GB, free: 33.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/11.09, allocations: 56.89 kB / 3.722 GB, free: 33.64 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/11.09, allocations: 22.41 kB / 3.722 GB, free: 33.64 MB / 0.5265 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.0002084/11.09, allocations: 121 kB / 3.722 GB, free: 33.54 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/11.09, allocations: 43.17 kB / 3.722 GB, free: 33.51 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/11.09, allocations: 1.47 MB / 3.724 GB, free: 33.36 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/11.09, allocations: 20.06 kB / 3.724 GB, free: 33.36 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/11.09, allocations: 0 / 3.724 GB, free: 33.36 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/11.09, allocations: 3.906 kB / 3.724 GB, free: 33.36 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/11.1, allocations: 2.047 MB / 3.726 GB, free: 32.98 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/11.1, allocations: 9.5 kB / 3.726 GB, free: 32.98 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/11.1, allocations: 44.45 kB / 3.726 GB, free: 32.98 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008884/11.1, allocations: 0.5849 MB / 3.727 GB, free: 32.95 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/11.1, allocations: 3.844 kB / 3.727 GB, free: 32.95 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/11.1, allocations: 1.109 MB / 3.728 GB, free: 32.41 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/11.1, allocations: 3.953 kB / 3.728 GB, free: 32.41 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/11.1, allocations: 1.177 MB / 3.729 GB, free: 32.12 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/11.1, allocations: 178.9 kB / 3.729 GB, free: 32 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/11.1, allocations: 3.953 kB / 3.729 GB, free: 32 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005085/11.1, allocations: 33.91 kB / 3.729 GB, free: 31.99 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/11.1, allocations: 28.38 kB / 3.729 GB, free: 31.99 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/11.1, allocations: 9.719 kB / 3.729 GB, free: 31.99 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0003234/11.1, allocations: 218.7 kB / 3.729 GB, free: 31.91 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.4e-07/11.1, allocations: 0 / 3.729 GB, free: 31.91 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.005557/11.11, allocations: 1.157 MB / 3.73 GB, free: 31.9 MB / 0.5265 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.01039/11.12, allocations: 1.739 MB / 3.732 GB, free: 31.7 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001621/11.12, allocations: 0.6044 MB / 3.733 GB, free: 31.69 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/11.12, allocations: 3.938 kB / 3.733 GB, free: 31.69 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/11.12, allocations: 385.3 kB / 3.733 GB, free: 31.69 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/11.12, allocations: 164.2 kB / 3.733 GB, free: 31.66 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/11.13, allocations: 0.9564 MB / 3.734 GB, free: 31.39 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/11.13, allocations: 0.9325 MB / 3.735 GB, free: 30.68 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/11.13, allocations: 49.69 kB / 3.735 GB, free: 30.67 MB / 0.5265 GB Notification: Performance of SimCode: time 1.143e-06/11.13, allocations: 2.156 kB / 3.735 GB, free: 30.67 MB / 0.5265 GB Notification: Performance of Templates: time 0.06205/11.19, allocations: 30.74 MB / 3.765 GB, free: 27.57 MB / 0.5265 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