Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 186.9 kB / 7.801 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007772/0.0007772, allocations: 91.52 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1512/0.1512, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.501e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.959/5.167, allocations: 3.603 GB / 4.068 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000162/5.167, allocations: 79.95 kB / 4.068 GB, free: 84.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.193/6.359, allocations: 472.8 MB / 4.53 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.059e-05/6.359, allocations: 27.92 kB / 4.53 GB, free: 14.36 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.00604/6.365, allocations: 1.957 MB / 4.532 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/6.366, allocations: 15.97 kB / 4.532 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000475/6.366, allocations: 122.7 kB / 4.532 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/6.367, allocations: 0.746 MB / 4.533 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/6.367, allocations: 24 kB / 4.533 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/6.368, allocations: 40 kB / 4.533 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001766/6.369, allocations: 1.242 MB / 4.534 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/6.371, allocations: 1.132 MB / 4.535 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/6.371, allocations: 0 / 4.535 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/6.371, allocations: 0 / 4.535 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.632e-05/6.371, allocations: 81.94 kB / 4.535 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007368/6.379, allocations: 4.595 MB / 4.54 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/6.38, allocations: 0.7572 MB / 4.541 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/6.38, allocations: 378 kB / 4.541 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/6.381, allocations: 0.7368 MB / 4.542 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/6.381, allocations: 42.94 kB / 4.542 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.064e-06/6.381, allocations: 0 / 4.542 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.002247/6.383, allocations: 0.9081 MB / 4.543 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/6.383, allocations: 111.2 kB / 4.543 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/6.384, allocations: 0.6204 MB / 4.543 GB, free: 236 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/6.384, allocations: 25.7 kB / 4.543 GB, free: 204 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.1503/6.534, allocations: 387.5 kB / 4.544 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/6.535, allocations: 180.2 kB / 4.544 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/6.535, allocations: 0 / 4.544 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001499/6.535, allocations: 384.6 kB / 4.544 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006691/6.536, allocations: 436 kB / 4.545 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/6.536, allocations: 0.5457 MB / 4.545 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007014/6.543, allocations: 1.612 MB / 4.547 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/6.543, allocations: 3.906 kB / 4.547 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.007272/6.551, allocations: 2.248 MB / 4.549 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/6.551, allocations: 0.9647 MB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/6.551, allocations: 3.781 kB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/6.551, allocations: 7.875 kB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008979/6.552, allocations: 207.1 kB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/6.552, allocations: 6.562 kB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008274/6.552, allocations: 94.47 kB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/6.553, allocations: 67.95 kB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/6.553, allocations: 3.594 kB / 4.55 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007001/6.56, allocations: 2.069 MB / 4.552 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/6.56, allocations: 4.688 kB / 4.552 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/6.56, allocations: 5.812 kB / 4.552 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/6.56, allocations: 210.3 kB / 4.553 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/6.56, allocations: 6.5 kB / 4.553 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/6.561, allocations: 77.83 kB / 4.553 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/6.561, allocations: 55.17 kB / 4.553 GB, free: 108.6 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.0002094/6.561, allocations: 125.7 kB / 4.553 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/6.562, allocations: 78.34 kB / 4.553 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/6.564, allocations: 1.183 MB / 4.554 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/6.564, allocations: 9.875 kB / 4.554 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/6.564, allocations: 3.906 kB / 4.554 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/6.564, allocations: 3.234 kB / 4.554 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/6.567, allocations: 1.764 MB / 4.556 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/6.567, allocations: 7.219 kB / 4.556 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/6.567, allocations: 110.6 kB / 4.556 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/6.567, allocations: 6.188 kB / 4.556 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/6.567, allocations: 14.42 kB / 4.556 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/6.567, allocations: 5.406 kB / 4.556 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/6.567, allocations: 3.375 kB / 4.556 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001523/6.569, allocations: 1.018 MB / 4.557 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/6.569, allocations: 209.9 kB / 4.557 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/6.569, allocations: 6.719 kB / 4.557 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/6.57, allocations: 39.48 kB / 4.557 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/6.57, allocations: 44.3 kB / 4.557 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/6.57, allocations: 45.48 kB / 4.557 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004877/6.57, allocations: 0.5247 MB / 4.558 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003073/6.573, allocations: 1.339 MB / 4.559 GB, free: 107.4 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.003548/6.577, allocations: 2.189 MB / 4.561 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001806/6.579, allocations: 1.448 MB / 4.563 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/6.579, allocations: 6.438 kB / 4.563 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/6.579, allocations: 347 kB / 4.563 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/6.581, allocations: 303.7 kB / 4.563 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/6.583, allocations: 1.252 MB / 4.564 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009356/6.584, allocations: 1.228 MB / 4.566 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of SimCode: time 4e-07/6.584, allocations: 2.781 kB / 4.566 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.04742/6.631, allocations: 40.26 MB / 4.605 GB, free: 105.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches