Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001871/0.001871, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009117/0.0009116, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2093/0.2093, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.525/8.642, allocations: 3.604 GB / 4.083 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/8.642, allocations: 91.38 kB / 4.083 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.643/10.28, allocations: 474.8 MB / 4.546 GB, free: 240 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/10.28, allocations: 0 / 4.546 GB, free: 240 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001228/10.28, allocations: 27.98 kB / 4.546 GB, free: 212 kB / 0.5105 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.3423/10.63, allocations: 2.049 MB / 4.548 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/10.63, allocations: 8.406 kB / 4.548 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004912/10.63, allocations: 133.3 kB / 4.549 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/10.63, allocations: 115.9 kB / 4.549 GB, free: 64.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/10.63, allocations: 0.7469 MB / 4.549 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/10.63, allocations: 63.5 kB / 4.549 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/10.63, allocations: 71.45 kB / 4.55 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/10.63, allocations: 1.25 MB / 4.551 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/10.63, allocations: 0 / 4.551 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/10.63, allocations: 34.69 kB / 4.551 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/10.63, allocations: 71.05 kB / 4.551 GB, free: 63.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/10.63, allocations: 1.388 MB / 4.552 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008051/10.64, allocations: 4.728 MB / 4.557 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/10.64, allocations: 0.841 MB / 4.558 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009955/10.65, allocations: 0.7379 MB / 4.558 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/10.65, allocations: 49.89 kB / 4.558 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 4.258e-06/10.65, allocations: 0 / 4.558 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.002796/10.65, allocations: 1.222 MB / 4.56 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/10.65, allocations: 109.2 kB / 4.56 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/10.65, allocations: 0.8678 MB / 4.561 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/10.65, allocations: 40.33 kB / 4.561 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/10.65, allocations: 446.3 kB / 4.561 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/10.65, allocations: 193.8 kB / 4.561 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/10.65, allocations: 17.91 kB / 4.561 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/10.65, allocations: 343.1 kB / 4.562 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/10.65, allocations: 453.4 kB / 4.562 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/10.65, allocations: 0.5623 MB / 4.563 GB, free: 60.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009718/10.65, allocations: 0.5161 MB / 4.563 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/10.65, allocations: 1.438 kB / 4.563 GB, free: 60.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002456/10.66, allocations: 1.228 MB / 4.564 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/10.66, allocations: 0.9699 MB / 4.565 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/10.66, allocations: 2.75 kB / 4.565 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/10.66, allocations: 10.09 kB / 4.565 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/10.66, allocations: 206.7 kB / 4.565 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/10.66, allocations: 10.17 kB / 4.565 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/10.66, allocations: 133.2 kB / 4.566 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/10.66, allocations: 59.95 kB / 4.566 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/10.66, allocations: 3.875 kB / 4.566 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002114/10.66, allocations: 1.085 MB / 4.567 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/10.66, allocations: 3.188 kB / 4.567 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/10.66, allocations: 7 kB / 4.567 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/10.66, allocations: 209.3 kB / 4.567 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/10.66, allocations: 6.312 kB / 4.567 GB, free: 59.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/10.66, allocations: 118.3 kB / 4.567 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/10.66, allocations: 62.38 kB / 4.567 GB, free: 59.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (99): * Single equations (assignments): 99 * 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.0007091/10.66, allocations: 358.4 kB / 4.567 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/10.66, allocations: 98.28 kB / 4.567 GB, free: 58.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/10.67, allocations: 1.248 MB / 4.569 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/10.67, allocations: 10.67 kB / 4.569 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/10.67, allocations: 0 / 4.569 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/10.67, allocations: 3.797 kB / 4.569 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/10.67, allocations: 2.009 MB / 4.571 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/10.67, allocations: 3 kB / 4.571 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/10.67, allocations: 139.5 kB / 4.571 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/10.67, allocations: 5 kB / 4.571 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/10.67, allocations: 22.14 kB / 4.571 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/10.67, allocations: 6.531 kB / 4.571 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/10.67, allocations: 7.781 kB / 4.571 GB, free: 58.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/10.67, allocations: 1.149 MB / 4.572 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/10.67, allocations: 209.8 kB / 4.572 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/10.67, allocations: 14.25 kB / 4.572 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/10.67, allocations: 54.25 kB / 4.572 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/10.67, allocations: 53.58 kB / 4.572 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.824e-05/10.67, allocations: 48.73 kB / 4.572 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008213/10.67, allocations: 0.6954 MB / 4.573 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/10.67, allocations: 0 / 4.573 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004773/10.68, allocations: 1.348 MB / 4.574 GB, free: 57.62 MB / 0.5105 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 (64): * Single equations (assignments): 64 * 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.00756/10.69, allocations: 4.123 MB / 4.578 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002725/10.69, allocations: 1.567 MB / 4.58 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/10.69, allocations: 8.797 kB / 4.58 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005993/10.69, allocations: 442.7 kB / 4.58 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/10.69, allocations: 0.4981 MB / 4.581 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005815/10.7, allocations: 4.598 MB / 4.585 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/10.7, allocations: 1.073 MB / 4.586 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001882/10.7, allocations: 0.5183 MB / 4.587 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/10.7, allocations: 369.2 kB / 4.587 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of SimCode: time 5.45e-06/10.7, allocations: 0 / 4.587 GB, free: 52.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/10.78, allocations: 56.6 MB / 4.642 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/10.78, allocations: 234.3 kB / 4.643 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.332/15.12, allocations: 0 / 4.643 GB, free: 49.93 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat