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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 192.6 kB / 7.807 MB, free: 2.488 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.083/1.083, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008805/0.0008804, allocations: 92.03 kB / 261.4 MB, free: 13.54 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.1573/0.1573, allocations: 43.49 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.983e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 58.83 MB / 476.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.609/3.832, allocations: 2.759 GB / 3.225 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/3.832, allocations: 83.67 kB / 3.225 GB, free: 106.5 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: time 1.033/4.864, allocations: 408.7 MB / 3.624 GB, free: 59.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.5e-05/4.864, allocations: 11.03 kB / 3.624 GB, free: 59.44 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.004941/4.869, allocations: 1.528 MB / 3.625 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/4.869, allocations: 11 kB / 3.625 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/4.871, allocations: 258.8 kB / 3.626 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/4.872, allocations: 434.4 kB / 3.626 GB, free: 58.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/4.872, allocations: 22.31 kB / 3.626 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/4.872, allocations: 18.12 kB / 3.626 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005334/4.873, allocations: 349.9 kB / 3.626 GB, free: 58.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/4.873, allocations: 483.7 kB / 3.627 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/4.873, allocations: 3.938 kB / 3.627 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/4.873, allocations: 3.969 kB / 3.627 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/4.873, allocations: 11.72 kB / 3.627 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05911/4.932, allocations: 35.59 MB / 3.662 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/4.933, allocations: 189.3 kB / 3.662 GB, free: 34.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/4.933, allocations: 107.5 kB / 3.662 GB, free: 34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2547/5.188, allocations: 55.69 MB / 3.716 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/5.188, allocations: 34.59 kB / 3.716 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 2.013e-06/5.188, allocations: 0 / 3.716 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.002077/5.19, allocations: 0.5414 MB / 3.717 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/5.19, allocations: 116.1 kB / 3.717 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/5.19, allocations: 295.2 kB / 3.717 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/5.19, allocations: 25.7 kB / 3.717 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/5.19, allocations: 246.6 kB / 3.718 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/5.19, allocations: 75.36 kB / 3.718 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/5.19, allocations: 0 / 3.718 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/5.19, allocations: 348.3 kB / 3.718 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/5.19, allocations: 106.1 kB / 3.718 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/5.191, allocations: 267.5 kB / 3.718 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009729/5.192, allocations: 259.5 kB / 3.719 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/5.192, allocations: 3.781 kB / 3.719 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002107/5.194, allocations: 0.7623 MB / 3.719 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002981/5.194, allocations: 1.997 MB / 3.721 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/5.194, allocations: 10 kB / 3.721 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/5.194, allocations: 56.7 kB / 3.721 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/5.195, allocations: 116.6 kB / 3.721 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008358/5.196, allocations: 0.7045 MB / 3.722 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/5.196, allocations: 81.28 kB / 3.722 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/5.196, allocations: 23.03 kB / 3.722 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-06/5.196, allocations: 3.938 kB / 3.722 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009177/5.197, allocations: 378.6 kB / 3.723 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/5.197, allocations: 3.406 kB / 3.723 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/5.197, allocations: 15.56 kB / 3.723 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/5.197, allocations: 124.9 kB / 3.723 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/5.197, allocations: 12.31 kB / 3.723 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/5.198, allocations: 64.08 kB / 3.723 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/5.198, allocations: 24.5 kB / 3.723 GB, free: 119.2 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 (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 9.259e-05/5.198, allocations: 121.4 kB / 3.723 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/5.198, allocations: 181.8 kB / 3.723 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/5.2, allocations: 1.533 MB / 3.725 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/5.2, allocations: 17.06 kB / 3.725 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/5.2, allocations: 0 / 3.725 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/5.2, allocations: 3.516 kB / 3.725 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/5.202, allocations: 2.083 MB / 3.727 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/5.202, allocations: 0 / 3.727 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/5.202, allocations: 50.95 kB / 3.727 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/5.203, allocations: 0.4971 MB / 3.727 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/5.203, allocations: 14.45 kB / 3.727 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008025/5.203, allocations: 1.061 MB / 3.728 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/5.203, allocations: 1.375 kB / 3.728 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001544/5.205, allocations: 1.364 MB / 3.73 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/5.205, allocations: 172.4 kB / 3.73 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/5.205, allocations: 3.906 kB / 3.73 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/5.205, allocations: 35.81 kB / 3.73 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/5.205, allocations: 27.09 kB / 3.73 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/5.206, allocations: 11.19 kB / 3.73 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001607/5.206, allocations: 224.3 kB / 3.73 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004216/5.21, allocations: 1.193 MB / 3.731 GB, free: 117.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004512/5.214, allocations: 1.821 MB / 3.733 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009573/5.215, allocations: 0.8127 MB / 3.734 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/5.215, allocations: 0 / 3.734 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/5.216, allocations: 0.5588 MB / 3.734 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/5.217, allocations: 152.8 kB / 3.734 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/5.218, allocations: 0.9773 MB / 3.735 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/5.218, allocations: 0.9614 MB / 3.736 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/5.218, allocations: 0 / 3.736 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.04031/5.259, allocations: 35.85 MB / 3.771 GB, free: 116 MB / 0.5105 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