Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002568/0.002567, allocations: 182.8 kB / 8.153 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 81.66 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2588/0.2588, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.636e-06, allocations: 224 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2888, allocations: 58.85 MB / 476.6 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.113/6.402, allocations: 2.8 GB / 3.265 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/6.402, allocations: 84.44 kB / 3.265 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.071/7.473, allocations: 233.6 MB / 3.493 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.883e-05/7.473, allocations: 7.812 kB / 3.493 GB, free: 83.14 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00655/7.48, allocations: 1.319 MB / 3.494 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/7.48, allocations: 7.5 kB / 3.494 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/7.483, allocations: 280.7 kB / 3.495 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/7.484, allocations: 408.5 kB / 3.495 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/7.484, allocations: 17.41 kB / 3.495 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/7.484, allocations: 21.88 kB / 3.495 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00101/7.485, allocations: 354.1 kB / 3.495 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/7.486, allocations: 427.8 kB / 3.496 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/7.486, allocations: 0 / 3.496 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/7.486, allocations: 7.906 kB / 3.496 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/7.486, allocations: 11.5 kB / 3.496 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03144/7.518, allocations: 10.3 MB / 3.506 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/7.518, allocations: 239.1 kB / 3.506 GB, free: 75.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/7.519, allocations: 136.9 kB / 3.506 GB, free: 75.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08047/7.599, allocations: 24.2 MB / 3.53 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/7.599, allocations: 48.77 kB / 3.53 GB, free: 60.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 3.436e-06/7.599, allocations: 0 / 3.53 GB, free: 60.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.002898/7.602, allocations: 0.5409 MB / 3.53 GB, free: 60.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/7.602, allocations: 106.5 kB / 3.531 GB, free: 60.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/7.603, allocations: 273.8 kB / 3.531 GB, free: 60.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/7.603, allocations: 25.7 kB / 3.531 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/7.603, allocations: 249.3 kB / 3.531 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/7.603, allocations: 88.72 kB / 3.531 GB, free: 60.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/7.603, allocations: 0 / 3.531 GB, free: 60.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/7.603, allocations: 324.4 kB / 3.532 GB, free: 59.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/7.603, allocations: 117.7 kB / 3.532 GB, free: 59.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/7.604, allocations: 231.4 kB / 3.532 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/7.605, allocations: 232.9 kB / 3.532 GB, free: 59.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/7.605, allocations: 0 / 3.532 GB, free: 59.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002774/7.608, allocations: 0.6165 MB / 3.533 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/7.608, allocations: 1.039 MB / 3.534 GB, free: 58.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/7.608, allocations: 7.812 kB / 3.534 GB, free: 58.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/7.608, allocations: 3.906 kB / 3.534 GB, free: 58.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/7.609, allocations: 114.9 kB / 3.534 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/7.609, allocations: 11.53 kB / 3.534 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/7.61, allocations: 73.09 kB / 3.534 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/7.61, allocations: 18.16 kB / 3.534 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/7.61, allocations: 3.75 kB / 3.534 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/7.612, allocations: 382.2 kB / 3.534 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/7.612, allocations: 3.5 kB / 3.534 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/7.612, allocations: 9.828 kB / 3.534 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009088/7.613, allocations: 115.6 kB / 3.534 GB, free: 58.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/7.613, allocations: 15.22 kB / 3.534 GB, free: 58.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/7.614, allocations: 80.19 kB / 3.534 GB, free: 58.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/7.614, allocations: 13.62 kB / 3.534 GB, free: 58.31 MB / 0.4948 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.0001278/7.614, allocations: 44.31 kB / 3.535 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008226/7.615, allocations: 188.3 kB / 3.535 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/7.618, allocations: 1.742 MB / 3.536 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/7.618, allocations: 19.19 kB / 3.536 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/7.618, allocations: 4 kB / 3.536 GB, free: 57.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/7.618, allocations: 3.938 kB / 3.536 GB, free: 57.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/7.622, allocations: 2.483 MB / 3.539 GB, free: 56.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/7.622, allocations: 3.938 kB / 3.539 GB, free: 56.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/7.623, allocations: 90.88 kB / 3.539 GB, free: 56.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/7.623, allocations: 3.75 kB / 3.539 GB, free: 56.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/7.623, allocations: 11.56 kB / 3.539 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/7.623, allocations: 6.844 kB / 3.539 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.623, allocations: 0 / 3.539 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002927/7.626, allocations: 1.476 MB / 3.54 GB, free: 55.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/7.627, allocations: 214.8 kB / 3.541 GB, free: 55.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/7.627, allocations: 7.734 kB / 3.541 GB, free: 55.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008228/7.628, allocations: 54.83 kB / 3.541 GB, free: 55.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/7.628, allocations: 46.97 kB / 3.541 GB, free: 55.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/7.628, allocations: 14.81 kB / 3.541 GB, free: 55.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003948/7.628, allocations: 268.3 kB / 3.541 GB, free: 55.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005721/7.634, allocations: 1.164 MB / 3.542 GB, free: 55.02 MB / 0.4948 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.009282/7.643, allocations: 1.57 MB / 3.544 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001851/7.645, allocations: 0.9169 MB / 3.545 GB, free: 54.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/7.645, allocations: 1.375 kB / 3.545 GB, free: 54.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009149/7.646, allocations: 0.7016 MB / 3.545 GB, free: 53.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/7.648, allocations: 172.8 kB / 3.545 GB, free: 53.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/7.651, allocations: 1.206 MB / 3.547 GB, free: 53.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/7.652, allocations: 0.994 MB / 3.548 GB, free: 52.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/7.652, allocations: 0 / 3.548 GB, free: 52.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.06523/7.717, allocations: 27.22 MB / 3.574 GB, free: 46.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches