Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009648/0.000965, allocations: 95.09 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3899/0.3899, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4306, allocations: 62.96 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.859/8.29, allocations: 3.44 GB / 3.957 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/8.29, allocations: 90.16 kB / 3.957 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.559/9.849, allocations: 462.3 MB / 4.408 GB, free: 65.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.855e-06/9.849, allocations: 3.875 kB / 4.408 GB, free: 65.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.538e-05/9.849, allocations: 30.75 kB / 4.408 GB, free: 65.85 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.007253/9.856, allocations: 1.973 MB / 4.41 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/9.856, allocations: 8.938 kB / 4.41 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/9.857, allocations: 123.8 kB / 4.41 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/9.858, allocations: 0.7567 MB / 4.411 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/9.858, allocations: 61.91 kB / 4.411 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/9.858, allocations: 70.03 kB / 4.411 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/9.861, allocations: 1.237 MB / 4.412 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/9.861, allocations: 3.938 kB / 4.412 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/9.861, allocations: 38.48 kB / 4.413 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-05/9.861, allocations: 73.58 kB / 4.413 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/9.863, allocations: 1.368 MB / 4.414 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007249/9.87, allocations: 4.836 MB / 4.419 GB, free: 62.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/9.872, allocations: 0.8179 MB / 4.419 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/9.872, allocations: 385.1 kB / 4.42 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/9.873, allocations: 0.7848 MB / 4.421 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/9.873, allocations: 45.66 kB / 4.421 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 3.226e-06/9.873, allocations: 0 / 4.421 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.001925/9.875, allocations: 1.185 MB / 4.422 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/9.875, allocations: 109.3 kB / 4.422 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/9.876, allocations: 0.9833 MB / 4.423 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/9.876, allocations: 36.73 kB / 4.423 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/9.876, allocations: 458.3 kB / 4.423 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/9.876, allocations: 187.7 kB / 4.423 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/9.876, allocations: 18.03 kB / 4.423 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/9.876, allocations: 333.4 kB / 4.424 GB, free: 60.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/9.877, allocations: 451.2 kB / 4.424 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/9.878, allocations: 0.5731 MB / 4.425 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/9.879, allocations: 0.9451 MB / 4.426 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/9.879, allocations: 0 / 4.426 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001805/9.881, allocations: 1.218 MB / 4.427 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/9.881, allocations: 164.8 kB / 4.427 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/9.881, allocations: 0 / 4.427 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/9.881, allocations: 7.031 kB / 4.427 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/9.882, allocations: 203.7 kB / 4.427 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/9.882, allocations: 6.625 kB / 4.427 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/9.883, allocations: 137.1 kB / 4.427 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/9.883, allocations: 49.73 kB / 4.427 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/9.883, allocations: 3.938 kB / 4.427 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001586/9.884, allocations: 1.068 MB / 4.429 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/9.884, allocations: 3.688 kB / 4.429 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/9.884, allocations: 7.906 kB / 4.429 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/9.885, allocations: 201.3 kB / 4.429 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/9.885, allocations: 3.375 kB / 4.429 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/9.886, allocations: 119 kB / 4.429 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/9.886, allocations: 48.5 kB / 4.429 GB, free: 58.14 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 () * 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.000514/9.887, allocations: 360.1 kB / 4.429 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/9.887, allocations: 96.34 kB / 4.429 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/9.888, allocations: 1.136 MB / 4.43 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/9.888, allocations: 5.656 kB / 4.43 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/9.889, allocations: 3.844 kB / 4.43 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/9.889, allocations: 7.734 kB / 4.43 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/9.891, allocations: 1.804 MB / 4.432 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/9.891, allocations: 3.219 kB / 4.432 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/9.891, allocations: 112 kB / 4.432 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/9.891, allocations: 2.812 kB / 4.432 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/9.891, allocations: 22.88 kB / 4.432 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/9.891, allocations: 7.75 kB / 4.432 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/9.891, allocations: 0 / 4.432 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/9.893, allocations: 0.9084 MB / 4.433 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/9.893, allocations: 222.8 kB / 4.433 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/9.893, allocations: 23.31 kB / 4.433 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/9.894, allocations: 59.38 kB / 4.434 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/9.894, allocations: 40.19 kB / 4.434 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/9.894, allocations: 43.28 kB / 4.434 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008382/9.895, allocations: 0.7509 MB / 4.434 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/9.895, allocations: 0 / 4.434 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003605/9.898, allocations: 1.32 MB / 4.436 GB, free: 55.05 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 () * 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.003903/9.902, allocations: 1.87 MB / 4.437 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002409/9.905, allocations: 1.472 MB / 4.439 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/9.905, allocations: 3.188 kB / 4.439 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005233/9.905, allocations: 361.5 kB / 4.439 GB, free: 53.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/9.908, allocations: 488.1 kB / 4.44 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/9.91, allocations: 1.989 MB / 4.442 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/9.911, allocations: 1.045 MB / 4.443 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/9.911, allocations: 120.7 kB / 4.443 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/9.911, allocations: 0 / 4.443 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.03801/9.949, allocations: 31.23 MB / 4.473 GB, free: 30.25 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches