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") [: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 trunk/package.mo): time 0.001278/0.001278, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 91.73 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.313e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.142, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.599/6.741, allocations: 2.766 GB / 3.27 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/6.741, allocations: 79.62 kB / 3.27 GB, free: 134.2 MB / 0.5261 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: time 1.377/8.119, allocations: 413.2 MB / 3.673 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.299e-05/8.119, allocations: 11.72 kB / 3.673 GB, free: 69.47 MB / 0.5261 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.006575/8.125, allocations: 1.538 MB / 3.675 GB, free: 68.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/8.125, allocations: 9.094 kB / 3.675 GB, free: 68.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/8.128, allocations: 280.6 kB / 3.675 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/8.129, allocations: 424.4 kB / 3.675 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/8.129, allocations: 17.5 kB / 3.675 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/8.129, allocations: 21.84 kB / 3.675 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007049/8.13, allocations: 357.2 kB / 3.676 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000737/8.131, allocations: 479 kB / 3.676 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/8.131, allocations: 2.25 kB / 3.676 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/8.131, allocations: 4.469 kB / 3.676 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/8.131, allocations: 9.344 kB / 3.676 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06934/8.2, allocations: 40.36 MB / 3.716 GB, free: 42.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/8.2, allocations: 191.8 kB / 3.716 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/8.201, allocations: 104.2 kB / 3.716 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1176/8.318, allocations: 63.56 MB / 3.778 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/8.318, allocations: 40.06 kB / 3.778 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/8.318, allocations: 0 / 3.778 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22): time 0.002623/8.321, allocations: 0.5466 MB / 3.778 GB, free: 31.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/8.321, allocations: 108.1 kB / 3.779 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/8.322, allocations: 299.1 kB / 3.779 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/8.322, allocations: 25.7 kB / 3.779 GB, free: 31.58 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/8.322, allocations: 241.4 kB / 3.779 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/8.322, allocations: 85.97 kB / 3.779 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/8.322, allocations: 0 / 3.779 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002353/8.322, allocations: 349 kB / 3.78 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/8.322, allocations: 99.81 kB / 3.78 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/8.323, allocations: 270.3 kB / 3.78 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/8.324, allocations: 265.2 kB / 3.78 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/8.324, allocations: 1.062 kB / 3.78 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002518/8.326, allocations: 0.7539 MB / 3.781 GB, free: 30.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008927/8.327, allocations: 2.01 MB / 3.783 GB, free: 28.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/8.327, allocations: 10.38 kB / 3.783 GB, free: 28.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/8.327, allocations: 53.3 kB / 3.783 GB, free: 28.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/8.328, allocations: 104.7 kB / 3.783 GB, free: 28.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/8.329, allocations: 0.712 MB / 3.784 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/8.329, allocations: 78.09 kB / 3.784 GB, free: 27.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/8.329, allocations: 27.5 kB / 3.784 GB, free: 27.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/8.329, allocations: 4 kB / 3.784 GB, free: 27.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/8.33, allocations: 377.9 kB / 3.784 GB, free: 27.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/8.331, allocations: 8 kB / 3.784 GB, free: 27.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/8.331, allocations: 8 kB / 3.784 GB, free: 27.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/8.331, allocations: 117.4 kB / 3.784 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/8.331, allocations: 17.59 kB / 3.784 GB, free: 27.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/8.331, allocations: 62.91 kB / 3.784 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/8.331, allocations: 27.56 kB / 3.784 GB, free: 27.36 MB / 0.5573 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 0.0001444/8.332, allocations: 122.2 kB / 3.784 GB, free: 27.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/8.332, allocations: 177.7 kB / 3.785 GB, free: 27.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/8.334, allocations: 1.537 MB / 3.786 GB, free: 26.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/8.334, allocations: 16.86 kB / 3.786 GB, free: 26.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/8.334, allocations: 0 / 3.786 GB, free: 26.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/8.334, allocations: 3.703 kB / 3.786 GB, free: 26.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/8.336, allocations: 2.087 MB / 3.788 GB, free: 24.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/8.336, allocations: 0 / 3.788 GB, free: 24.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/8.336, allocations: 49.14 kB / 3.788 GB, free: 24.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005313/8.337, allocations: 0.4995 MB / 3.789 GB, free: 23.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/8.337, allocations: 7.844 kB / 3.789 GB, free: 23.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/8.338, allocations: 1.066 MB / 3.79 GB, free: 22.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/8.338, allocations: 0 / 3.79 GB, free: 22.72 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001783/8.34, allocations: 1.366 MB / 3.791 GB, free: 21.47 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/8.34, allocations: 187.3 kB / 3.791 GB, free: 21.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/8.34, allocations: 0 / 3.791 GB, free: 21.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/8.34, allocations: 31.69 kB / 3.791 GB, free: 21.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/8.341, allocations: 30.64 kB / 3.791 GB, free: 21.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/8.341, allocations: 15.55 kB / 3.791 GB, free: 21.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0002295/8.341, allocations: 220.9 kB / 3.792 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005573/8.346, allocations: 1.203 MB / 3.793 GB, free: 19.87 MB / 0.5573 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.007679/8.354, allocations: 1.824 MB / 3.795 GB, free: 18.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001372/8.355, allocations: 0.8116 MB / 3.795 GB, free: 17.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/8.356, allocations: 4 kB / 3.795 GB, free: 17.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/8.356, allocations: 0.5602 MB / 3.796 GB, free: 17.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/8.357, allocations: 152.8 kB / 3.796 GB, free: 17.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/8.358, allocations: 0.9803 MB / 3.797 GB, free: 16.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005927/8.359, allocations: 0.9615 MB / 3.798 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of SimCode: time 7.71e-07/8.359, allocations: 0 / 3.798 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of Templates: time 0.2565/8.616, allocations: 35.91 MB / 3.833 GB, free: 151.9 MB / 0.5573 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