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.001118/0.001118, allocations: 114.5 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2051/0.2051, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 72.16 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3537, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5599/0.9137, allocations: 216 MB / 0.7426 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009865/0.9236, allocations: 8.51 MB / 0.7509 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.9248, allocations: 28.22 kB / 0.7509 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.9262, allocations: 490.2 kB / 0.7514 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.9332, allocations: 2.83 MB / 0.7542 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009867/0.9431, allocations: 4.245 MB / 0.7583 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003413/0.9465, allocations: 2.656 MB / 0.7609 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.9478, allocations: 0.7366 MB / 0.7616 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.9502, allocations: 1.038 MB / 0.7626 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.952, allocations: 1.131 MB / 0.7637 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.9522, allocations: 111.9 kB / 0.7639 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.9667, allocations: 7.743 MB / 0.7714 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009044/0.9676, allocations: 479.4 kB / 0.7719 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.9693, allocations: 0.6039 MB / 0.7725 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.9837, allocations: 5.427 MB / 0.7778 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9838, allocations: 0.7188 kB / 0.7778 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9838, allocations: 0 / 0.7778 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.951e-05/0.9838, allocations: 1.062 kB / 0.7778 GB, free: 0.957 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.007752/0.9916, allocations: 2.181 MB / 0.7799 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.9917, allocations: 9.406 kB / 0.7799 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008009/0.9925, allocations: 116 kB / 0.78 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.9941, allocations: 0.737 MB / 0.7807 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.9942, allocations: 60.36 kB / 0.7808 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.9944, allocations: 70.88 kB / 0.7809 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.9969, allocations: 1.246 MB / 0.7821 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.9969, allocations: 0 / 0.7821 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.9971, allocations: 37.48 kB / 0.7821 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.9972, allocations: 78.41 kB / 0.7822 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.9996, allocations: 1.386 MB / 0.7835 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008843/1.008, allocations: 4.884 MB / 0.7883 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/1.01, allocations: 0.8322 MB / 0.7891 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/1.011, allocations: 399.2 kB / 0.7895 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/1.012, allocations: 0.7905 MB / 0.7903 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.012, allocations: 42.25 kB / 0.7903 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.916e-06/1.012, allocations: 0.9375 kB / 0.7903 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002266/1.014, allocations: 1.214 MB / 0.7915 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/1.014, allocations: 108.7 kB / 0.7916 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.015, allocations: 0.9864 MB / 0.7926 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.015, allocations: 45.17 kB / 0.7926 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/1.016, allocations: 454.6 kB / 0.793 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.016, allocations: 188 kB / 0.7932 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003352/1.016, allocations: 191.8 kB / 0.7934 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.016, allocations: 347.8 kB / 0.7937 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007628/1.017, allocations: 484.2 kB / 0.7942 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008741/1.018, allocations: 0.6036 MB / 0.7948 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/1.02, allocations: 0.9964 MB / 0.7958 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.02, allocations: 4.375 kB / 0.7958 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002192/1.022, allocations: 1.273 MB / 0.797 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.022, allocations: 7.812 kB / 0.797 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.022, allocations: 3.594 kB / 0.797 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.022, allocations: 5.844 kB / 0.797 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/1.023, allocations: 201.4 kB / 0.7972 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/1.023, allocations: 11.19 kB / 0.7972 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009612/1.024, allocations: 116.5 kB / 0.7973 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.024, allocations: 42.98 kB / 0.7974 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001076/1.025, allocations: 0.6682 MB / 0.798 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009215/1.026, allocations: 0.5867 MB / 0.7986 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00155/1.028, allocations: 0.9681 MB / 0.7996 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.194e-06/1.028, allocations: 4.844 kB / 0.7996 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.00222/1.03, allocations: 1.217 MB / 0.8007 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.03, allocations: 11.98 kB / 0.8008 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.03, allocations: 5 kB / 0.8008 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/1.03, allocations: 4 kB / 0.8008 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/1.031, allocations: 201 kB / 0.801 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.031, allocations: 11.09 kB / 0.801 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/1.032, allocations: 75.84 kB / 0.801 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.032, allocations: 44.17 kB / 0.8011 GB, free: 5.398 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.0003636/1.032, allocations: 231.2 kB / 0.8013 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/1.033, allocations: 94.88 kB / 0.8014 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/1.035, allocations: 1.187 MB / 0.8026 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.035, allocations: 3.984 kB / 0.8026 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.035, allocations: 1.031 kB / 0.8026 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/1.035, allocations: 182.5 kB / 0.8027 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.035, allocations: 21.28 kB / 0.8028 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/1.036, allocations: 32.53 kB / 0.8028 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.036, allocations: 33.3 kB / 0.8028 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001506/1.038, allocations: 0.8102 MB / 0.8036 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00138/1.039, allocations: 0.9526 MB / 0.8045 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005107/1.04, allocations: 345.2 kB / 0.8049 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001026/1.041, allocations: 0.757 MB / 0.8056 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of Backend: time 2.11e-07/1.041, allocations: 1.062 kB / 0.8056 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009297/1.05, allocations: 3.015 MB / 0.8085 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003825/1.054, allocations: 2.265 MB / 0.8108 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.07979/1.134, allocations: 54.96 MB / 0.8644 GB, free: 5.277 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