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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 117.7 kB / 17.78 MB, free: 5.281 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: 200.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 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.2099/0.2099, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 71.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.372, allocations: 62.43 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6273/0.9994, allocations: 216 MB / 0.7415 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01021/1.01, allocations: 8.509 MB / 0.7498 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/1.011, allocations: 24.78 kB / 0.7498 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/1.012, allocations: 493.1 kB / 0.7503 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008553/1.021, allocations: 2.834 MB / 0.753 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01123/1.032, allocations: 4.239 MB / 0.7572 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003617/1.036, allocations: 2.657 MB / 0.7598 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/1.037, allocations: 0.7398 MB / 0.7605 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/1.039, allocations: 1.036 MB / 0.7615 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/1.041, allocations: 1.134 MB / 0.7626 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/1.041, allocations: 111.3 kB / 0.7627 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01404/1.055, allocations: 7.743 MB / 0.7703 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008403/1.056, allocations: 475.1 kB / 0.7707 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/1.057, allocations: 0.6077 MB / 0.7713 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/1.069, allocations: 5.426 MB / 0.7766 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.069, allocations: 0.9688 kB / 0.7766 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.585e-06/1.069, allocations: 0 / 0.7766 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.93e-05/1.069, allocations: 1 kB / 0.7766 GB, free: 0.9453 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.00534/1.074, allocations: 2.176 MB / 0.7787 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.074, allocations: 10.75 kB / 0.7788 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/1.074, allocations: 125.4 kB / 0.7789 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/1.075, allocations: 125.5 kB / 0.779 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.076, allocations: 0.732 MB / 0.7797 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/1.076, allocations: 61.98 kB / 0.7798 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/1.076, allocations: 71.72 kB / 0.7798 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.078, allocations: 1.247 MB / 0.7811 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.078, allocations: 2.438 kB / 0.7811 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.078, allocations: 30.31 kB / 0.7811 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.644e-05/1.079, allocations: 76.83 kB / 0.7812 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/1.081, allocations: 1.388 MB / 0.7825 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008125/1.089, allocations: 4.882 MB / 0.7873 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/1.09, allocations: 0.8331 MB / 0.7881 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/1.091, allocations: 404.9 kB / 0.7885 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/1.092, allocations: 0.7845 MB / 0.7892 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.092, allocations: 41.16 kB / 0.7893 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.454e-06/1.092, allocations: 3.938 kB / 0.7893 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002233/1.094, allocations: 1.215 MB / 0.7905 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/1.094, allocations: 108.2 kB / 0.7906 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/1.095, allocations: 0.9856 MB / 0.7915 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/1.096, allocations: 39.83 kB / 0.7916 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/1.096, allocations: 457.3 kB / 0.792 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/1.096, allocations: 189.2 kB / 0.7922 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.096, allocations: 199.1 kB / 0.7924 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.097, allocations: 343.1 kB / 0.7927 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/1.097, allocations: 480.5 kB / 0.7932 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008691/1.098, allocations: 0.6037 MB / 0.7938 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/1.1, allocations: 1.002 MB / 0.7947 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.1, allocations: 0.8438 kB / 0.7947 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002202/1.102, allocations: 1.274 MB / 0.796 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.102, allocations: 4.969 kB / 0.796 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.102, allocations: 8 kB / 0.796 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.102, allocations: 8 kB / 0.796 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/1.103, allocations: 198.7 kB / 0.7962 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/1.103, allocations: 7.188 kB / 0.7962 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/1.104, allocations: 121.1 kB / 0.7963 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/1.104, allocations: 51.09 kB / 0.7964 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001013/1.105, allocations: 0.6651 MB / 0.797 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008482/1.106, allocations: 0.5852 MB / 0.7976 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001456/1.107, allocations: 0.9753 MB / 0.7985 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/1.107, allocations: 0 / 0.7985 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.002116/1.11, allocations: 1.219 MB / 0.7997 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.11, allocations: 4.875 kB / 0.7997 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.11, allocations: 4 kB / 0.7997 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.11, allocations: 9 kB / 0.7997 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/1.111, allocations: 198.9 kB / 0.7999 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/1.111, allocations: 8.062 kB / 0.7999 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/1.111, allocations: 73.34 kB / 0.8 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.112, allocations: 47.17 kB / 0.8001 GB, free: 5.254 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.0002872/1.112, allocations: 226.9 kB / 0.8003 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.112, allocations: 102.7 kB / 0.8004 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/1.114, allocations: 1.181 MB / 0.8015 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.114, allocations: 5.062 kB / 0.8015 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.114, allocations: 0 / 0.8015 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.114, allocations: 7.922 kB / 0.8015 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/1.117, allocations: 1.853 MB / 0.8033 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.117, allocations: 4 kB / 0.8034 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/1.118, allocations: 107.1 kB / 0.8035 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/1.118, allocations: 8 kB / 0.8035 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/1.118, allocations: 20.92 kB / 0.8035 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/1.118, allocations: 4 kB / 0.8035 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.118, allocations: 0 / 0.8035 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/1.119, allocations: 0.9303 MB / 0.8044 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/1.12, allocations: 188.7 kB / 0.8046 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.12, allocations: 19.94 kB / 0.8046 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/1.12, allocations: 36.84 kB / 0.8046 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.121, allocations: 41.36 kB / 0.8047 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/1.121, allocations: 43.91 kB / 0.8047 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001058/1.122, allocations: 0.757 MB / 0.8054 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.122, allocations: 0 / 0.8054 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003509/1.125, allocations: 1.171 MB / 0.8066 GB, free: 14.8 MB / 0.5919 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.005504/1.131, allocations: 2.472 MB / 0.809 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002877/1.134, allocations: 1.531 MB / 0.8105 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.134, allocations: 3.094 kB / 0.8105 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/1.134, allocations: 375.4 kB / 0.8109 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.137, allocations: 0.5343 MB / 0.8114 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.151, allocations: 9.095 MB / 0.8203 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/1.152, allocations: 1.047 MB / 0.8213 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001909/1.154, allocations: 0.7471 MB / 0.822 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.155, allocations: 347.3 kB / 0.8224 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of SimCode: time 1.402e-06/1.155, allocations: 0 / 0.8224 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08461/1.239, allocations: 45.68 MB / 0.867 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.72, allocations: 7.203 kB / 0.867 GB, free: 1.156 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > 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