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.0008609/0.000861, allocations: 92.05 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009416/0.000942, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.8 MB / 246.9 MB, free: 9.734 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2413/0.2413, allocations: 46.21 MB / 345.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1664, allocations: 63.57 MB / 483.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6071/0.7736, allocations: 212.8 MB / 0.6797 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.7883, allocations: 8.785 MB / 0.6883 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.7899, allocations: 35.69 kB / 0.6883 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.7916, allocations: 429.8 kB / 0.6887 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008589/0.8002, allocations: 2.51 MB / 0.6912 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01408/0.8143, allocations: 3.63 MB / 0.6947 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005629/0.8199, allocations: 3.86 MB / 0.6985 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.8215, allocations: 0.6094 MB / 0.6991 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.8242, allocations: 0.8678 MB / 0.6999 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.8268, allocations: 1.149 MB / 0.701 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.8271, allocations: 52 kB / 0.7011 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.017/0.8441, allocations: 8.126 MB / 0.709 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.8452, allocations: 414.8 kB / 0.7094 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.8463, allocations: 0.5733 MB / 0.71 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4208/1.267, allocations: 5.478 MB / 0.7153 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.267, allocations: 0 / 0.7153 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.054e-06/1.267, allocations: 1 kB / 0.7153 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.843e-05/1.267, allocations: 0 / 0.7153 GB, free: 10.53 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.007414/1.275, allocations: 1.977 MB / 0.7173 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.275, allocations: 8.812 kB / 0.7173 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/1.275, allocations: 115.1 kB / 0.7174 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/1.276, allocations: 0.7004 MB / 0.7181 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/1.276, allocations: 57.94 kB / 0.7181 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/1.276, allocations: 74.64 kB / 0.7182 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/1.279, allocations: 1.254 MB / 0.7194 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.279, allocations: 2.719 kB / 0.7194 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.279, allocations: 29.7 kB / 0.7194 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/1.279, allocations: 77.44 kB / 0.7195 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/1.281, allocations: 1.403 MB / 0.7209 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00769/1.289, allocations: 4.906 MB / 0.7257 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/1.291, allocations: 0.8466 MB / 0.7265 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/1.291, allocations: 403.1 kB / 0.7269 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/1.292, allocations: 0.7822 MB / 0.7276 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.292, allocations: 47.11 kB / 0.7277 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/1.292, allocations: 0 / 0.7277 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002279/1.294, allocations: 1.227 MB / 0.7289 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.294, allocations: 112.6 kB / 0.729 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.296, allocations: 0.9864 MB / 0.73 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/1.296, allocations: 37.33 kB / 0.73 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/1.296, allocations: 464.3 kB / 0.7304 GB, free: 21.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/1.296, allocations: 184.8 kB / 0.7306 GB, free: 21.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/1.296, allocations: 69 kB / 0.7307 GB, free: 21.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.297, allocations: 347.2 kB / 0.731 GB, free: 21.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007279/1.297, allocations: 479.8 kB / 0.7315 GB, free: 21.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008351/1.298, allocations: 0.6058 MB / 0.7321 GB, free: 20.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.3, allocations: 1.017 MB / 0.7331 GB, free: 20.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.3, allocations: 1.859 kB / 0.7331 GB, free: 20.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002252/1.302, allocations: 1.284 MB / 0.7343 GB, free: 20.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.302, allocations: 173.2 kB / 0.7345 GB, free: 20.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.302, allocations: 8.531 kB / 0.7345 GB, free: 20.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.302, allocations: 6.031 kB / 0.7345 GB, free: 20.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/1.303, allocations: 210.6 kB / 0.7347 GB, free: 20.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.303, allocations: 10.36 kB / 0.7347 GB, free: 20.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.304, allocations: 134.3 kB / 0.7348 GB, free: 20.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.304, allocations: 48.86 kB / 0.7349 GB, free: 20.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/1.304, allocations: 5.906 kB / 0.7349 GB, free: 20.51 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001843/1.306, allocations: 1.124 MB / 0.736 GB, free: 20.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.306, allocations: 2.219 kB / 0.736 GB, free: 20.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/1.306, allocations: 6.875 kB / 0.736 GB, free: 20.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/1.307, allocations: 204.7 kB / 0.7362 GB, free: 20.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.307, allocations: 10.44 kB / 0.7362 GB, free: 20.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/1.308, allocations: 109.3 kB / 0.7363 GB, free: 20.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.807e-05/1.308, allocations: 45.47 kB / 0.7363 GB, free: 20.43 MB / 0.545 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.0008137/1.309, allocations: 372.7 kB / 0.7367 GB, free: 20.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/1.309, allocations: 97.16 kB / 0.7368 GB, free: 20.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/1.311, allocations: 1.191 MB / 0.738 GB, free: 20.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.311, allocations: 3.438 kB / 0.738 GB, free: 20.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.311, allocations: 2.562 kB / 0.738 GB, free: 20.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.311, allocations: 4 kB / 0.738 GB, free: 20.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/1.314, allocations: 1.868 MB / 0.7398 GB, free: 19.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/1.314, allocations: 2.625 kB / 0.7398 GB, free: 19.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/1.314, allocations: 115 kB / 0.7399 GB, free: 19.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/1.314, allocations: 9.062 kB / 0.7399 GB, free: 19.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/1.314, allocations: 20.16 kB / 0.7399 GB, free: 19.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.314, allocations: 1.969 kB / 0.7399 GB, free: 19.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.314, allocations: 3 kB / 0.7399 GB, free: 19.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/1.316, allocations: 0.9353 MB / 0.7408 GB, free: 19.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/1.316, allocations: 236.9 kB / 0.7411 GB, free: 19.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.316, allocations: 15.11 kB / 0.7411 GB, free: 19.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/1.317, allocations: 52.84 kB / 0.7411 GB, free: 19.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.317, allocations: 44.67 kB / 0.7412 GB, free: 19.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/1.317, allocations: 36.23 kB / 0.7412 GB, free: 19.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001019/1.318, allocations: 0.7557 MB / 0.7419 GB, free: 19.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/1.318, allocations: 0 / 0.7419 GB, free: 19.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004124/1.322, allocations: 1.173 MB / 0.7431 GB, free: 18.91 MB / 0.545 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.004364/1.327, allocations: 1.09 MB / 0.7442 GB, free: 18.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003022/1.33, allocations: 1.55 MB / 0.7457 GB, free: 18.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.33, allocations: 0 / 0.7457 GB, free: 18.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/1.33, allocations: 384 kB / 0.746 GB, free: 18.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.333, allocations: 0.5061 MB / 0.7465 GB, free: 18.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/1.336, allocations: 2.061 MB / 0.7485 GB, free: 17.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007077/1.337, allocations: 1.05 MB / 0.7496 GB, free: 16.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002189/1.339, allocations: 0.7397 MB / 0.7503 GB, free: 16.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/1.34, allocations: 103.1 kB / 0.7504 GB, free: 16.82 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/1.34, allocations: 0 / 0.7504 GB, free: 16.82 MB / 0.545 GB Notification: Performance of Templates: time 0.0597/1.399, allocations: 34.36 MB / 0.7839 GB, free: 15.41 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPort/TestMultiPort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches