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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008539/0.0008537, allocations: 98.62 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2964/0.2964, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 4 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3415, allocations: 63.24 MB / 0.5192 GB, free: 43.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.786/6.128, allocations: 3.433 GB / 3.952 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/6.128, allocations: 87.95 kB / 3.952 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.75/7.878, allocations: 462.3 MB / 4.404 GB, free: 68.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.936e-06/7.878, allocations: 0 / 4.404 GB, free: 68.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001179/7.878, allocations: 34.39 kB / 4.404 GB, free: 68.1 MB / 0.5417 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.006666/7.885, allocations: 1.99 MB / 4.406 GB, free: 67.35 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/7.885, allocations: 8.062 kB / 4.406 GB, free: 67.35 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000704/7.886, allocations: 116.5 kB / 4.406 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/7.888, allocations: 0.7445 MB / 4.406 GB, free: 67.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/7.888, allocations: 59.62 kB / 4.406 GB, free: 67.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/7.888, allocations: 67.48 kB / 4.407 GB, free: 67.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/7.89, allocations: 1.234 MB / 4.408 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/7.89, allocations: 2.75 kB / 4.408 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/7.89, allocations: 35.3 kB / 4.408 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.154e-05/7.891, allocations: 71.34 kB / 4.408 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/7.893, allocations: 1.373 MB / 4.409 GB, free: 66.94 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007766/7.9, allocations: 4.871 MB / 4.414 GB, free: 64.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/7.902, allocations: 0.8115 MB / 4.415 GB, free: 64.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004929/7.902, allocations: 0.7814 MB / 4.415 GB, free: 64.08 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/7.902, allocations: 47.12 kB / 4.416 GB, free: 64.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/7.902, allocations: 0 / 4.416 GB, free: 64.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53): time 0.001925/7.904, allocations: 1.183 MB / 4.417 GB, free: 63.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/7.904, allocations: 108.9 kB / 4.417 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/7.905, allocations: 0.8782 MB / 4.418 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/7.905, allocations: 40.36 kB / 4.418 GB, free: 63.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/7.906, allocations: 454.9 kB / 4.418 GB, free: 63.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/7.906, allocations: 184.4 kB / 4.418 GB, free: 63.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/7.906, allocations: 18.62 kB / 4.418 GB, free: 63.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.181e-05/7.906, allocations: 340.5 kB / 4.419 GB, free: 63.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/7.907, allocations: 449.4 kB / 4.419 GB, free: 63.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/7.907, allocations: 0.5634 MB / 4.42 GB, free: 63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/7.908, allocations: 0.5125 MB / 4.42 GB, free: 62.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/7.908, allocations: 3.844 kB / 4.42 GB, free: 62.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001745/7.91, allocations: 1.212 MB / 4.421 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/7.91, allocations: 0.9702 MB / 4.422 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/7.91, allocations: 2.625 kB / 4.422 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/7.91, allocations: 11.03 kB / 4.422 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/7.911, allocations: 201.7 kB / 4.422 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/7.911, allocations: 8.562 kB / 4.422 GB, free: 61.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/7.912, allocations: 133.6 kB / 4.423 GB, free: 61.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/7.912, allocations: 45.81 kB / 4.423 GB, free: 61.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/7.912, allocations: 7.219 kB / 4.423 GB, free: 61.85 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001604/7.914, allocations: 1.072 MB / 4.424 GB, free: 61.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/7.914, allocations: 9.703 kB / 4.424 GB, free: 61.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/7.914, allocations: 4.969 kB / 4.424 GB, free: 61.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/7.914, allocations: 196.3 kB / 4.424 GB, free: 61.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/7.914, allocations: 6.625 kB / 4.424 GB, free: 61.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/7.915, allocations: 118.5 kB / 4.424 GB, free: 61.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/7.915, allocations: 47.5 kB / 4.424 GB, free: 61.8 MB / 0.5417 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 () * Number of clocked 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.0004285/7.916, allocations: 360.5 kB / 4.424 GB, free: 61.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/7.916, allocations: 98.83 kB / 4.424 GB, free: 61.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/7.918, allocations: 1.147 MB / 4.426 GB, free: 61.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/7.918, allocations: 5.875 kB / 4.426 GB, free: 61.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/7.918, allocations: 0.9688 kB / 4.426 GB, free: 61.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/7.918, allocations: 6.75 kB / 4.426 GB, free: 61.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/7.92, allocations: 1.813 MB / 4.427 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/7.92, allocations: 1.312 kB / 4.427 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/7.921, allocations: 110.9 kB / 4.428 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/7.921, allocations: 8.438 kB / 4.428 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/7.921, allocations: 18.25 kB / 4.428 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/7.921, allocations: 4.5 kB / 4.428 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/7.921, allocations: 1.875 kB / 4.428 GB, free: 61.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/7.922, allocations: 0.9999 MB / 4.429 GB, free: 60.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/7.922, allocations: 230.8 kB / 4.429 GB, free: 60.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/7.922, allocations: 11.25 kB / 4.429 GB, free: 60.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/7.923, allocations: 55.05 kB / 4.429 GB, free: 60.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/7.923, allocations: 56.55 kB / 4.429 GB, free: 60.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/7.923, allocations: 35.17 kB / 4.429 GB, free: 60.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008873/7.924, allocations: 0.7508 MB / 4.43 GB, free: 60.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/7.924, allocations: 0.8438 kB / 4.43 GB, free: 60.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003671/7.928, allocations: 1.329 MB / 4.431 GB, free: 60.24 MB / 0.5417 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 () * Number of clocked 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.004325/7.932, allocations: 1.883 MB / 4.433 GB, free: 59.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002767/7.935, allocations: 1.483 MB / 4.434 GB, free: 59.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/7.935, allocations: 3.969 kB / 4.434 GB, free: 59.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006102/7.936, allocations: 361.7 kB / 4.435 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/7.938, allocations: 486.1 kB / 4.435 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/7.94, allocations: 1.93 MB / 4.437 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/7.941, allocations: 1.067 MB / 4.438 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00168/7.942, allocations: 0.5924 MB / 4.439 GB, free: 58.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/7.943, allocations: 101.6 kB / 4.439 GB, free: 58.32 MB / 0.5417 GB Notification: Performance of SimCode: time 1.422e-06/7.943, allocations: 3.469 kB / 4.439 GB, free: 58.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.05571/7.998, allocations: 43.41 MB / 4.481 GB, free: 56.76 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