Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") [: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 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.4 MB / 230.3 MB, free: 7.723 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009394, allocations: 80.75 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1818/0.1818, allocations: 44.14 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.094e-06/7.244e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 61.92 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.401/5.522, allocations: 2.805 GB / 3.299 GB, free: 166 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/5.522, allocations: 78.58 kB / 3.299 GB, free: 166 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.777/6.299, allocations: 236 MB / 3.529 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.47e-05/6.299, allocations: 18.41 kB / 3.529 GB, free: 90.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006511/6.306, allocations: 1.318 MB / 3.531 GB, free: 90.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/6.306, allocations: 11.41 kB / 3.531 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/6.308, allocations: 282.7 kB / 3.531 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/6.309, allocations: 413.9 kB / 3.531 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/6.31, allocations: 15.06 kB / 3.531 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/6.31, allocations: 22.81 kB / 3.531 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008119/6.31, allocations: 351.2 kB / 3.532 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/6.311, allocations: 424.4 kB / 3.532 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/6.311, allocations: 3.797 kB / 3.532 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/6.311, allocations: 0 / 3.532 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/6.311, allocations: 11.12 kB / 3.532 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01936/6.331, allocations: 10.33 MB / 3.542 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/6.331, allocations: 238.8 kB / 3.543 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/6.332, allocations: 132.6 kB / 3.543 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04855/6.38, allocations: 24.21 MB / 3.566 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/6.38, allocations: 46.34 kB / 3.566 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 2.735e-06/6.38, allocations: 0 / 3.566 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.002277/6.383, allocations: 0.5439 MB / 3.567 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/6.383, allocations: 102.8 kB / 3.567 GB, free: 67.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/6.383, allocations: 272.9 kB / 3.567 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/6.383, allocations: 25.7 kB / 3.567 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/6.383, allocations: 201.5 kB / 3.567 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/6.383, allocations: 82.03 kB / 3.568 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/6.383, allocations: 0 / 3.568 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/6.383, allocations: 345.9 kB / 3.568 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/6.384, allocations: 121.7 kB / 3.568 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/6.384, allocations: 223.8 kB / 3.568 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/6.385, allocations: 228.1 kB / 3.568 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/6.385, allocations: 0 / 3.568 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001932/6.387, allocations: 0.6438 MB / 3.569 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002402/6.387, allocations: 1.042 MB / 3.57 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/6.387, allocations: 7.906 kB / 3.57 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/6.387, allocations: 3.938 kB / 3.57 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/6.388, allocations: 119.9 kB / 3.57 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/6.388, allocations: 10.97 kB / 3.57 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/6.388, allocations: 82.25 kB / 3.57 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/6.388, allocations: 19.11 kB / 3.57 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/6.388, allocations: 7.688 kB / 3.57 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/6.389, allocations: 380.9 kB / 3.571 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/6.389, allocations: 3.938 kB / 3.571 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/6.389, allocations: 3.906 kB / 3.571 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/6.39, allocations: 117 kB / 3.571 GB, free: 64.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/6.39, allocations: 11.28 kB / 3.571 GB, free: 64.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/6.39, allocations: 75.2 kB / 3.571 GB, free: 64.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/6.391, allocations: 22.58 kB / 3.571 GB, free: 64.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/6.391, allocations: 108.7 kB / 3.571 GB, free: 64.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005842/6.391, allocations: 193.4 kB / 3.571 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/6.394, allocations: 1.746 MB / 3.573 GB, free: 64.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/6.394, allocations: 22.19 kB / 3.573 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/6.394, allocations: 0 / 3.573 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/6.394, allocations: 3.906 kB / 3.573 GB, free: 64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/6.397, allocations: 2.478 MB / 3.575 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/6.397, allocations: 0 / 3.575 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/6.397, allocations: 94.81 kB / 3.575 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/6.397, allocations: 7.625 kB / 3.575 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/6.397, allocations: 14.97 kB / 3.575 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/6.397, allocations: 3.938 kB / 3.575 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/6.397, allocations: 3.844 kB / 3.575 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002722/6.4, allocations: 1.475 MB / 3.577 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/6.4, allocations: 210.5 kB / 3.577 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/6.401, allocations: 1.094 kB / 3.577 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/6.401, allocations: 62.92 kB / 3.577 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/6.401, allocations: 44.66 kB / 3.577 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/6.401, allocations: 13.95 kB / 3.577 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003443/6.402, allocations: 258.8 kB / 3.577 GB, free: 61.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006865/6.409, allocations: 1.17 MB / 3.579 GB, free: 61.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01199/6.421, allocations: 1.58 MB / 3.58 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002345/6.423, allocations: 0.9225 MB / 3.581 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/6.423, allocations: 0.9688 kB / 3.581 GB, free: 60.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009218/6.424, allocations: 0.7069 MB / 3.582 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/6.425, allocations: 162.3 kB / 3.582 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/6.428, allocations: 1.176 MB / 3.583 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007331/6.429, allocations: 0.9945 MB / 3.584 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.083e-06/6.429, allocations: 0 / 3.584 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.05948/6.488, allocations: 35.12 MB / 3.618 GB, free: 39.09 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches