Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002097/0.002097, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 91.45 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2922/0.2922, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.117e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4139, allocations: 58.84 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/11.07, allocations: 3.603 GB / 4.069 GB, free: 140.5 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/11.08, allocations: 88.12 kB / 4.069 GB, free: 140.5 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.351/13.43, allocations: 468.7 MB / 4.527 GB, free: 63.66 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.613e-06/13.43, allocations: 0 / 4.527 GB, free: 63.66 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 9.103e-05/13.43, allocations: 29.3 kB / 4.527 GB, free: 63.65 MB / 0.4952 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.007932/13.43, allocations: 1.95 MB / 4.529 GB, free: 62.64 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/13.43, allocations: 10.53 kB / 4.529 GB, free: 62.64 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/13.44, allocations: 120.9 kB / 4.529 GB, free: 62.59 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/13.44, allocations: 0.7346 MB / 4.53 GB, free: 62.3 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/13.44, allocations: 28.38 kB / 4.53 GB, free: 62.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/13.44, allocations: 40.59 kB / 4.53 GB, free: 62.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002885/13.44, allocations: 1.213 MB / 4.531 GB, free: 62.29 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/13.44, allocations: 1.105 MB / 4.532 GB, free: 62.2 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/13.44, allocations: 1.812 kB / 4.532 GB, free: 62.2 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/13.44, allocations: 0 / 4.532 GB, free: 62.2 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/13.44, allocations: 76.58 kB / 4.532 GB, free: 62.19 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/13.46, allocations: 4.557 MB / 4.536 GB, free: 60.38 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/13.46, allocations: 0.7679 MB / 4.537 GB, free: 60.35 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/13.46, allocations: 362.7 kB / 4.538 GB, free: 60.34 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/13.46, allocations: 0.7373 MB / 4.538 GB, free: 59.59 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/13.46, allocations: 44.22 kB / 4.538 GB, free: 59.55 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=53): time 3.236e-06/13.46, allocations: 0 / 4.538 GB, free: 59.55 MB / 0.4952 GB Notification: Performance of matching and sorting (n=53): time 0.003577/13.46, allocations: 0.8784 MB / 4.539 GB, free: 59.47 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/13.46, allocations: 110.9 kB / 4.539 GB, free: 59.34 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/13.46, allocations: 0.6065 MB / 4.54 GB, free: 59.08 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001989/13.47, allocations: 29.55 kB / 4.54 GB, free: 59.05 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/13.47, allocations: 492.9 kB / 4.54 GB, free: 58.63 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/13.47, allocations: 184.4 kB / 4.54 GB, free: 58.49 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/13.47, allocations: 3.938 kB / 4.54 GB, free: 58.49 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/13.47, allocations: 344.8 kB / 4.541 GB, free: 58.16 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/13.47, allocations: 418.8 kB / 4.541 GB, free: 58.01 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/13.47, allocations: 0.5326 MB / 4.542 GB, free: 57.73 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/13.48, allocations: 1.518 MB / 4.543 GB, free: 57.45 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/13.48, allocations: 0 / 4.543 GB, free: 57.45 MB / 0.4952 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01389/13.49, allocations: 2.112 MB / 4.545 GB, free: 56.96 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002276/13.49, allocations: 0.9563 MB / 4.546 GB, free: 55.95 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/13.49, allocations: 2.875 kB / 4.546 GB, free: 55.95 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/13.49, allocations: 11.5 kB / 4.546 GB, free: 55.95 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/13.5, allocations: 213.5 kB / 4.546 GB, free: 55.93 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/13.5, allocations: 7.922 kB / 4.546 GB, free: 55.92 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/13.5, allocations: 90.62 kB / 4.547 GB, free: 55.88 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/13.5, allocations: 61.44 kB / 4.547 GB, free: 55.88 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/13.5, allocations: 6.156 kB / 4.547 GB, free: 55.88 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01317/13.51, allocations: 1.961 MB / 4.549 GB, free: 55.46 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/13.51, allocations: 3.938 kB / 4.549 GB, free: 55.46 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/13.51, allocations: 3.938 kB / 4.549 GB, free: 55.46 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/13.51, allocations: 204.4 kB / 4.549 GB, free: 55.44 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/13.51, allocations: 10.97 kB / 4.549 GB, free: 55.44 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/13.51, allocations: 69.14 kB / 4.549 GB, free: 55.41 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/13.51, allocations: 61.48 kB / 4.549 GB, free: 55.4 MB / 0.4952 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 () * 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.0003546/13.51, allocations: 118.5 kB / 4.549 GB, free: 55.29 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/13.51, allocations: 88.98 kB / 4.549 GB, free: 55.23 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/13.52, allocations: 1.087 MB / 4.55 GB, free: 54.82 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/13.52, allocations: 6.812 kB / 4.55 GB, free: 54.82 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/13.52, allocations: 3.938 kB / 4.55 GB, free: 54.81 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/13.52, allocations: 2.203 kB / 4.55 GB, free: 54.81 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/13.52, allocations: 1.728 MB / 4.552 GB, free: 54.02 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/13.52, allocations: 0 / 4.552 GB, free: 54.02 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/13.52, allocations: 122.7 kB / 4.552 GB, free: 54.01 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/13.52, allocations: 6.656 kB / 4.552 GB, free: 54.01 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/13.52, allocations: 15.31 kB / 4.552 GB, free: 54.01 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/13.52, allocations: 2.469 kB / 4.552 GB, free: 54.01 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/13.52, allocations: 3.75 kB / 4.552 GB, free: 54.01 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/13.53, allocations: 0.9939 MB / 4.553 GB, free: 53.43 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/13.53, allocations: 204.2 kB / 4.553 GB, free: 53.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/13.53, allocations: 7.391 kB / 4.553 GB, free: 53.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/13.53, allocations: 48.14 kB / 4.553 GB, free: 53.26 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/13.53, allocations: 42.42 kB / 4.553 GB, free: 53.25 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/13.53, allocations: 48.03 kB / 4.553 GB, free: 53.24 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0009368/13.53, allocations: 0.5207 MB / 4.554 GB, free: 53 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.81e-07/13.53, allocations: 3.5 kB / 4.554 GB, free: 53 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.005378/13.54, allocations: 1.327 MB / 4.555 GB, free: 52.6 MB / 0.4952 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 () * 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.006742/13.54, allocations: 2.139 MB / 4.557 GB, free: 52.09 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.003404/13.55, allocations: 1.383 MB / 4.559 GB, free: 50.88 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/13.55, allocations: 0 / 4.559 GB, free: 50.88 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0007313/13.55, allocations: 332.8 kB / 4.559 GB, free: 50.58 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/13.55, allocations: 320.8 kB / 4.559 GB, free: 50.35 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/13.55, allocations: 1.235 MB / 4.56 GB, free: 49.21 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/13.55, allocations: 1.069 MB / 4.561 GB, free: 48.26 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009727/13.55, allocations: 131.8 kB / 4.562 GB, free: 48.15 MB / 0.4952 GB Notification: Performance of SimCode: time 9.82e-07/13.55, allocations: 0 / 4.562 GB, free: 48.15 MB / 0.4952 GB Notification: Performance of Templates: time 0.06559/13.62, allocations: 30.47 MB / 4.591 GB, free: 19.89 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches