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.001055/0.001055, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.534/1.534, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009353/0.0009353, allocations: 92.52 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4227/0.4227, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.994e-05, allocations: 0 / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.959/9.095, allocations: 3.604 GB / 4.077 GB, free: 83.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/9.096, allocations: 85.2 kB / 4.077 GB, free: 83.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.772/10.87, allocations: 473.9 MB / 4.54 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/10.87, allocations: 3.938 kB / 4.54 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.085e-05/10.87, allocations: 24 kB / 4.54 GB, free: 6.582 MB / 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.007918/10.88, allocations: 1.956 MB / 4.541 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/10.88, allocations: 8.031 kB / 4.541 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003659/10.88, allocations: 126.8 kB / 4.542 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/10.88, allocations: 110.8 kB / 4.542 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/10.88, allocations: 0.7427 MB / 4.542 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/10.88, allocations: 62.67 kB / 4.543 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/10.88, allocations: 71.98 kB / 4.543 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/10.88, allocations: 1.214 MB / 4.544 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/10.88, allocations: 0 / 4.544 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/10.88, allocations: 31.98 kB / 4.544 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/10.88, allocations: 77.94 kB / 4.544 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/10.88, allocations: 1.327 MB / 4.545 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3748/11.26, allocations: 4.724 MB / 4.55 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/11.26, allocations: 0.8118 MB / 4.551 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/11.26, allocations: 388.7 kB / 4.551 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/11.26, allocations: 0.746 MB / 4.552 GB, free: 54.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/11.26, allocations: 45.36 kB / 4.552 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 3.997e-06/11.26, allocations: 1.375 kB / 4.552 GB, free: 54.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.001909/11.26, allocations: 0.8421 MB / 4.553 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/11.26, allocations: 108.7 kB / 4.553 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/11.27, allocations: 0.8575 MB / 4.553 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/11.27, allocations: 39.55 kB / 4.554 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/11.27, allocations: 445.3 kB / 4.554 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/11.27, allocations: 198.5 kB / 4.554 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/11.27, allocations: 13.28 kB / 4.554 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/11.27, allocations: 338.6 kB / 4.554 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/11.27, allocations: 429.3 kB / 4.555 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007226/11.27, allocations: 0.5444 MB / 4.555 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/11.27, allocations: 0.491 MB / 4.556 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/11.27, allocations: 0 / 4.556 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002154/11.27, allocations: 1.178 MB / 4.557 GB, free: 53.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000283/11.27, allocations: 0.9669 MB / 4.558 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/11.27, allocations: 2.625 kB / 4.558 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/11.27, allocations: 7.188 kB / 4.558 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/11.27, allocations: 207.8 kB / 4.558 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/11.27, allocations: 12.62 kB / 4.558 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/11.27, allocations: 128.9 kB / 4.558 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/11.27, allocations: 62 kB / 4.558 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/11.27, allocations: 5.062 kB / 4.558 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001646/11.28, allocations: 1.028 MB / 4.559 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/11.28, allocations: 6.875 kB / 4.559 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/11.28, allocations: 6.094 kB / 4.559 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/11.28, allocations: 204.9 kB / 4.56 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/11.28, allocations: 6.875 kB / 4.56 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/11.28, allocations: 118.8 kB / 4.56 GB, free: 52.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/11.28, allocations: 66.55 kB / 4.56 GB, free: 52.27 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 () * 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.0003544/11.28, allocations: 149.7 kB / 4.56 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/11.28, allocations: 94.59 kB / 4.56 GB, free: 52.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/11.28, allocations: 1.203 MB / 4.561 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/11.28, allocations: 7.688 kB / 4.561 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/11.28, allocations: 3.094 kB / 4.561 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/11.28, allocations: 3.281 kB / 4.561 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/11.28, allocations: 1.958 MB / 4.563 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/11.28, allocations: 2.844 kB / 4.563 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/11.28, allocations: 133.5 kB / 4.563 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/11.28, allocations: 7.016 kB / 4.563 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/11.28, allocations: 28.92 kB / 4.563 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/11.28, allocations: 6.25 kB / 4.563 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/11.28, allocations: 1.781 kB / 4.563 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/11.29, allocations: 1.105 MB / 4.564 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/11.29, allocations: 210.2 kB / 4.565 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/11.29, allocations: 14.41 kB / 4.565 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/11.29, allocations: 57.91 kB / 4.565 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/11.29, allocations: 52.42 kB / 4.565 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/11.29, allocations: 51.36 kB / 4.565 GB, free: 51.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000913/11.29, allocations: 0.6864 MB / 4.565 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/11.29, allocations: 2.5 kB / 4.565 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004801/11.29, allocations: 1.349 MB / 4.567 GB, free: 50.98 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 () * 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.00753/11.3, allocations: 4.08 MB / 4.571 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002899/11.3, allocations: 1.52 MB / 4.572 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/11.3, allocations: 5.391 kB / 4.572 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005989/11.3, allocations: 420.2 kB / 4.573 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/11.31, allocations: 0.4939 MB / 4.573 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/11.31, allocations: 1.947 MB / 4.575 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/11.31, allocations: 1.076 MB / 4.576 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00237/11.31, allocations: 0.6207 MB / 4.577 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/11.32, allocations: 362.7 kB / 4.577 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/11.32, allocations: 0 / 4.577 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/11.42, allocations: 61 MB / 4.637 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/11.42, allocations: 209.1 kB / 4.637 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.239/15.66, allocations: 0 / 4.637 GB, free: 45.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