Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01476/0.01476, allocations: 173.9 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.994/1.994, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001999/0.001998, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2521/0.2521, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 16.44 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 54.87 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.13/11.24, allocations: 3.66 GB / 4.11 GB, free: 119.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/11.24, allocations: 86.22 kB / 4.11 GB, free: 119.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.449/13.69, allocations: 473.1 MB / 4.572 GB, free: 63.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.454e-06/13.69, allocations: 0 / 4.572 GB, free: 63.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001272/13.69, allocations: 28.8 kB / 4.572 GB, free: 63.18 MB / 490.7 MB 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.008693/13.7, allocations: 2.049 MB / 4.574 GB, free: 62.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/13.7, allocations: 9.125 kB / 4.574 GB, free: 62.01 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005781/13.7, allocations: 131.6 kB / 4.574 GB, free: 61.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/13.7, allocations: 119.4 kB / 4.574 GB, free: 61.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/13.7, allocations: 0.7792 MB / 4.575 GB, free: 61.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/13.7, allocations: 56.61 kB / 4.575 GB, free: 61.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/13.7, allocations: 70.83 kB / 4.575 GB, free: 61.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/13.71, allocations: 1.244 MB / 4.576 GB, free: 60.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/13.71, allocations: 0 / 4.576 GB, free: 60.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/13.71, allocations: 34.66 kB / 4.576 GB, free: 60.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/13.71, allocations: 78.7 kB / 4.577 GB, free: 60.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/13.71, allocations: 1.381 MB / 4.578 GB, free: 59.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/13.72, allocations: 4.609 MB / 4.582 GB, free: 54.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/13.72, allocations: 0.6246 MB / 4.583 GB, free: 54.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/13.73, allocations: 0.7883 MB / 4.584 GB, free: 53.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/13.73, allocations: 46.94 kB / 4.584 GB, free: 53.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 3.577e-06/13.73, allocations: 3.938 kB / 4.584 GB, free: 53.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.003392/13.73, allocations: 0.9275 MB / 4.585 GB, free: 52.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/13.73, allocations: 111.2 kB / 4.585 GB, free: 52.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/13.73, allocations: 0.648 MB / 4.585 GB, free: 51.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/13.73, allocations: 37.7 kB / 4.585 GB, free: 51.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/13.73, allocations: 480.6 kB / 4.586 GB, free: 50.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/13.73, allocations: 193.7 kB / 4.586 GB, free: 50.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/13.73, allocations: 20 kB / 4.586 GB, free: 50.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/13.73, allocations: 390.8 kB / 4.587 GB, free: 50.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/13.73, allocations: 345.8 kB / 4.587 GB, free: 50.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/13.73, allocations: 0.5785 MB / 4.587 GB, free: 49.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/13.74, allocations: 439 kB / 4.588 GB, free: 48.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/13.74, allocations: 4 kB / 4.588 GB, free: 48.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003472/13.74, allocations: 1.086 MB / 4.589 GB, free: 47.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006543/13.74, allocations: 2.878 MB / 4.592 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/13.74, allocations: 8 kB / 4.592 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.079e-05/13.74, allocations: 12 kB / 4.592 GB, free: 44.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/13.74, allocations: 235.7 kB / 4.592 GB, free: 44.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/13.74, allocations: 19.92 kB / 4.592 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/13.74, allocations: 134.9 kB / 4.592 GB, free: 44.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/13.74, allocations: 63.97 kB / 4.592 GB, free: 44.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/13.74, allocations: 4 kB / 4.592 GB, free: 44.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002964/13.75, allocations: 0.9527 MB / 4.593 GB, free: 43.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/13.75, allocations: 4 kB / 4.593 GB, free: 43.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/13.75, allocations: 16 kB / 4.593 GB, free: 43.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/13.75, allocations: 223.7 kB / 4.593 GB, free: 43.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-05/13.75, allocations: 19.92 kB / 4.593 GB, free: 43.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/13.75, allocations: 103.2 kB / 4.593 GB, free: 42.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/13.75, allocations: 67.97 kB / 4.593 GB, free: 42.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008114/13.75, allocations: 372.7 kB / 4.594 GB, free: 42.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/13.75, allocations: 82.44 kB / 4.594 GB, free: 42.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/13.75, allocations: 1.056 MB / 4.595 GB, free: 41.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/13.75, allocations: 8 kB / 4.595 GB, free: 41.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/13.75, allocations: 4 kB / 4.595 GB, free: 41.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/13.75, allocations: 7.875 kB / 4.595 GB, free: 41.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/13.76, allocations: 1.697 MB / 4.597 GB, free: 39.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/13.76, allocations: 0 / 4.597 GB, free: 39.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/13.76, allocations: 127.9 kB / 4.597 GB, free: 39.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/13.76, allocations: 4 kB / 4.597 GB, free: 39.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/13.76, allocations: 28.19 kB / 4.597 GB, free: 39.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/13.76, allocations: 11.94 kB / 4.597 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/13.76, allocations: 4 kB / 4.597 GB, free: 39.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/13.76, allocations: 0.9604 MB / 4.598 GB, free: 38.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/13.76, allocations: 183.8 kB / 4.598 GB, free: 38.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/13.76, allocations: 12 kB / 4.598 GB, free: 38.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/13.76, allocations: 43.97 kB / 4.598 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/13.76, allocations: 56.42 kB / 4.598 GB, free: 38.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/13.76, allocations: 39.98 kB / 4.598 GB, free: 37.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009696/13.77, allocations: 0.5107 MB / 4.599 GB, free: 37.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.01e-07/13.77, allocations: 4 kB / 4.599 GB, free: 37.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005084/13.77, allocations: 1.331 MB / 4.6 GB, free: 36.14 MB / 490.7 MB 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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008967/13.78, allocations: 3.928 MB / 4.604 GB, free: 32.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00377/13.78, allocations: 1.299 MB / 4.605 GB, free: 31.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/13.78, allocations: 0.75 kB / 4.605 GB, free: 31.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000947/13.78, allocations: 359 kB / 4.605 GB, free: 30.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/13.79, allocations: 349.2 kB / 4.606 GB, free: 30.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008601/13.8, allocations: 7.976 MB / 4.613 GB, free: 22.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/13.8, allocations: 1.074 MB / 4.614 GB, free: 21.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003389/13.8, allocations: 0.5128 MB / 4.615 GB, free: 20.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/13.8, allocations: 359.3 kB / 4.615 GB, free: 20.27 MB / 490.7 MB Notification: Performance of SimCode: time 9.61e-07/13.8, allocations: 4 kB / 4.615 GB, free: 20.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5313/14.33, allocations: 49.6 MB / 4.664 GB, free: 74.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/14.33, allocations: 235.5 kB / 4.664 GB, free: 74.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.851/19.18, allocations: 3.234 kB / 4.664 GB, free: 74.21 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat