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.001543/0.001543, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.686/1.686, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000856/0.000856, allocations: 101.2 kB / 271.3 MB, free: 8.238 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.3845/0.3845, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.000396, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1499, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.755/6.905, allocations: 2.761 GB / 3.24 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/6.905, allocations: 92.02 kB / 3.241 GB, free: 113.7 MB / 0.4948 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.42/8.325, allocations: 396.3 MB / 3.628 GB, free: 49.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.564e-06/8.325, allocations: 0 / 3.628 GB, free: 49.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.321e-05/8.325, allocations: 12.52 kB / 3.628 GB, free: 49.2 MB / 0.4948 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.006917/8.332, allocations: 1.571 MB / 3.629 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/8.332, allocations: 6.812 kB / 3.629 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/8.334, allocations: 250.7 kB / 3.629 GB, free: 48.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000958/8.335, allocations: 434.6 kB / 3.63 GB, free: 47.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/8.335, allocations: 38.5 kB / 3.63 GB, free: 47.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.975e-05/8.335, allocations: 39.06 kB / 3.63 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/8.337, allocations: 0.6913 MB / 3.63 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/8.337, allocations: 3.938 kB / 3.631 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/8.337, allocations: 26.73 kB / 3.631 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/8.337, allocations: 10.62 kB / 3.631 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/8.338, allocations: 0.5806 MB / 3.631 GB, free: 47.4 MB / 0.4948 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.00367/8.342, allocations: 3.246 MB / 3.634 GB, free: 44.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/8.343, allocations: 428.9 kB / 3.635 GB, free: 44.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/8.343, allocations: 165.1 kB / 3.635 GB, free: 44.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09734/8.441, allocations: 55.54 MB / 3.689 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/8.441, allocations: 42.06 kB / 3.689 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 2.985e-06/8.441, allocations: 0 / 3.689 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003164/8.444, allocations: 0.8912 MB / 3.69 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/8.444, allocations: 109.6 kB / 3.69 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/8.445, allocations: 393.5 kB / 3.69 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/8.445, allocations: 29.7 kB / 3.69 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/8.445, allocations: 255.2 kB / 3.691 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/8.445, allocations: 99.69 kB / 3.691 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/8.445, allocations: 8 kB / 3.691 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001856/8.445, allocations: 351.9 kB / 3.691 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/8.446, allocations: 140.8 kB / 3.691 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/8.446, allocations: 299.9 kB / 3.692 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/8.447, allocations: 456.1 kB / 3.692 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/8.447, allocations: 3.969 kB / 3.692 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001077/8.448, allocations: 0.4995 MB / 3.693 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/8.448, allocations: 239.6 kB / 3.693 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/8.448, allocations: 3.938 kB / 3.693 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/8.45, allocations: 341.5 kB / 3.693 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/8.451, allocations: 99.2 kB / 3.693 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005735/8.451, allocations: 0.5974 MB / 3.694 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/8.452, allocations: 68.81 kB / 3.694 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/8.452, allocations: 25.86 kB / 3.694 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/8.452, allocations: 3.781 kB / 3.694 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000835/8.453, allocations: 425.8 kB / 3.694 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/8.453, allocations: 7.656 kB / 3.694 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/8.453, allocations: 6.844 kB / 3.694 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/8.453, allocations: 121.2 kB / 3.694 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/8.453, allocations: 11.47 kB / 3.694 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/8.454, allocations: 71.62 kB / 3.694 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/8.454, allocations: 26.23 kB / 3.694 GB, free: 21.45 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 () * 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.0003555/8.454, allocations: 250.5 kB / 3.695 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/8.454, allocations: 44.91 kB / 3.695 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/8.457, allocations: 1.905 MB / 3.697 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/8.457, allocations: 25.02 kB / 3.697 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/8.457, allocations: 0 / 3.697 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/8.457, allocations: 0 / 3.697 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/8.458, allocations: 0.9607 MB / 3.698 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/8.458, allocations: 3.562 kB / 3.698 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/8.458, allocations: 73.75 kB / 3.698 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/8.459, allocations: 0.6387 MB / 3.698 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/8.459, allocations: 10.94 kB / 3.698 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007804/8.46, allocations: 0.9985 MB / 3.699 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/8.46, allocations: 0 / 3.699 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/8.462, allocations: 1.294 MB / 3.701 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/8.462, allocations: 246.7 kB / 3.701 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/8.462, allocations: 7.156 kB / 3.701 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/8.463, allocations: 42.94 kB / 3.701 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/8.463, allocations: 32.42 kB / 3.701 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/8.463, allocations: 13.91 kB / 3.701 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004715/8.463, allocations: 378.1 kB / 3.701 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/8.463, allocations: 0 / 3.701 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005771/8.469, allocations: 1.21 MB / 3.702 GB, free: 17.56 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 () * 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.009427/8.478, allocations: 1.631 MB / 3.704 GB, free: 17.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002024/8.48, allocations: 0.7956 MB / 3.705 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/8.48, allocations: 3.781 kB / 3.705 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006732/8.481, allocations: 487.2 kB / 3.705 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/8.483, allocations: 224.8 kB / 3.705 GB, free: 16.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/8.486, allocations: 1.903 MB / 3.707 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007363/8.486, allocations: 0.9689 MB / 3.708 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008882/8.487, allocations: 455.8 kB / 3.709 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/8.487, allocations: 38.78 kB / 3.709 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/8.487, allocations: 0 / 3.709 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.3417/8.829, allocations: 38.82 MB / 3.747 GB, free: 82.36 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/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_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches