Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") [: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.001825/0.00183, allocations: 181.6 kB / 8.154 MB, free: 2.18 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.686/1.686, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001287/0.001287, allocations: 93.52 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.2627/0.2627, allocations: 43.48 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.498e-06/9.878e-06, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3042, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.433/1.737, allocations: 0.6021 GB / 1.068 GB, free: 133 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/1.738, allocations: 91.12 kB / 1.068 GB, free: 133 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.902/3.639, allocations: 409.7 MB / 1.468 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001118/3.64, allocations: 33.75 kB / 1.468 GB, free: 59.33 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.007087/3.647, allocations: 1.904 MB / 1.47 GB, free: 58.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/3.647, allocations: 10.22 kB / 1.47 GB, free: 58.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/3.649, allocations: 210 kB / 1.47 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/3.652, allocations: 0.8621 MB / 1.471 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/3.652, allocations: 26.31 kB / 1.471 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/3.652, allocations: 47.09 kB / 1.471 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002879/3.655, allocations: 1.056 MB / 1.472 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/3.658, allocations: 1.132 MB / 1.473 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/3.658, allocations: 10.44 kB / 1.473 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/3.658, allocations: 0 / 1.473 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/3.658, allocations: 95.69 kB / 1.473 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/3.671, allocations: 5.014 MB / 1.478 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/3.672, allocations: 459.3 kB / 1.478 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/3.673, allocations: 323.8 kB / 1.479 GB, free: 55.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/3.673, allocations: 315 kB / 1.479 GB, free: 55.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/3.673, allocations: 38.75 kB / 1.479 GB, free: 55.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 3.437e-06/3.673, allocations: 0 / 1.479 GB, free: 55.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.01527/3.689, allocations: 2.404 MB / 1.481 GB, free: 54.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/3.689, allocations: 210 kB / 1.482 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/3.69, allocations: 0.7032 MB / 1.482 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/3.69, allocations: 27.92 kB / 1.482 GB, free: 54.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/3.691, allocations: 413.8 kB / 1.483 GB, free: 53.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/3.691, allocations: 218.9 kB / 1.483 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/3.691, allocations: 3.719 kB / 1.483 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/3.691, allocations: 345.8 kB / 1.483 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/3.692, allocations: 390.5 kB / 1.484 GB, free: 53.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/3.693, allocations: 0.6141 MB / 1.484 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/3.711, allocations: 2.007 MB / 1.486 GB, free: 53.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/3.711, allocations: 8.406 kB / 1.486 GB, free: 53.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.02003/3.731, allocations: 2.785 MB / 1.489 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005429/3.731, allocations: 2.181 MB / 1.491 GB, free: 50.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/3.731, allocations: 5.25 kB / 1.491 GB, free: 50.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003398/3.735, allocations: 482.6 kB / 1.491 GB, free: 50.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/3.736, allocations: 177.1 kB / 1.492 GB, free: 50.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/3.74, allocations: 1.443 MB / 1.493 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/3.741, allocations: 57.28 kB / 1.493 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/3.742, allocations: 92.34 kB / 1.493 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/3.742, allocations: 2.938 kB / 1.493 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01846/3.76, allocations: 2.516 MB / 1.496 GB, free: 50.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/3.76, allocations: 6.938 kB / 1.496 GB, free: 50.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/3.763, allocations: 314 kB / 1.496 GB, free: 50.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/3.764, allocations: 208.1 kB / 1.496 GB, free: 50.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/3.766, allocations: 0.9803 MB / 1.497 GB, free: 49.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/3.767, allocations: 57.34 kB / 1.497 GB, free: 49.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/3.768, allocations: 86.94 kB / 1.497 GB, free: 49.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003895/3.768, allocations: 50.86 kB / 1.497 GB, free: 49.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/3.768, allocations: 98.12 kB / 1.497 GB, free: 49.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/3.773, allocations: 1.194 MB / 1.498 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/3.773, allocations: 3.844 kB / 1.498 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/3.773, allocations: 2.812 kB / 1.499 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/3.773, allocations: 5.859 kB / 1.499 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005356/3.779, allocations: 1.854 MB / 1.5 GB, free: 49.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/3.779, allocations: 0 / 1.5 GB, free: 49.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/3.78, allocations: 152.6 kB / 1.5 GB, free: 49.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/3.78, allocations: 27.31 kB / 1.5 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/3.78, allocations: 18.95 kB / 1.501 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009128/3.781, allocations: 1.223 MB / 1.502 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/3.781, allocations: 3.844 kB / 1.502 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004087/3.785, allocations: 1.431 MB / 1.503 GB, free: 47.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/3.786, allocations: 186 kB / 1.503 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/3.786, allocations: 7.344 kB / 1.503 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/3.788, allocations: 53.41 kB / 1.503 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/3.788, allocations: 49.92 kB / 1.503 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/3.788, allocations: 53.81 kB / 1.503 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001025/3.789, allocations: 0.522 MB / 1.504 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005356/3.794, allocations: 1.211 MB / 1.505 GB, free: 47.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00695/3.801, allocations: 2.167 MB / 1.507 GB, free: 46.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004647/3.806, allocations: 1.429 MB / 1.509 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/3.806, allocations: 0.9375 kB / 1.509 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/3.807, allocations: 477.6 kB / 1.509 GB, free: 46.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/3.812, allocations: 456.6 kB / 1.51 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/3.818, allocations: 1.506 MB / 1.511 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/3.82, allocations: 1.317 MB / 1.512 GB, free: 45.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.773e-06/3.82, allocations: 3.938 kB / 1.512 GB, free: 45.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.07576/3.896, allocations: 33.81 MB / 1.545 GB, free: 29.52 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches