Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 95.98 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 180.2 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 12.81 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1233, allocations: 61.9 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.5154/0.6387, allocations: 171 MB / 0.6275 GB, free: 6.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.6503, allocations: 8.394 MB / 0.6357 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009972/0.6513, allocations: 35.69 kB / 0.6357 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6525, allocations: 382.2 kB / 0.6361 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009509/0.6621, allocations: 2.134 MB / 0.6382 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009611/0.6717, allocations: 2.914 MB / 0.641 GB, free: 8.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.6746, allocations: 1.43 MB / 0.6424 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.6757, allocations: 0.6223 MB / 0.643 GB, free: 6.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.6773, allocations: 0.8687 MB / 0.6439 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.6786, allocations: 0.7908 MB / 0.6446 GB, free: 5.004 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.6787, allocations: 55.98 kB / 0.6447 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.6916, allocations: 6.569 MB / 0.6511 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.6923, allocations: 375 kB / 0.6515 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.6928, allocations: 233.2 kB / 0.6517 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007029/0.6998, allocations: 3.345 MB / 0.6549 GB, free: 10.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6998, allocations: 0 / 0.6549 GB, free: 10.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6999, allocations: 0 / 0.6549 GB, free: 10.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.6999, allocations: 0 / 0.6549 GB, free: 10.42 MB / 494.1 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.004738/0.7046, allocations: 1.906 MB / 0.6568 GB, free: 8.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7047, allocations: 8.031 kB / 0.6568 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.7049, allocations: 134.8 kB / 0.6569 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.7052, allocations: 114.7 kB / 0.657 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.7064, allocations: 0.672 MB / 0.6577 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.7064, allocations: 57.98 kB / 0.6578 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.7066, allocations: 67.98 kB / 0.6578 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.7085, allocations: 1.257 MB / 0.6591 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.7085, allocations: 0 / 0.6591 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7086, allocations: 35.94 kB / 0.6591 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-05/0.7087, allocations: 73.95 kB / 0.6592 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.7108, allocations: 1.398 MB / 0.6605 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008201/0.719, allocations: 4.962 MB / 0.6654 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.7209, allocations: 0.8444 MB / 0.6662 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008343/0.7217, allocations: 0.7835 MB / 0.667 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.7218, allocations: 42.94 kB / 0.667 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.647e-06/0.7218, allocations: 0 / 0.667 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002401/0.7242, allocations: 1.224 MB / 0.6682 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.7243, allocations: 111.2 kB / 0.6683 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.7256, allocations: 0.9817 MB / 0.6693 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/0.7257, allocations: 37.7 kB / 0.6693 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.7261, allocations: 455.2 kB / 0.6697 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.7264, allocations: 189.4 kB / 0.6699 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.7265, allocations: 16 kB / 0.6699 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.7267, allocations: 337.9 kB / 0.6702 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000879/0.7276, allocations: 469.7 kB / 0.6707 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/0.7286, allocations: 0.5971 MB / 0.6713 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009705/0.7295, allocations: 0.5378 MB / 0.6718 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.7296, allocations: 0 / 0.6718 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002595/0.7322, allocations: 1.258 MB / 0.673 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006978/0.7329, allocations: 1.134 MB / 0.6741 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.7329, allocations: 7.938 kB / 0.6741 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/0.733, allocations: 12 kB / 0.6742 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/0.7339, allocations: 203.7 kB / 0.6744 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/0.734, allocations: 8 kB / 0.6744 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.7352, allocations: 130.8 kB / 0.6745 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.7353, allocations: 51.91 kB / 0.6745 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7353, allocations: 4 kB / 0.6745 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00194/0.7373, allocations: 1.113 MB / 0.6756 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.7373, allocations: 4 kB / 0.6756 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.7373, allocations: 8 kB / 0.6756 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.7381, allocations: 199.7 kB / 0.6758 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.7381, allocations: 7.984 kB / 0.6758 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/0.739, allocations: 119.1 kB / 0.6759 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.7391, allocations: 47.97 kB / 0.676 GB, free: 3.984 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005702/0.7396, allocations: 361.3 kB / 0.6763 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.7398, allocations: 98.88 kB / 0.6764 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.7419, allocations: 1.203 MB / 0.6776 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.7419, allocations: 8 kB / 0.6776 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7419, allocations: 0 / 0.6776 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.7419, allocations: 3.984 kB / 0.6776 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.7446, allocations: 1.862 MB / 0.6794 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7446, allocations: 4 kB / 0.6794 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.7451, allocations: 116.1 kB / 0.6795 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.7451, allocations: 4 kB / 0.6796 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.7452, allocations: 19.94 kB / 0.6796 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.7452, allocations: 4 kB / 0.6796 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7452, allocations: 4 kB / 0.6796 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.7467, allocations: 1.033 MB / 0.6806 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/0.7471, allocations: 231.8 kB / 0.6808 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.7472, allocations: 19.98 kB / 0.6808 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.7479, allocations: 44.83 kB / 0.6809 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.7481, allocations: 44.33 kB / 0.6809 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.7482, allocations: 43.97 kB / 0.681 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001165/0.7494, allocations: 0.7492 MB / 0.6817 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.7494, allocations: 0 / 0.6817 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003383/0.7528, allocations: 1.147 MB / 0.6828 GB, free: 12.78 MB / 0.5137 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 (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.005174/0.758, allocations: 3.11 MB / 0.6858 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.7606, allocations: 1.538 MB / 0.6873 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.7606, allocations: 448 / 0.6873 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.7612, allocations: 382.2 kB / 0.6877 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.7635, allocations: 492.3 kB / 0.6882 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.7686, allocations: 4.751 MB / 0.6928 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.7692, allocations: 1.067 MB / 0.6939 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001796/0.771, allocations: 0.6601 MB / 0.6945 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.7715, allocations: 351.3 kB / 0.6948 GB, free: 256 kB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/0.7715, allocations: 0 / 0.6948 GB, free: 256 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3159/1.087, allocations: 42.32 MB / 0.7362 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.088, allocations: 243.3 kB / 0.7364 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/4.284, allocations: 0 / 0.7364 GB, free: 186.8 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat