Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00186/0.00186, allocations: 199.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 95.47 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4661/0.4661, allocations: 44.82 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4942, allocations: 62.96 MB / 0.5184 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.396/8.89, allocations: 2.767 GB / 3.285 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004717/8.891, allocations: 92.38 kB / 3.285 GB, free: 156.2 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.335/10.23, allocations: 400.8 MB / 3.677 GB, free: 43.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.945e-06/10.23, allocations: 0 / 3.677 GB, free: 43.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.536e-05/10.23, allocations: 18.81 kB / 3.677 GB, free: 43.49 MB / 0.5417 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.006883/10.23, allocations: 1.572 MB / 3.678 GB, free: 41.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/10.23, allocations: 8.031 kB / 3.678 GB, free: 41.87 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/10.24, allocations: 258.3 kB / 3.678 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/10.24, allocations: 441.8 kB / 3.679 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/10.24, allocations: 38.12 kB / 3.679 GB, free: 41.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/10.24, allocations: 36 kB / 3.679 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/10.24, allocations: 0.6992 MB / 3.68 GB, free: 40.33 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/10.24, allocations: 0 / 3.68 GB, free: 40.33 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/10.24, allocations: 20 kB / 3.68 GB, free: 40.31 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/10.24, allocations: 8 kB / 3.68 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/10.24, allocations: 0.5865 MB / 3.68 GB, free: 39.73 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003942/10.24, allocations: 3.241 MB / 3.683 GB, free: 36.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/10.24, allocations: 429.1 kB / 3.684 GB, free: 35.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/10.25, allocations: 164.7 kB / 3.684 GB, free: 35.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5175/10.76, allocations: 61.8 MB / 3.744 GB, free: 54.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/10.76, allocations: 40.97 kB / 3.744 GB, free: 54.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 2.445e-06/10.76, allocations: 0 / 3.744 GB, free: 54.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.002802/10.77, allocations: 0.8936 MB / 3.745 GB, free: 54.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/10.77, allocations: 109.4 kB / 3.745 GB, free: 54.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/10.77, allocations: 387.9 kB / 3.746 GB, free: 53.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/10.77, allocations: 31.64 kB / 3.746 GB, free: 53.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/10.77, allocations: 259.3 kB / 3.746 GB, free: 53.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/10.77, allocations: 92.42 kB / 3.746 GB, free: 53.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/10.77, allocations: 2.875 kB / 3.746 GB, free: 53.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/10.77, allocations: 360.5 kB / 3.746 GB, free: 53.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/10.77, allocations: 137 kB / 3.746 GB, free: 53.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/10.77, allocations: 304.1 kB / 3.747 GB, free: 53.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/10.77, allocations: 448.8 kB / 3.747 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/10.77, allocations: 0.7812 kB / 3.747 GB, free: 53.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009537/10.77, allocations: 0.5084 MB / 3.748 GB, free: 53.03 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/10.77, allocations: 247.3 kB / 3.748 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/10.77, allocations: 6.562 kB / 3.748 GB, free: 52.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/10.77, allocations: 335.2 kB / 3.748 GB, free: 52.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/10.77, allocations: 103.8 kB / 3.748 GB, free: 52.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004085/10.77, allocations: 0.5921 MB / 3.749 GB, free: 52.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/10.77, allocations: 72.7 kB / 3.749 GB, free: 52.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/10.77, allocations: 25.78 kB / 3.749 GB, free: 52.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/10.77, allocations: 8.406 kB / 3.749 GB, free: 52.23 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007844/10.77, allocations: 419.9 kB / 3.749 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/10.77, allocations: 4.969 kB / 3.749 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/10.77, allocations: 12.75 kB / 3.749 GB, free: 52.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/10.77, allocations: 119.7 kB / 3.75 GB, free: 52.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/10.77, allocations: 13.03 kB / 3.75 GB, free: 52.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/10.77, allocations: 69.25 kB / 3.75 GB, free: 52.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/10.77, allocations: 21.06 kB / 3.75 GB, free: 52.2 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 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked 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.0002764/10.77, allocations: 256.6 kB / 3.75 GB, free: 52.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/10.77, allocations: 45.5 kB / 3.75 GB, free: 51.99 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/10.78, allocations: 1.891 MB / 3.752 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/10.78, allocations: 27.34 kB / 3.752 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/10.78, allocations: 2.344 kB / 3.752 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/10.78, allocations: 3.188 kB / 3.752 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/10.78, allocations: 0.9637 MB / 3.753 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/10.78, allocations: 0 / 3.753 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/10.78, allocations: 76.36 kB / 3.753 GB, free: 51.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/10.78, allocations: 0.6391 MB / 3.753 GB, free: 51.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/10.78, allocations: 7.188 kB / 3.753 GB, free: 51.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008902/10.78, allocations: 0.9993 MB / 3.754 GB, free: 51.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/10.78, allocations: 1.688 kB / 3.754 GB, free: 51.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/10.78, allocations: 1.294 MB / 3.756 GB, free: 50.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/10.78, allocations: 250.5 kB / 3.756 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/10.78, allocations: 13.2 kB / 3.756 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/10.78, allocations: 38.16 kB / 3.756 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/10.78, allocations: 35.25 kB / 3.756 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/10.78, allocations: 13.7 kB / 3.756 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006078/10.78, allocations: 375.6 kB / 3.756 GB, free: 50.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/10.78, allocations: 0 / 3.756 GB, free: 50.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006065/10.79, allocations: 1.216 MB / 3.758 GB, free: 50.52 MB / 0.5417 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 () * Number of clocked 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.007945/10.8, allocations: 1.64 MB / 3.759 GB, free: 50.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001964/10.8, allocations: 0.7916 MB / 3.76 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/10.8, allocations: 0 / 3.76 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/10.8, allocations: 486.2 kB / 3.76 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/10.8, allocations: 236.4 kB / 3.761 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/10.8, allocations: 1.9 MB / 3.763 GB, free: 49.53 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/10.81, allocations: 0.9731 MB / 3.763 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008475/10.81, allocations: 447.1 kB / 3.764 GB, free: 48.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/10.81, allocations: 41.62 kB / 3.764 GB, free: 48.81 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/10.81, allocations: 0.7812 kB / 3.764 GB, free: 48.81 MB / 0.5417 GB Notification: Performance of Templates: time 0.05211/10.86, allocations: 38.92 MB / 3.802 GB, free: 47.2 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestPressure/TestPressure.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches