Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") [: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.001324/0.001324, allocations: 184.3 kB / 8.522 MB, free: 1.852 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.195/1.195, 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.0008515/0.0008514, allocations: 94.03 kB / 281.2 MB, free: 5.523 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.1757/0.1757, allocations: 44.14 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.933e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 61.9 MB / 0.4941 GB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.014/6.128, allocations: 3.438 GB / 3.933 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/6.128, allocations: 87.55 kB / 3.933 GB, free: 139 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.417/7.546, allocations: 463.4 MB / 4.385 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000102/7.546, allocations: 32 kB / 4.385 GB, free: 60.67 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006974/7.553, allocations: 1.873 MB / 4.387 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/7.553, allocations: 11.97 kB / 4.387 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/7.554, allocations: 130.6 kB / 4.387 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/7.555, allocations: 0.739 MB / 4.388 GB, free: 57.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/7.556, allocations: 24 kB / 4.388 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/7.556, allocations: 43.91 kB / 4.388 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002013/7.558, allocations: 1.23 MB / 4.389 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/7.56, allocations: 1.124 MB / 4.39 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/7.56, allocations: 0 / 4.39 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/7.56, allocations: 3.938 kB / 4.39 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.55e-05/7.56, allocations: 77.95 kB / 4.39 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007718/7.568, allocations: 4.697 MB / 4.395 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/7.569, allocations: 0.7555 MB / 4.396 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/7.569, allocations: 377.9 kB / 4.396 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/7.57, allocations: 0.7862 MB / 4.397 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/7.57, allocations: 43 kB / 4.397 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.385e-06/7.57, allocations: 4 kB / 4.397 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.002285/7.572, allocations: 0.8885 MB / 4.398 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/7.572, allocations: 111.2 kB / 4.398 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/7.573, allocations: 0.6126 MB / 4.398 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/7.573, allocations: 25.7 kB / 4.398 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/7.573, allocations: 390.3 kB / 4.399 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/7.573, allocations: 181.3 kB / 4.399 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/7.573, allocations: 0 / 4.399 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/7.573, allocations: 386.8 kB / 4.399 GB, free: 45.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/7.574, allocations: 429.8 kB / 4.4 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/7.575, allocations: 0.5388 MB / 4.4 GB, free: 44.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/7.577, allocations: 0.9136 MB / 4.401 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/7.577, allocations: 0 / 4.401 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003576/7.581, allocations: 1.555 MB / 4.403 GB, free: 42.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/7.581, allocations: 0.9637 MB / 4.404 GB, free: 41.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/7.581, allocations: 4 kB / 4.404 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/7.581, allocations: 8 kB / 4.404 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/7.582, allocations: 203.7 kB / 4.404 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/7.582, allocations: 8 kB / 4.404 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/7.583, allocations: 95.08 kB / 4.404 GB, free: 40.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/7.583, allocations: 47.97 kB / 4.404 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/7.583, allocations: 4 kB / 4.404 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003101/7.586, allocations: 1.363 MB / 4.405 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/7.586, allocations: 4 kB / 4.405 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/7.586, allocations: 7.938 kB / 4.405 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/7.587, allocations: 195.7 kB / 4.406 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/7.587, allocations: 4 kB / 4.406 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/7.588, allocations: 75.61 kB / 4.406 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/7.588, allocations: 51.95 kB / 4.406 GB, free: 38.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0002481/7.588, allocations: 128.6 kB / 4.406 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/7.589, allocations: 75.09 kB / 4.406 GB, free: 38.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/7.591, allocations: 1.233 MB / 4.407 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/7.591, allocations: 8 kB / 4.407 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/7.591, allocations: 0 / 4.407 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/7.591, allocations: 19.67 kB / 4.407 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/7.594, allocations: 1.742 MB / 4.409 GB, free: 35.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/7.594, allocations: 4 kB / 4.409 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/7.595, allocations: 107.9 kB / 4.409 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/7.595, allocations: 4 kB / 4.409 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/7.595, allocations: 11.98 kB / 4.409 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/7.595, allocations: 7.938 kB / 4.409 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.595, allocations: 4 kB / 4.409 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001688/7.596, allocations: 0.9995 MB / 4.41 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/7.597, allocations: 204 kB / 4.41 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/7.597, allocations: 7.984 kB / 4.41 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/7.598, allocations: 43.95 kB / 4.41 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/7.598, allocations: 36.3 kB / 4.41 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/7.598, allocations: 39.97 kB / 4.41 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005604/7.599, allocations: 0.5265 MB / 4.411 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003692/7.602, allocations: 1.283 MB / 4.412 GB, free: 32.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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 Backend phase and start with SimCode phase: time 0.005238/7.607, allocations: 2.052 MB / 4.414 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0021/7.61, allocations: 1.432 MB / 4.415 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/7.61, allocations: 4 kB / 4.415 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004246/7.61, allocations: 338.8 kB / 4.416 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/7.612, allocations: 307.8 kB / 4.416 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/7.615, allocations: 1.265 MB / 4.417 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009352/7.615, allocations: 1.196 MB / 4.418 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/7.615, allocations: 0 / 4.418 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.05492/7.67, allocations: 38.96 MB / 4.456 GB, free: 3.117 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches