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.001012/0.001012, allocations: 93.48 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 202.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.7 MB / 247.5 MB, free: 9.324 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.19 MB / 345.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003825, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 63.56 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.4503/0.5632, allocations: 212.8 MB / 0.6802 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.5753, allocations: 8.781 MB / 0.6888 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.5763, allocations: 31.75 kB / 0.6888 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.5776, allocations: 429.8 kB / 0.6892 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006598/0.5842, allocations: 2.518 MB / 0.6917 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008969/0.5932, allocations: 3.621 MB / 0.6952 GB, free: 60 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004041/0.5972, allocations: 3.86 MB / 0.699 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.5984, allocations: 0.6166 MB / 0.6996 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.6002, allocations: 0.8678 MB / 0.7005 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.6022, allocations: 1.141 MB / 0.7016 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002707/0.6024, allocations: 52 kB / 0.7016 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.6159, allocations: 8.122 MB / 0.7095 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007419/0.6167, allocations: 414.8 kB / 0.7099 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.6177, allocations: 0.5733 MB / 0.7105 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.2716/0.8893, allocations: 3.769 MB / 0.7142 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8894, allocations: 0.9062 kB / 0.7142 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8894, allocations: 2.641 kB / 0.7142 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.8895, allocations: 0.8438 kB / 0.7142 GB, free: 12.46 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.007787/0.8973, allocations: 1.966 MB / 0.7161 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.8973, allocations: 9.062 kB / 0.7161 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.898, allocations: 119 kB / 0.7162 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.8993, allocations: 0.6953 MB / 0.7169 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.8994, allocations: 58.25 kB / 0.717 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.8996, allocations: 81.12 kB / 0.717 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.9023, allocations: 1.252 MB / 0.7183 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.9024, allocations: 0.7812 kB / 0.7183 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.9025, allocations: 34.38 kB / 0.7183 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.9027, allocations: 78.36 kB / 0.7184 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.9052, allocations: 1.403 MB / 0.7197 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007732/0.913, allocations: 4.91 MB / 0.7245 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.9146, allocations: 0.8404 MB / 0.7254 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/0.9152, allocations: 403.6 kB / 0.7257 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/0.9158, allocations: 0.7874 MB / 0.7265 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.9158, allocations: 46.16 kB / 0.7266 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.9158, allocations: 0 / 0.7266 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002255/0.9181, allocations: 1.229 MB / 0.7278 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.9181, allocations: 109.8 kB / 0.7279 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.9195, allocations: 0.9887 MB / 0.7288 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.9196, allocations: 40.61 kB / 0.7289 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.9199, allocations: 456.5 kB / 0.7293 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.9201, allocations: 186.6 kB / 0.7295 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.9202, allocations: 79.62 kB / 0.7296 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.9203, allocations: 341.4 kB / 0.7299 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.921, allocations: 481.4 kB / 0.7303 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007998/0.9218, allocations: 0.6018 MB / 0.7309 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.9232, allocations: 1.02 MB / 0.7319 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.9232, allocations: 0 / 0.7319 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002123/0.9254, allocations: 1.281 MB / 0.7332 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.9254, allocations: 176.6 kB / 0.7333 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.9255, allocations: 2.969 kB / 0.7333 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9255, allocations: 8 kB / 0.7334 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.9263, allocations: 203.5 kB / 0.7335 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.9264, allocations: 9.75 kB / 0.7336 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.9274, allocations: 134.5 kB / 0.7337 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.9275, allocations: 46.38 kB / 0.7337 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.9276, allocations: 3.156 kB / 0.7337 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001715/0.9293, allocations: 1.13 MB / 0.7348 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9293, allocations: 4.875 kB / 0.7348 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.9293, allocations: 6.031 kB / 0.7348 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.9301, allocations: 202.2 kB / 0.735 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9301, allocations: 5.562 kB / 0.735 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.9309, allocations: 116.4 kB / 0.7352 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.931, allocations: 42.7 kB / 0.7352 GB, free: 6.402 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.0005639/0.9316, allocations: 366.5 kB / 0.7355 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.9318, allocations: 95.28 kB / 0.7356 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.9339, allocations: 1.199 MB / 0.7368 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.934, allocations: 7.172 kB / 0.7368 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.934, allocations: 2.562 kB / 0.7368 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.934, allocations: 2.531 kB / 0.7368 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.9365, allocations: 1.867 MB / 0.7386 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.9365, allocations: 5.344 kB / 0.7386 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.937, allocations: 112.6 kB / 0.7388 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.937, allocations: 10.16 kB / 0.7388 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.937, allocations: 18.61 kB / 0.7388 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.937, allocations: 2.938 kB / 0.7388 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.937, allocations: 6.344 kB / 0.7388 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.9382, allocations: 0.9355 MB / 0.7397 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.9385, allocations: 231.5 kB / 0.7399 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.9387, allocations: 17.78 kB / 0.7399 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/0.9395, allocations: 56.58 kB / 0.74 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/0.9396, allocations: 40.03 kB / 0.74 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/0.9396, allocations: 36.94 kB / 0.7401 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009444/0.9406, allocations: 0.7582 MB / 0.7408 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9406, allocations: 1.625 kB / 0.7408 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003544/0.9442, allocations: 1.164 MB / 0.7419 GB, free: 4.883 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.003201/0.9474, allocations: 1.101 MB / 0.743 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002825/0.9502, allocations: 1.552 MB / 0.7445 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9502, allocations: 2.719 kB / 0.7445 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.9508, allocations: 376.2 kB / 0.7449 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.9538, allocations: 0.5064 MB / 0.7454 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.9563, allocations: 2.123 MB / 0.7475 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.9569, allocations: 1.043 MB / 0.7485 GB, free: 18.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.9574, allocations: 120.8 kB / 0.7486 GB, free: 18.83 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.9574, allocations: 0 / 0.7486 GB, free: 18.83 MB / 0.545 GB Notification: Performance of Templates: time 0.03931/0.9967, allocations: 28.57 MB / 0.7765 GB, free: 7.977 MB / 0.545 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches