Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.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_trunk_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_trunk_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 trunk/package.mo): time 0.001217/0.001216, allocations: 195.8 kB / 8.535 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009341/0.0009343, allocations: 102.1 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 45.14 MB / 383.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.404e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.639/6.796, allocations: 3.432 GB / 3.936 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/6.796, allocations: 86.39 kB / 3.936 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.455/8.251, allocations: 460.6 MB / 4.386 GB, free: 73.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.833e-05/8.251, allocations: 27.03 kB / 4.386 GB, free: 73.11 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006937/8.258, allocations: 1.896 MB / 4.388 GB, free: 71.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/8.258, allocations: 8.031 kB / 4.388 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/8.259, allocations: 118.7 kB / 4.388 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/8.261, allocations: 0.7582 MB / 4.388 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/8.261, allocations: 28 kB / 4.388 GB, free: 70.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/8.262, allocations: 40 kB / 4.389 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00231/8.264, allocations: 1.23 MB / 4.39 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/8.266, allocations: 1.116 MB / 4.391 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/8.266, allocations: 0 / 4.391 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/8.266, allocations: 0 / 4.391 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.098e-05/8.266, allocations: 85.94 kB / 4.391 GB, free: 67.74 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/8.28, allocations: 4.695 MB / 4.395 GB, free: 62.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/8.282, allocations: 0.7497 MB / 4.396 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000827/8.283, allocations: 378 kB / 4.397 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/8.284, allocations: 0.7777 MB / 4.397 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/8.284, allocations: 42.98 kB / 4.397 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 5.14e-06/8.284, allocations: 0 / 4.397 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.004452/8.288, allocations: 0.8925 MB / 4.398 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/8.288, allocations: 111.2 kB / 4.398 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/8.29, allocations: 0.6127 MB / 4.399 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/8.29, allocations: 25.7 kB / 4.399 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/8.29, allocations: 390.3 kB / 4.399 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/8.29, allocations: 181.3 kB / 4.399 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/8.29, allocations: 0 / 4.399 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001432/8.291, allocations: 382.7 kB / 4.4 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/8.292, allocations: 437.8 kB / 4.4 GB, free: 57.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/8.293, allocations: 0.5427 MB / 4.401 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006859/8.3, allocations: 1.015 MB / 4.402 GB, free: 55.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/8.3, allocations: 8 kB / 4.402 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.009481/8.309, allocations: 1.645 MB / 4.403 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/8.31, allocations: 0.9628 MB / 4.404 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/8.31, allocations: 4 kB / 4.404 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/8.31, allocations: 4 kB / 4.404 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/8.312, allocations: 203.7 kB / 4.405 GB, free: 53.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/8.312, allocations: 8 kB / 4.405 GB, free: 53.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/8.314, allocations: 95.08 kB / 4.405 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/8.314, allocations: 51.97 kB / 4.405 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/8.314, allocations: 7.438 kB / 4.405 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008134/8.322, allocations: 1.464 MB / 4.406 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/8.322, allocations: 8.25 kB / 4.406 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/8.322, allocations: 12 kB / 4.406 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/8.324, allocations: 199.7 kB / 4.406 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/8.324, allocations: 8 kB / 4.406 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/8.326, allocations: 71.34 kB / 4.406 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/8.326, allocations: 47.97 kB / 4.406 GB, free: 51.09 MB / 0.5261 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.0004507/8.326, allocations: 124.7 kB / 4.407 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/8.327, allocations: 71.16 kB / 4.407 GB, free: 50.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004949/8.332, allocations: 1.25 MB / 4.408 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/8.332, allocations: 11.84 kB / 4.408 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/8.332, allocations: 0 / 4.408 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/8.332, allocations: 3.984 kB / 4.408 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005666/8.337, allocations: 1.75 MB / 4.41 GB, free: 47.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/8.337, allocations: 4 kB / 4.41 GB, free: 47.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009721/8.338, allocations: 112.1 kB / 4.41 GB, free: 47.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/8.338, allocations: 4 kB / 4.41 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/8.339, allocations: 8 kB / 4.41 GB, free: 47.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/8.339, allocations: 7.984 kB / 4.41 GB, free: 47.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/8.339, allocations: 7.938 kB / 4.41 GB, free: 47.66 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003267/8.342, allocations: 0.9947 MB / 4.411 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005397/8.342, allocations: 204 kB / 4.411 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/8.343, allocations: 4 kB / 4.411 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/8.344, allocations: 39.95 kB / 4.411 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/8.345, allocations: 48.22 kB / 4.411 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/8.345, allocations: 35.98 kB / 4.411 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001143/8.346, allocations: 0.5304 MB / 4.412 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004749/8.351, allocations: 1.306 MB / 4.413 GB, free: 44.4 MB / 0.5261 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.004778/8.355, allocations: 2.08 MB / 4.415 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002692/8.358, allocations: 1.44 MB / 4.416 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/8.358, allocations: 0 / 4.416 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004923/8.359, allocations: 345.4 kB / 4.417 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/8.361, allocations: 301.2 kB / 4.417 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/8.363, allocations: 1.262 MB / 4.418 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/8.364, allocations: 1.199 MB / 4.419 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/8.364, allocations: 4 kB / 4.419 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.05125/8.415, allocations: 39.08 MB / 4.457 GB, free: 15.06 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches