Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001039/0.001039, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0008963/0.0008963, allocations: 81.16 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3365/0.3365, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.729e-05, allocations: 7.984 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.475/5.578, allocations: 2.76 GB / 3.233 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/5.578, allocations: 85.22 kB / 3.233 GB, free: 131.6 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 1.309/6.887, allocations: 412 MB / 3.635 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/6.887, allocations: 0 / 3.635 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.974e-05/6.887, allocations: 9.953 kB / 3.635 GB, free: 61.61 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.005082/6.892, allocations: 1.525 MB / 3.637 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/6.892, allocations: 10.09 kB / 3.637 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/6.894, allocations: 250.7 kB / 3.637 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/6.895, allocations: 422.1 kB / 3.638 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/6.895, allocations: 33.81 kB / 3.638 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/6.895, allocations: 40.59 kB / 3.638 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/6.896, allocations: 0.6853 MB / 3.638 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/6.896, allocations: 3.031 kB / 3.638 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/6.896, allocations: 19.56 kB / 3.638 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/6.896, allocations: 11.25 kB / 3.638 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/6.897, allocations: 0.5412 MB / 3.639 GB, free: 60.42 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.002995/6.9, allocations: 3.247 MB / 3.642 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/6.901, allocations: 403.6 kB / 3.642 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/6.902, allocations: 131.7 kB / 3.642 GB, free: 58.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08601/6.988, allocations: 55.74 MB / 3.697 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/6.988, allocations: 37.19 kB / 3.697 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/6.988, allocations: 0 / 3.697 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001946/6.99, allocations: 0.638 MB / 3.698 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/6.99, allocations: 112.5 kB / 3.698 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/6.99, allocations: 348 kB / 3.698 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/6.99, allocations: 33.23 kB / 3.698 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/6.99, allocations: 259.8 kB / 3.698 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/6.99, allocations: 91.38 kB / 3.698 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/6.99, allocations: 11.09 kB / 3.698 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/6.99, allocations: 349.5 kB / 3.699 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/6.991, allocations: 94.64 kB / 3.699 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/6.991, allocations: 272.8 kB / 3.699 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/6.991, allocations: 136.9 kB / 3.699 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/6.991, allocations: 0 / 3.699 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005737/6.992, allocations: 442.7 kB / 3.7 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/6.993, allocations: 2 MB / 3.702 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/6.993, allocations: 3.969 kB / 3.702 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/6.995, allocations: 335.9 kB / 3.702 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/6.996, allocations: 104.9 kB / 3.702 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/6.996, allocations: 0.5912 MB / 3.703 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/6.997, allocations: 75.27 kB / 3.703 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/6.997, allocations: 25.56 kB / 3.703 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/6.997, allocations: 3.688 kB / 3.703 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004627/6.997, allocations: 345.8 kB / 3.703 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/6.997, allocations: 4 kB / 3.703 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/6.997, allocations: 16.97 kB / 3.703 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/6.998, allocations: 115.5 kB / 3.703 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/6.998, allocations: 13.88 kB / 3.703 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/6.998, allocations: 66.86 kB / 3.703 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/6.998, allocations: 20.41 kB / 3.703 GB, free: 35.82 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.0001318/6.998, allocations: 144.5 kB / 3.703 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/6.998, allocations: 38.38 kB / 3.703 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/7, allocations: 1.842 MB / 3.705 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/7, allocations: 37.88 kB / 3.705 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/7, allocations: 0 / 3.705 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/7, allocations: 0 / 3.705 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/7.001, allocations: 0.9669 MB / 3.706 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/7.001, allocations: 3.906 kB / 3.706 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/7.001, allocations: 65.8 kB / 3.706 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/7.002, allocations: 0.7665 MB / 3.707 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/7.002, allocations: 11.72 kB / 3.707 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006494/7.003, allocations: 1 MB / 3.708 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/7.003, allocations: 0 / 3.708 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/7.004, allocations: 1.217 MB / 3.709 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/7.004, allocations: 256.1 kB / 3.709 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/7.004, allocations: 14.98 kB / 3.709 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/7.005, allocations: 33.16 kB / 3.709 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/7.005, allocations: 26.28 kB / 3.71 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/7.005, allocations: 17.66 kB / 3.71 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003282/7.005, allocations: 372.5 kB / 3.71 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/7.005, allocations: 0 / 3.71 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004946/7.01, allocations: 1.211 MB / 3.711 GB, free: 33.91 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.006584/7.017, allocations: 1.633 MB / 3.713 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001354/7.018, allocations: 0.6966 MB / 3.713 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/7.018, allocations: 0 / 3.713 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004519/7.018, allocations: 441.6 kB / 3.714 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/7.02, allocations: 215.8 kB / 3.714 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/7.021, allocations: 1.123 MB / 3.715 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/7.021, allocations: 0.9837 MB / 3.716 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006536/7.022, allocations: 477 kB / 3.716 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/7.022, allocations: 40.92 kB / 3.717 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/7.022, allocations: 3.938 kB / 3.717 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.04463/7.067, allocations: 39.09 MB / 3.755 GB, free: 24.91 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches