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.001134/0.001134, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 83.86 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3944, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.7075/1.102, allocations: 216 MB / 0.7426 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01179/1.114, allocations: 8.523 MB / 0.7509 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/1.115, allocations: 29.28 kB / 0.7509 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/1.117, allocations: 495.2 kB / 0.7514 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008385/1.125, allocations: 2.86 MB / 0.7542 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01163/1.137, allocations: 4.251 MB / 0.7584 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004255/1.141, allocations: 2.656 MB / 0.761 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/1.142, allocations: 0.7462 MB / 0.7617 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/1.145, allocations: 1.047 MB / 0.7627 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/1.148, allocations: 1.132 MB / 0.7638 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003233/1.149, allocations: 112.8 kB / 0.7639 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01505/1.164, allocations: 7.75 MB / 0.7715 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008266/1.164, allocations: 471.5 kB / 0.7719 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/1.166, allocations: 0.6045 MB / 0.7725 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/1.178, allocations: 5.432 MB / 0.7778 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.178, allocations: 0 / 0.7778 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.565e-06/1.178, allocations: 0.9375 kB / 0.7778 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-05/1.179, allocations: 0 / 0.7778 GB, free: 0.9688 MB / 0.5606 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.005887/1.184, allocations: 2.176 MB / 0.78 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/1.184, allocations: 9.656 kB / 0.78 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005309/1.185, allocations: 117.2 kB / 0.7801 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/1.186, allocations: 0.7413 MB / 0.7808 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/1.187, allocations: 60.27 kB / 0.7809 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/1.187, allocations: 67.22 kB / 0.7809 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/1.189, allocations: 1.249 MB / 0.7821 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/1.189, allocations: 0 / 0.7821 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.189, allocations: 31.22 kB / 0.7822 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/1.189, allocations: 77.78 kB / 0.7823 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/1.191, allocations: 1.395 MB / 0.7836 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008483/1.2, allocations: 4.883 MB / 0.7884 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.202, allocations: 0.8274 MB / 0.7892 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/1.202, allocations: 399.2 kB / 0.7896 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006831/1.203, allocations: 0.7837 MB / 0.7903 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.203, allocations: 43.03 kB / 0.7904 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/1.203, allocations: 0 / 0.7904 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002322/1.205, allocations: 1.212 MB / 0.7916 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.205, allocations: 109.1 kB / 0.7917 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.207, allocations: 0.9922 MB / 0.7926 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/1.207, allocations: 39.73 kB / 0.7927 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/1.207, allocations: 454.2 kB / 0.7931 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/1.207, allocations: 195.4 kB / 0.7933 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.208, allocations: 190.8 kB / 0.7935 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.208, allocations: 350.1 kB / 0.7938 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/1.209, allocations: 476.6 kB / 0.7943 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008879/1.21, allocations: 0.6041 MB / 0.7949 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.211, allocations: 1.001 MB / 0.7958 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/1.211, allocations: 3.562 kB / 0.7958 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002265/1.213, allocations: 1.272 MB / 0.7971 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.213, allocations: 4 kB / 0.7971 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.213, allocations: 4.75 kB / 0.7971 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.213, allocations: 8 kB / 0.7971 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/1.214, allocations: 204.9 kB / 0.7973 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.214, allocations: 7.094 kB / 0.7973 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/1.215, allocations: 111.9 kB / 0.7974 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.216, allocations: 52.84 kB / 0.7975 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001081/1.217, allocations: 0.6638 MB / 0.7981 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009037/1.218, allocations: 0.5884 MB / 0.7987 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001548/1.219, allocations: 0.9694 MB / 0.7996 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-06/1.219, allocations: 0 / 0.7996 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002314/1.221, allocations: 1.217 MB / 0.8008 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.221, allocations: 4.844 kB / 0.8008 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.222, allocations: 4 kB / 0.8008 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.222, allocations: 8.938 kB / 0.8008 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/1.222, allocations: 201.6 kB / 0.801 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/1.223, allocations: 4.812 kB / 0.801 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.224, allocations: 79.22 kB / 0.8011 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.224, allocations: 46.09 kB / 0.8011 GB, free: 5.355 MB / 0.5762 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.0003765/1.224, allocations: 235.5 kB / 0.8014 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/1.224, allocations: 95.78 kB / 0.8015 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/1.227, allocations: 1.184 MB / 0.8026 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.227, allocations: 3.594 kB / 0.8026 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.227, allocations: 4.969 kB / 0.8026 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/1.227, allocations: 175.9 kB / 0.8028 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/1.227, allocations: 27.77 kB / 0.8028 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/1.228, allocations: 32.94 kB / 0.8028 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.228, allocations: 37.45 kB / 0.8029 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001586/1.23, allocations: 0.801 MB / 0.8037 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001651/1.232, allocations: 0.9488 MB / 0.8046 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005972/1.232, allocations: 351.4 kB / 0.8049 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00126/1.233, allocations: 0.762 MB / 0.8057 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of Backend: time 2.81e-07/1.233, allocations: 0 / 0.8057 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.244, allocations: 3.009 MB / 0.8086 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of SimCode: time 0.004485/1.248, allocations: 2.264 MB / 0.8108 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.08385/1.332, allocations: 54.38 MB / 0.8639 GB, free: 5.77 MB / 0.6387 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