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.001599/0.001598, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008475/0.0008476, allocations: 86.2 kB / 261.7 MB, free: 1.684 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.2091/0.2091, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.43e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.344/9.45, allocations: 3.603 GB / 4.069 GB, free: 181.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/9.451, allocations: 88.83 kB / 4.069 GB, free: 181.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.646/11.1, allocations: 468.7 MB / 4.527 GB, free: 65.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/11.1, allocations: 0 / 4.527 GB, free: 65.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.234e-05/11.1, allocations: 25.94 kB / 4.527 GB, free: 65.43 MB / 0.4948 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.006986/11.1, allocations: 1.949 MB / 4.529 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/11.1, allocations: 7.812 kB / 4.529 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/11.1, allocations: 128.5 kB / 4.529 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/11.11, allocations: 0.7417 MB / 4.53 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/11.11, allocations: 30.31 kB / 4.53 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/11.11, allocations: 41.66 kB / 4.53 GB, free: 64.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/11.11, allocations: 1.217 MB / 4.531 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/11.11, allocations: 1.108 MB / 4.532 GB, free: 64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/11.11, allocations: 0 / 4.532 GB, free: 64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/11.11, allocations: 3.375 kB / 4.532 GB, free: 64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/11.11, allocations: 72.06 kB / 4.532 GB, free: 64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007657/11.12, allocations: 4.552 MB / 4.537 GB, free: 62.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/11.12, allocations: 0.7721 MB / 4.537 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/11.12, allocations: 364.4 kB / 4.538 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/11.12, allocations: 0.7328 MB / 4.538 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/11.12, allocations: 44.69 kB / 4.538 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 3.657e-06/11.12, allocations: 0 / 4.538 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.00262/11.12, allocations: 0.8763 MB / 4.539 GB, free: 61.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/11.12, allocations: 111 kB / 4.539 GB, free: 61.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009039/11.12, allocations: 0.6143 MB / 4.54 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/11.12, allocations: 25.7 kB / 4.54 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/11.12, allocations: 462.7 kB / 4.54 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/11.12, allocations: 188.2 kB / 4.541 GB, free: 60.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/11.12, allocations: 0 / 4.541 GB, free: 60.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001438/11.13, allocations: 379.3 kB / 4.541 GB, free: 60.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/11.13, allocations: 419.2 kB / 4.541 GB, free: 60.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/11.13, allocations: 0.5354 MB / 4.542 GB, free: 60.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006669/11.13, allocations: 1.519 MB / 4.543 GB, free: 60.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/11.13, allocations: 0 / 4.543 GB, free: 60.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.008422/11.14, allocations: 2.145 MB / 4.545 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002468/11.14, allocations: 0.9672 MB / 4.546 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/11.14, allocations: 10.66 kB / 4.546 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/11.14, allocations: 7.5 kB / 4.546 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/11.14, allocations: 204.1 kB / 4.547 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/11.14, allocations: 7.781 kB / 4.547 GB, free: 59.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/11.14, allocations: 94.06 kB / 4.547 GB, free: 59.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/11.14, allocations: 60.45 kB / 4.547 GB, free: 59.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/11.14, allocations: 10.89 kB / 4.547 GB, free: 59.01 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007142/11.15, allocations: 1.963 MB / 4.549 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/11.15, allocations: 2.906 kB / 4.549 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/11.15, allocations: 10.25 kB / 4.549 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/11.15, allocations: 203.6 kB / 4.549 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/11.15, allocations: 3.406 kB / 4.549 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/11.15, allocations: 75.22 kB / 4.549 GB, free: 58.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/11.15, allocations: 57.62 kB / 4.549 GB, free: 58.77 MB / 0.4948 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.0003324/11.15, allocations: 120.1 kB / 4.549 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002206/11.16, allocations: 0.8655 MB / 4.55 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/11.16, allocations: 75.5 kB / 4.55 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/11.16, allocations: 1.087 MB / 4.551 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/11.16, allocations: 7.188 kB / 4.551 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/11.16, allocations: 3.562 kB / 4.551 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/11.16, allocations: 2.75 kB / 4.551 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/11.16, allocations: 1.72 MB / 4.553 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/11.16, allocations: 7.75 kB / 4.553 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/11.16, allocations: 119.5 kB / 4.553 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/11.16, allocations: 3.344 kB / 4.553 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/11.16, allocations: 10.16 kB / 4.553 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/11.16, allocations: 7.281 kB / 4.553 GB, free: 57.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/11.16, allocations: 7.875 kB / 4.553 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/11.16, allocations: 0.9919 MB / 4.554 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/11.16, allocations: 210 kB / 4.554 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/11.16, allocations: 6.984 kB / 4.554 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/11.16, allocations: 40.19 kB / 4.554 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/11.17, allocations: 50.28 kB / 4.554 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/11.17, allocations: 42.05 kB / 4.554 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006276/11.17, allocations: 0.5189 MB / 4.555 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/11.17, allocations: 0 / 4.555 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004113/11.17, allocations: 1.333 MB / 4.556 GB, free: 55.7 MB / 0.4948 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 (56): * Single equations (assignments): 56 * 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.007275/11.18, allocations: 4.12 MB / 4.56 GB, free: 53.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002275/11.18, allocations: 1.403 MB / 4.561 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/11.18, allocations: 3.031 kB / 4.561 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/11.18, allocations: 327.3 kB / 4.562 GB, free: 52.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/11.18, allocations: 327.6 kB / 4.562 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/11.19, allocations: 1.792 MB / 4.564 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/11.19, allocations: 1.073 MB / 4.565 GB, free: 49.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001861/11.19, allocations: 0.4895 MB / 4.565 GB, free: 49.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/11.19, allocations: 352.5 kB / 4.566 GB, free: 48.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.933e-06/11.19, allocations: 4 kB / 4.566 GB, free: 48.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07872/11.27, allocations: 42.83 MB / 4.608 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/11.27, allocations: 186.8 kB / 4.608 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.708/14.98, allocations: 0 / 4.608 GB, free: 8.957 MB / 0.4948 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