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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 91.3 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 202 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.8 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2681/0.2681, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6777/0.8266, allocations: 212.8 MB / 0.6796 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02295/0.8496, allocations: 8.784 MB / 0.6882 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.8517, allocations: 31.75 kB / 0.6882 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.8538, allocations: 441.7 kB / 0.6886 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.8644, allocations: 2.509 MB / 0.6911 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.878, allocations: 3.625 MB / 0.6946 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005312/0.8833, allocations: 3.853 MB / 0.6984 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.8849, allocations: 0.6209 MB / 0.699 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.8875, allocations: 0.8717 MB / 0.6998 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.89, allocations: 1.145 MB / 0.7009 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004014/0.8905, allocations: 52 kB / 0.701 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/0.907, allocations: 8.126 MB / 0.7089 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.9083, allocations: 414.8 kB / 0.7093 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.9101, allocations: 0.5656 MB / 0.7099 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.3924/1.303, allocations: 5.485 MB / 0.7152 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.303, allocations: 0 / 0.7152 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.325e-06/1.303, allocations: 0 / 0.7152 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.413e-05/1.303, allocations: 0.9062 kB / 0.7152 GB, free: 10.7 MB / 0.5294 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.009002/1.312, allocations: 1.966 MB / 0.7172 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.312, allocations: 9.688 kB / 0.7172 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/1.313, allocations: 116.5 kB / 0.7173 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.314, allocations: 0.7005 MB / 0.718 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/1.314, allocations: 61.44 kB / 0.718 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/1.314, allocations: 70.28 kB / 0.7181 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/1.317, allocations: 1.255 MB / 0.7193 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.317, allocations: 0 / 0.7193 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.317, allocations: 32.28 kB / 0.7193 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/1.317, allocations: 79.86 kB / 0.7194 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/1.32, allocations: 1.397 MB / 0.7208 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00828/1.328, allocations: 4.912 MB / 0.7256 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/1.33, allocations: 0.8449 MB / 0.7264 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/1.33, allocations: 404.7 kB / 0.7268 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/1.331, allocations: 0.7866 MB / 0.7276 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/1.331, allocations: 43.48 kB / 0.7276 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 3.787e-06/1.331, allocations: 3.562 kB / 0.7276 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002497/1.334, allocations: 1.231 MB / 0.7288 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/1.334, allocations: 110.4 kB / 0.7289 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/1.335, allocations: 0.9892 MB / 0.7299 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.335, allocations: 35.95 kB / 0.7299 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/1.336, allocations: 462.2 kB / 0.7303 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/1.336, allocations: 180.6 kB / 0.7305 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.336, allocations: 71.67 kB / 0.7306 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003614/1.336, allocations: 343.5 kB / 0.7309 GB, free: 21.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/1.337, allocations: 482 kB / 0.7314 GB, free: 21.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/1.338, allocations: 0.6044 MB / 0.732 GB, free: 21.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/1.339, allocations: 1.018 MB / 0.733 GB, free: 21.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.339, allocations: 0 / 0.733 GB, free: 21.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002264/1.342, allocations: 1.28 MB / 0.7342 GB, free: 20.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.342, allocations: 180.1 kB / 0.7344 GB, free: 20.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.342, allocations: 2.875 kB / 0.7344 GB, free: 20.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.342, allocations: 11.94 kB / 0.7344 GB, free: 20.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/1.343, allocations: 205.3 kB / 0.7346 GB, free: 20.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.343, allocations: 9.594 kB / 0.7346 GB, free: 20.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.344, allocations: 136.8 kB / 0.7347 GB, free: 20.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.344, allocations: 48.12 kB / 0.7348 GB, free: 20.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.344, allocations: 3.188 kB / 0.7348 GB, free: 20.69 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001874/1.346, allocations: 1.122 MB / 0.7359 GB, free: 20.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.346, allocations: 2.875 kB / 0.7359 GB, free: 20.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/1.346, allocations: 7.375 kB / 0.7359 GB, free: 20.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/1.347, allocations: 206.2 kB / 0.7361 GB, free: 20.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/1.347, allocations: 5.969 kB / 0.7361 GB, free: 20.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.348, allocations: 112.1 kB / 0.7362 GB, free: 20.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.348, allocations: 47.45 kB / 0.7362 GB, free: 20.61 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000996/1.349, allocations: 366.4 kB / 0.7366 GB, free: 20.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/1.35, allocations: 95.75 kB / 0.7367 GB, free: 20.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/1.352, allocations: 1.196 MB / 0.7378 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.352, allocations: 5.438 kB / 0.7379 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.352, allocations: 6.219 kB / 0.7379 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.352, allocations: 0 / 0.7379 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/1.355, allocations: 1.87 MB / 0.7397 GB, free: 19.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.355, allocations: 2.312 kB / 0.7397 GB, free: 19.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/1.355, allocations: 123.5 kB / 0.7398 GB, free: 19.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/1.355, allocations: 6.875 kB / 0.7398 GB, free: 19.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/1.355, allocations: 15.97 kB / 0.7398 GB, free: 19.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/1.355, allocations: 5.609 kB / 0.7398 GB, free: 19.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.355, allocations: 2.906 kB / 0.7398 GB, free: 19.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.357, allocations: 0.9311 MB / 0.7407 GB, free: 19.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/1.357, allocations: 235.1 kB / 0.741 GB, free: 19.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.357, allocations: 16.03 kB / 0.741 GB, free: 19.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/1.358, allocations: 53.75 kB / 0.741 GB, free: 19.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.358, allocations: 37.59 kB / 0.7411 GB, free: 19.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/1.358, allocations: 42.42 kB / 0.7411 GB, free: 19.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009953/1.359, allocations: 0.7585 MB / 0.7419 GB, free: 19.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/1.359, allocations: 0 / 0.7419 GB, free: 19.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004002/1.363, allocations: 1.168 MB / 0.743 GB, free: 19.09 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003742/1.367, allocations: 1.093 MB / 0.7441 GB, free: 18.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003007/1.37, allocations: 1.552 MB / 0.7456 GB, free: 18.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.37, allocations: 3.125 kB / 0.7456 GB, free: 18.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005867/1.371, allocations: 382.2 kB / 0.7459 GB, free: 18.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/1.374, allocations: 0.5042 MB / 0.7464 GB, free: 18.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/1.377, allocations: 2.066 MB / 0.7485 GB, free: 17.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/1.377, allocations: 1.054 MB / 0.7495 GB, free: 17.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002014/1.379, allocations: 0.7383 MB / 0.7502 GB, free: 17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/1.38, allocations: 100.5 kB / 0.7503 GB, free: 17 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/1.38, allocations: 3.938 kB / 0.7503 GB, free: 16.99 MB / 0.545 GB Notification: Performance of Templates: time 0.0552/1.435, allocations: 34.35 MB / 0.7839 GB, free: 15.59 MB / 0.5606 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches