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.00118/0.00118, allocations: 196.4 kB / 18.1 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 226.5 MB / 245.4 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007837/0.0007841, allocations: 100.9 kB / 297.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4583/0.4583, allocations: 44.83 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4158, allocations: 62.95 MB / 0.5184 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.358/9.774, allocations: 3.44 GB / 3.959 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/9.774, allocations: 94.38 kB / 3.959 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.922/11.7, allocations: 462.3 MB / 4.41 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.248e-06/11.7, allocations: 0 / 4.41 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001716/11.7, allocations: 23.94 kB / 4.41 GB, free: 65.8 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.009474/11.71, allocations: 1.979 MB / 4.412 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.922e-05/11.71, allocations: 16.94 kB / 4.412 GB, free: 64.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/11.71, allocations: 121.5 kB / 4.412 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/11.71, allocations: 0.7565 MB / 4.413 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/11.71, allocations: 58.8 kB / 4.413 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/11.71, allocations: 74.7 kB / 4.413 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/11.71, allocations: 1.241 MB / 4.414 GB, free: 64.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/11.71, allocations: 3.938 kB / 4.414 GB, free: 64.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/11.71, allocations: 28.66 kB / 4.414 GB, free: 64.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/11.71, allocations: 81.3 kB / 4.415 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/11.72, allocations: 1.366 MB / 4.416 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/11.73, allocations: 4.831 MB / 4.421 GB, free: 62.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/11.73, allocations: 0.8149 MB / 4.421 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/11.73, allocations: 393.4 kB / 4.422 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/11.73, allocations: 0.7811 MB / 4.423 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/11.73, allocations: 44 kB / 4.423 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 4.809e-06/11.73, allocations: 0 / 4.423 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002302/11.73, allocations: 1.184 MB / 4.424 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/11.73, allocations: 110.1 kB / 4.424 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/11.73, allocations: 0.9838 MB / 4.425 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/11.73, allocations: 36.02 kB / 4.425 GB, free: 60.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/11.74, allocations: 456.2 kB / 4.425 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/11.74, allocations: 188.6 kB / 4.425 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/11.74, allocations: 12.88 kB / 4.425 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001279/11.74, allocations: 339.5 kB / 4.426 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/11.74, allocations: 449.7 kB / 4.426 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/11.74, allocations: 0.5656 MB / 4.427 GB, free: 60.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/11.74, allocations: 0.9428 MB / 4.428 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/11.74, allocations: 3.156 kB / 4.428 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00216/11.74, allocations: 1.223 MB / 4.429 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/11.74, allocations: 166.2 kB / 4.429 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/11.74, allocations: 3.906 kB / 4.429 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/11.74, allocations: 2.906 kB / 4.429 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/11.74, allocations: 202.5 kB / 4.429 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/11.74, allocations: 4.844 kB / 4.429 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/11.74, allocations: 136.4 kB / 4.429 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/11.74, allocations: 49.39 kB / 4.429 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/11.74, allocations: 12.28 kB / 4.429 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001914/11.75, allocations: 1.066 MB / 4.43 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/11.75, allocations: 3.531 kB / 4.43 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/11.75, allocations: 11.31 kB / 4.43 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/11.75, allocations: 194 kB / 4.431 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/11.75, allocations: 6.562 kB / 4.431 GB, free: 58.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/11.75, allocations: 118.2 kB / 4.431 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/11.75, allocations: 44.28 kB / 4.431 GB, free: 58.48 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.0008751/11.75, allocations: 366.2 kB / 4.431 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/11.75, allocations: 95.28 kB / 4.431 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/11.75, allocations: 1.14 MB / 4.432 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/11.75, allocations: 3.719 kB / 4.432 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/11.75, allocations: 0 / 4.432 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/11.75, allocations: 3.938 kB / 4.432 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/11.75, allocations: 1.811 MB / 4.434 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/11.75, allocations: 4.906 kB / 4.434 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/11.75, allocations: 111.9 kB / 4.434 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/11.75, allocations: 5.781 kB / 4.434 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/11.75, allocations: 15.91 kB / 4.434 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/11.75, allocations: 9.219 kB / 4.434 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/11.75, allocations: 0 / 4.434 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/11.76, allocations: 0.9081 MB / 4.435 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/11.76, allocations: 224.1 kB / 4.435 GB, free: 56.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/11.76, allocations: 14.81 kB / 4.435 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/11.76, allocations: 61.58 kB / 4.435 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/11.76, allocations: 41.22 kB / 4.435 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/11.76, allocations: 46.78 kB / 4.436 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001203/11.76, allocations: 0.754 MB / 4.436 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/11.76, allocations: 0 / 4.436 GB, free: 55.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005921/11.76, allocations: 1.324 MB / 4.438 GB, free: 55.39 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.007118/11.77, allocations: 1.864 MB / 4.439 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004075/11.78, allocations: 1.476 MB / 4.441 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/11.78, allocations: 0 / 4.441 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/11.78, allocations: 362.2 kB / 4.441 GB, free: 54.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/11.78, allocations: 492.8 kB / 4.442 GB, free: 54.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/11.78, allocations: 1.928 MB / 4.444 GB, free: 53.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/11.79, allocations: 1.043 MB / 4.445 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002602/11.79, allocations: 0.6938 MB / 4.445 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/11.79, allocations: 101.9 kB / 4.445 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.763e-06/11.79, allocations: 0 / 4.445 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.06919/11.86, allocations: 44.09 MB / 4.488 GB, free: 17.19 MB / 0.5261 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/jenkins1/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