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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009731, allocations: 92.84 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.2 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 243 MB, free: 14.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.25 MB / 338.3 MB, free: 2.379 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003866, allocations: 11.94 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 61.92 MB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5095/0.6391, allocations: 208.9 MB / 0.6659 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.6534, allocations: 8.788 MB / 0.6745 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.6553, allocations: 31.75 kB / 0.6745 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.6573, allocations: 429.8 kB / 0.6749 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008523/0.6659, allocations: 2.512 MB / 0.6774 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01175/0.6776, allocations: 3.614 MB / 0.6809 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00456/0.6822, allocations: 3.861 MB / 0.6847 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.6837, allocations: 0.6317 MB / 0.6853 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.6859, allocations: 0.8523 MB / 0.6861 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.6883, allocations: 1.157 MB / 0.6872 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003957/0.6887, allocations: 52 kB / 0.6873 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.704, allocations: 8.032 MB / 0.6951 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009346/0.705, allocations: 410.8 kB / 0.6955 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.7064, allocations: 0.5694 MB / 0.6961 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00844/0.7149, allocations: 3.742 MB / 0.6997 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.7149, allocations: 0 / 0.6997 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.797e-06/0.7149, allocations: 0 / 0.6997 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.065e-05/0.715, allocations: 0 / 0.6997 GB, free: 14.65 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.005857/0.7209, allocations: 1.937 MB / 0.7016 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.7209, allocations: 8.031 kB / 0.7016 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.7216, allocations: 126.6 kB / 0.7018 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.7229, allocations: 0.695 MB / 0.7024 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.723, allocations: 57.97 kB / 0.7025 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.7232, allocations: 75.98 kB / 0.7026 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.7257, allocations: 1.255 MB / 0.7038 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7257, allocations: 0 / 0.7038 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.7259, allocations: 31.98 kB / 0.7038 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.726, allocations: 73.95 kB / 0.7039 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.7285, allocations: 1.401 MB / 0.7053 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009024/0.7375, allocations: 4.918 MB / 0.7101 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.7393, allocations: 0.8327 MB / 0.7109 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.74, allocations: 413.9 kB / 0.7113 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.7407, allocations: 0.7796 MB / 0.712 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.7408, allocations: 47 kB / 0.7121 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.7408, allocations: 0 / 0.7121 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002433/0.7433, allocations: 1.232 MB / 0.7133 GB, free: 112 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2717/1.015, allocations: 107.2 kB / 0.7134 GB, free: 203.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.017, allocations: 0.9848 MB / 0.7143 GB, free: 203.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/1.018, allocations: 36.52 kB / 0.7144 GB, free: 203.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/1.018, allocations: 459 kB / 0.7148 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/1.019, allocations: 188.5 kB / 0.715 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.019, allocations: 70.56 kB / 0.7151 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/1.019, allocations: 340.8 kB / 0.7154 GB, free: 203 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/1.02, allocations: 479.1 kB / 0.7158 GB, free: 203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/1.021, allocations: 0.6044 MB / 0.7164 GB, free: 202.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/1.023, allocations: 1.021 MB / 0.7174 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/1.023, allocations: 4.625 kB / 0.7174 GB, free: 202.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002936/1.026, allocations: 1.283 MB / 0.7187 GB, free: 202 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.026, allocations: 184.2 kB / 0.7189 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.026, allocations: 2.594 kB / 0.7189 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/1.026, allocations: 9.281 kB / 0.7189 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009713/1.027, allocations: 198.6 kB / 0.7191 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/1.028, allocations: 10.77 kB / 0.7191 GB, free: 201.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.029, allocations: 138.6 kB / 0.7192 GB, free: 201.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.029, allocations: 50.62 kB / 0.7193 GB, free: 201.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/1.029, allocations: 2.906 kB / 0.7193 GB, free: 201.7 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00221/1.031, allocations: 1.122 MB / 0.7204 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.031, allocations: 4.047 kB / 0.7204 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.031, allocations: 7.719 kB / 0.7204 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009138/1.032, allocations: 200.4 kB / 0.7206 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/1.032, allocations: 12 kB / 0.7206 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009146/1.033, allocations: 117.2 kB / 0.7207 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.033, allocations: 46.55 kB / 0.7207 GB, free: 201.2 MB / 0.5294 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.0006186/1.034, allocations: 360.7 kB / 0.7211 GB, free: 200.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/1.034, allocations: 95.28 kB / 0.7212 GB, free: 200.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/1.037, allocations: 1.19 MB / 0.7223 GB, free: 200.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.037, allocations: 4.406 kB / 0.7223 GB, free: 200.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.037, allocations: 9.25 kB / 0.7223 GB, free: 200.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/1.037, allocations: 3.891 kB / 0.7223 GB, free: 200.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/1.04, allocations: 1.862 MB / 0.7242 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.04, allocations: 2.438 kB / 0.7242 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/1.041, allocations: 114.9 kB / 0.7243 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/1.041, allocations: 4.344 kB / 0.7243 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/1.041, allocations: 22.97 kB / 0.7243 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/1.041, allocations: 6.172 kB / 0.7243 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.041, allocations: 6.156 kB / 0.7243 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.043, allocations: 0.937 MB / 0.7252 GB, free: 199 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/1.043, allocations: 227.8 kB / 0.7254 GB, free: 198.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/1.044, allocations: 16.69 kB / 0.7255 GB, free: 198.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/1.044, allocations: 54.7 kB / 0.7255 GB, free: 198.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.045, allocations: 46.09 kB / 0.7256 GB, free: 198.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.045, allocations: 39.12 kB / 0.7256 GB, free: 198.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001344/1.046, allocations: 0.7579 MB / 0.7263 GB, free: 198.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.046, allocations: 0 / 0.7263 GB, free: 198.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003934/1.05, allocations: 1.15 MB / 0.7275 GB, free: 198.3 MB / 0.5294 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.003778/1.054, allocations: 1.075 MB / 0.7285 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003201/1.057, allocations: 1.544 MB / 0.73 GB, free: 197.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.057, allocations: 1.531 kB / 0.73 GB, free: 197.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/1.058, allocations: 379.6 kB / 0.7304 GB, free: 197.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/1.061, allocations: 0.5202 MB / 0.7309 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/1.064, allocations: 2.122 MB / 0.733 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/1.064, allocations: 1.055 MB / 0.734 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/1.065, allocations: 113.4 kB / 0.7341 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of SimCode: time 6.92e-07/1.065, allocations: 0 / 0.7341 GB, free: 195.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.03876/1.104, allocations: 28.15 MB / 0.7616 GB, free: 171.8 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches