Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009996/0.0009998, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009879/0.0009878, allocations: 91.98 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1831/0.1831, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.553e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.737/6.858, allocations: 3.439 GB / 3.941 GB, free: 161 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/6.859, allocations: 83.95 kB / 3.941 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.406/8.265, allocations: 464.5 MB / 4.395 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.373e-06/8.265, allocations: 0 / 4.395 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.531e-05/8.265, allocations: 36.62 kB / 4.395 GB, free: 73.01 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.005026/8.27, allocations: 1.855 MB / 4.396 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/8.27, allocations: 9.938 kB / 4.396 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/8.271, allocations: 121 kB / 4.396 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/8.272, allocations: 0.7435 MB / 4.397 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/8.272, allocations: 58.81 kB / 4.397 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/8.272, allocations: 71.12 kB / 4.397 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/8.274, allocations: 1.202 MB / 4.399 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/8.274, allocations: 3.938 kB / 4.399 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/8.274, allocations: 28.61 kB / 4.399 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.619e-05/8.274, allocations: 76.03 kB / 4.399 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/8.276, allocations: 1.313 MB / 4.4 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006348/8.282, allocations: 4.882 MB / 4.405 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/8.283, allocations: 0.7904 MB / 4.405 GB, free: 69.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/8.284, allocations: 368.2 kB / 4.406 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004626/8.284, allocations: 0.7839 MB / 4.407 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/8.284, allocations: 41.28 kB / 4.407 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/8.284, allocations: 0 / 4.407 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.001189/8.285, allocations: 0.8087 MB / 4.407 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/8.285, allocations: 109.4 kB / 4.407 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/8.286, allocations: 0.8759 MB / 4.408 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/8.286, allocations: 36.8 kB / 4.408 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/8.287, allocations: 453.8 kB / 4.409 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/8.287, allocations: 196.5 kB / 4.409 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/8.287, allocations: 15.09 kB / 4.409 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.193e-05/8.287, allocations: 336 kB / 4.409 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/8.287, allocations: 427 kB / 4.41 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/8.288, allocations: 0.5412 MB / 4.41 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/8.289, allocations: 0.4963 MB / 4.411 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/8.289, allocations: 3.953 kB / 4.411 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001593/8.29, allocations: 1.161 MB / 4.412 GB, free: 66.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/8.29, allocations: 0.9671 MB / 4.413 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/8.291, allocations: 0 / 4.413 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/8.291, allocations: 9.188 kB / 4.413 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/8.291, allocations: 192.9 kB / 4.413 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/8.291, allocations: 14.2 kB / 4.413 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/8.292, allocations: 133 kB / 4.413 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/8.292, allocations: 45.72 kB / 4.413 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/8.292, allocations: 3.781 kB / 4.413 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/8.294, allocations: 1.018 MB / 4.414 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/8.294, allocations: 7.469 kB / 4.414 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/8.294, allocations: 7.75 kB / 4.414 GB, free: 65.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/8.295, allocations: 188.8 kB / 4.414 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/8.295, allocations: 11.72 kB / 4.414 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/8.295, allocations: 124.3 kB / 4.415 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/8.295, allocations: 48.19 kB / 4.415 GB, free: 65.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 () * 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.0001656/8.296, allocations: 140.6 kB / 4.415 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/8.296, allocations: 95.66 kB / 4.415 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/8.297, allocations: 1.099 MB / 4.416 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/8.297, allocations: 3.688 kB / 4.416 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/8.297, allocations: 0 / 4.416 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/8.297, allocations: 11.23 kB / 4.416 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/8.299, allocations: 1.774 MB / 4.418 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/8.299, allocations: 11.83 kB / 4.418 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/8.3, allocations: 113.5 kB / 4.418 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/8.3, allocations: 7.625 kB / 4.418 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/8.3, allocations: 23.3 kB / 4.418 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/8.3, allocations: 3.938 kB / 4.418 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/8.3, allocations: 3.938 kB / 4.418 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/8.301, allocations: 0.953 MB / 4.419 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/8.301, allocations: 234.6 kB / 4.419 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/8.301, allocations: 17.38 kB / 4.419 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/8.302, allocations: 46.81 kB / 4.419 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/8.302, allocations: 48.48 kB / 4.419 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/8.302, allocations: 36.47 kB / 4.419 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007853/8.303, allocations: 0.7408 MB / 4.42 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/8.303, allocations: 0 / 4.42 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003273/8.306, allocations: 1.308 MB / 4.421 GB, free: 62.11 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 () * 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.00371/8.31, allocations: 1.841 MB / 4.423 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002166/8.312, allocations: 1.435 MB / 4.424 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/8.312, allocations: 6.375 kB / 4.424 GB, free: 61.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/8.312, allocations: 334.8 kB / 4.425 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/8.315, allocations: 495.2 kB / 4.425 GB, free: 60.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/8.317, allocations: 1.258 MB / 4.426 GB, free: 60.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/8.317, allocations: 1.068 MB / 4.427 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001754/8.319, allocations: 0.6994 MB / 4.428 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/8.319, allocations: 94.53 kB / 4.428 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/8.319, allocations: 3.969 kB / 4.428 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.05086/8.37, allocations: 47.51 MB / 4.475 GB, free: 19.8 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches