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.0008887/0.0008887, allocations: 93.22 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.00113/0.00113, allocations: 203.6 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.485/1.485, allocations: 227.8 MB / 246.8 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002545, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 63.55 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.4586/0.5687, allocations: 212.8 MB / 0.6796 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.5818, allocations: 8.794 MB / 0.6882 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.5829, allocations: 31.75 kB / 0.6882 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.5843, allocations: 433.8 kB / 0.6886 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007102/0.5914, allocations: 2.513 MB / 0.6911 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009703/0.6011, allocations: 3.623 MB / 0.6946 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004574/0.6057, allocations: 3.862 MB / 0.6984 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.6072, allocations: 0.6239 MB / 0.699 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.6093, allocations: 0.8717 MB / 0.6998 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.6115, allocations: 1.137 MB / 0.7009 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003598/0.6118, allocations: 56 kB / 0.701 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/0.6262, allocations: 8.122 MB / 0.7089 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009257/0.6272, allocations: 414.8 kB / 0.7093 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.6291, allocations: 0.5694 MB / 0.7099 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.3135/0.9425, allocations: 5.483 MB / 0.7152 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9426, allocations: 1.531 kB / 0.7152 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9426, allocations: 0 / 0.7152 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.9426, allocations: 0.5312 kB / 0.7152 GB, free: 10.76 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.006871/0.9495, allocations: 1.959 MB / 0.7171 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.9496, allocations: 8.969 kB / 0.7172 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005416/0.9501, allocations: 122.4 kB / 0.7173 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.9514, allocations: 0.6975 MB / 0.718 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.9514, allocations: 58.86 kB / 0.718 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.9516, allocations: 78.69 kB / 0.7181 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.9545, allocations: 1.251 MB / 0.7193 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.9546, allocations: 1.531 kB / 0.7193 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.9547, allocations: 33.31 kB / 0.7193 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.9548, allocations: 80.38 kB / 0.7194 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.9575, allocations: 1.402 MB / 0.7208 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008163/0.9657, allocations: 4.91 MB / 0.7256 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.9675, allocations: 0.8496 MB / 0.7264 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007008/0.9682, allocations: 405.5 kB / 0.7268 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/0.9688, allocations: 0.7836 MB / 0.7276 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.9689, allocations: 41.72 kB / 0.7276 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 3.697e-06/0.9689, allocations: 0 / 0.7276 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002409/0.9713, allocations: 1.235 MB / 0.7288 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.9714, allocations: 108.7 kB / 0.7289 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.9727, allocations: 0.9875 MB / 0.7299 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.708e-05/0.9728, allocations: 36.98 kB / 0.7299 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.9731, allocations: 461.6 kB / 0.7304 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.9733, allocations: 187.1 kB / 0.7305 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.9734, allocations: 71.75 kB / 0.7306 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003162/0.9737, allocations: 344.7 kB / 0.7309 GB, free: 21.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007471/0.9745, allocations: 479.7 kB / 0.7314 GB, free: 21.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007992/0.9753, allocations: 0.6096 MB / 0.732 GB, free: 21.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.9768, allocations: 1.012 MB / 0.733 GB, free: 21.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.9768, allocations: 1.266 kB / 0.733 GB, free: 21.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002311/0.9792, allocations: 1.279 MB / 0.7342 GB, free: 21.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.9793, allocations: 179.5 kB / 0.7344 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.9793, allocations: 2.344 kB / 0.7344 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.9793, allocations: 8.594 kB / 0.7344 GB, free: 20.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009372/0.9803, allocations: 202.5 kB / 0.7346 GB, free: 20.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.9803, allocations: 7.953 kB / 0.7346 GB, free: 20.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.9816, allocations: 138.5 kB / 0.7347 GB, free: 20.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.9818, allocations: 49.36 kB / 0.7348 GB, free: 20.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.9818, allocations: 2.312 kB / 0.7348 GB, free: 20.75 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002238/0.984, allocations: 1.13 MB / 0.7359 GB, free: 20.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9841, allocations: 2.562 kB / 0.7359 GB, free: 20.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.9841, allocations: 6.75 kB / 0.7359 GB, free: 20.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.9849, allocations: 202.1 kB / 0.7361 GB, free: 20.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.9849, allocations: 8.875 kB / 0.7361 GB, free: 20.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009205/0.9859, allocations: 117.2 kB / 0.7362 GB, free: 20.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.986, allocations: 49.36 kB / 0.7363 GB, free: 20.66 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.0007048/0.9867, allocations: 364.5 kB / 0.7366 GB, free: 20.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.9869, allocations: 93.69 kB / 0.7367 GB, free: 20.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.9888, allocations: 1.194 MB / 0.7379 GB, free: 20.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.9888, allocations: 6.188 kB / 0.7379 GB, free: 20.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9888, allocations: 4 kB / 0.7379 GB, free: 20.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.9888, allocations: 2.438 kB / 0.7379 GB, free: 20.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.9914, allocations: 1.874 MB / 0.7397 GB, free: 19.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9914, allocations: 0 / 0.7397 GB, free: 19.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.9919, allocations: 114.1 kB / 0.7398 GB, free: 19.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.9919, allocations: 9.344 kB / 0.7398 GB, free: 19.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.9919, allocations: 16.78 kB / 0.7398 GB, free: 19.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.9919, allocations: 2 kB / 0.7398 GB, free: 19.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9919, allocations: 5.969 kB / 0.7398 GB, free: 19.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.9932, allocations: 0.9363 MB / 0.7408 GB, free: 19.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.9935, allocations: 233.1 kB / 0.741 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.9937, allocations: 9.875 kB / 0.741 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/0.9944, allocations: 54.78 kB / 0.741 GB, free: 19.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.9946, allocations: 40.28 kB / 0.7411 GB, free: 19.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.9947, allocations: 39.41 kB / 0.7411 GB, free: 19.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009397/0.9956, allocations: 0.759 MB / 0.7419 GB, free: 19.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.132e-06/0.9956, allocations: 0 / 0.7419 GB, free: 19.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003664/0.9993, allocations: 1.167 MB / 0.743 GB, free: 19.14 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.003241/1.003, allocations: 1.091 MB / 0.7441 GB, free: 18.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002729/1.005, allocations: 1.553 MB / 0.7456 GB, free: 18.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.005, allocations: 3.844 kB / 0.7456 GB, free: 18.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/1.006, allocations: 379.4 kB / 0.7459 GB, free: 18.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/1.009, allocations: 0.5003 MB / 0.7464 GB, free: 18.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/1.011, allocations: 2.061 MB / 0.7484 GB, free: 17.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/1.012, allocations: 1.051 MB / 0.7495 GB, free: 17.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001704/1.013, allocations: 0.7535 MB / 0.7502 GB, free: 17.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/1.014, allocations: 100.4 kB / 0.7503 GB, free: 17.04 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.014, allocations: 0 / 0.7503 GB, free: 17.04 MB / 0.545 GB Notification: Performance of Templates: time 0.05/1.064, allocations: 34.36 MB / 0.7839 GB, free: 15.68 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