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.001312/0.001312, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 94.69 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4178/0.4178, allocations: 45.24 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002896, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4195, allocations: 63.24 MB / 0.5192 GB, free: 43.98 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.905/6.325, allocations: 2.767 GB / 3.286 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/6.325, allocations: 89.77 kB / 3.286 GB, free: 2.527 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.508/7.833, allocations: 417.8 MB / 3.694 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/7.833, allocations: 4 kB / 3.694 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.982e-05/7.833, allocations: 12 kB / 3.694 GB, free: 29.52 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.006215/7.84, allocations: 1.576 MB / 3.695 GB, free: 27.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/7.84, allocations: 8.031 kB / 3.695 GB, free: 27.89 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/7.842, allocations: 255.2 kB / 3.696 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/7.842, allocations: 424.7 kB / 3.696 GB, free: 27.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/7.843, allocations: 41.62 kB / 3.696 GB, free: 27.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/7.843, allocations: 36 kB / 3.696 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/7.844, allocations: 0.6942 MB / 3.697 GB, free: 26.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/7.844, allocations: 3.938 kB / 3.697 GB, free: 26.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/7.844, allocations: 20 kB / 3.697 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/7.844, allocations: 8 kB / 3.697 GB, free: 26.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/7.846, allocations: 0.5917 MB / 3.697 GB, free: 25.74 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.003354/7.849, allocations: 3.238 MB / 3.7 GB, free: 22.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/7.85, allocations: 432.1 kB / 3.701 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4176/8.268, allocations: 61.79 MB / 3.761 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/8.268, allocations: 36.34 kB / 3.761 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/8.268, allocations: 0 / 3.761 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.002793/8.271, allocations: 0.8896 MB / 3.762 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/8.271, allocations: 106.6 kB / 3.762 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/8.271, allocations: 347.1 kB / 3.763 GB, free: 39.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/8.271, allocations: 31.55 kB / 3.763 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/8.271, allocations: 257.4 kB / 3.763 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/8.271, allocations: 94.95 kB / 3.763 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/8.271, allocations: 8.312 kB / 3.763 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/8.272, allocations: 358.6 kB / 3.763 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/8.272, allocations: 132.7 kB / 3.763 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/8.272, allocations: 306.8 kB / 3.764 GB, free: 39.19 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/8.273, allocations: 172.6 kB / 3.764 GB, free: 39.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/8.273, allocations: 0 / 3.764 GB, free: 39.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009246/8.274, allocations: 0.5042 MB / 3.764 GB, free: 39.12 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004981/8.274, allocations: 2.007 MB / 3.766 GB, free: 37.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/8.274, allocations: 3.094 kB / 3.766 GB, free: 37.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/8.277, allocations: 337.2 kB / 3.767 GB, free: 37.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/8.277, allocations: 104.3 kB / 3.767 GB, free: 37.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005276/8.278, allocations: 0.5956 MB / 3.767 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/8.278, allocations: 78.53 kB / 3.767 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/8.278, allocations: 25.22 kB / 3.767 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/8.278, allocations: 6.438 kB / 3.767 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008873/8.279, allocations: 419.5 kB / 3.768 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/8.279, allocations: 5.469 kB / 3.768 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/8.279, allocations: 8.781 kB / 3.768 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/8.28, allocations: 120.2 kB / 3.768 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/8.28, allocations: 11.19 kB / 3.768 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/8.28, allocations: 66.78 kB / 3.768 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/8.28, allocations: 25.05 kB / 3.768 GB, free: 36.48 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.0003855/8.28, allocations: 250.8 kB / 3.768 GB, free: 36.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/8.281, allocations: 45.36 kB / 3.768 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/8.283, allocations: 1.904 MB / 3.77 GB, free: 36.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/8.283, allocations: 28.39 kB / 3.77 GB, free: 36.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/8.283, allocations: 1.312 kB / 3.77 GB, free: 36.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/8.283, allocations: 2.859 kB / 3.77 GB, free: 36.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/8.284, allocations: 0.9597 MB / 3.771 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/8.284, allocations: 0 / 3.771 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/8.285, allocations: 76.03 kB / 3.771 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/8.286, allocations: 0.6376 MB / 3.772 GB, free: 35.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/8.286, allocations: 6.688 kB / 3.772 GB, free: 35.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007991/8.287, allocations: 0.9979 MB / 3.773 GB, free: 35.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/8.287, allocations: 0 / 3.773 GB, free: 35.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/8.289, allocations: 1.289 MB / 3.774 GB, free: 35.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/8.289, allocations: 256.2 kB / 3.774 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/8.289, allocations: 3.891 kB / 3.774 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/8.29, allocations: 39.08 kB / 3.774 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/8.29, allocations: 34.36 kB / 3.774 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/8.29, allocations: 11.39 kB / 3.774 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004611/8.29, allocations: 375.9 kB / 3.775 GB, free: 34.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.2e-07/8.29, allocations: 2.062 kB / 3.775 GB, free: 34.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006107/8.296, allocations: 1.223 MB / 3.776 GB, free: 34.81 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.00899/8.305, allocations: 1.647 MB / 3.778 GB, free: 34.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002165/8.307, allocations: 0.7934 MB / 3.778 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/8.308, allocations: 5.031 kB / 3.778 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006667/8.308, allocations: 485 kB / 3.779 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/8.31, allocations: 229.2 kB / 3.779 GB, free: 34.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/8.312, allocations: 1.9 MB / 3.781 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/8.313, allocations: 0.9849 MB / 3.782 GB, free: 33.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009326/8.314, allocations: 455.5 kB / 3.782 GB, free: 33.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/8.314, allocations: 46.44 kB / 3.782 GB, free: 33.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.413e-06/8.314, allocations: 0 / 3.782 GB, free: 33.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.05288/8.367, allocations: 36.6 MB / 3.818 GB, free: 31.05 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/jenkins/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