Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.00159/0.001595, allocations: 182.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.002107/0.002106, allocations: 88.53 kB / 270.9 MB, free: 8.363 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.5235/0.5235, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004654, allocations: 12 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6064/0.7431, allocations: 171 MB / 0.6458 GB, free: 11.8 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.02364/0.7668, allocations: 11.37 MB / 0.6569 GB, free: 424 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.7681, allocations: 31.75 kB / 0.657 GB, free: 392 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.7703, allocations: 386.1 kB / 0.6573 GB, free: 0 / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.7814, allocations: 2.327 MB / 0.6596 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.7935, allocations: 2.928 MB / 0.6625 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003676/0.7972, allocations: 1.422 MB / 0.6638 GB, free: 9.332 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.7989, allocations: 0.6072 MB / 0.6644 GB, free: 8.715 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.8018, allocations: 0.8687 MB / 0.6653 GB, free: 7.844 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.8042, allocations: 0.7985 MB / 0.6661 GB, free: 7.043 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.8046, allocations: 52 kB / 0.6661 GB, free: 6.992 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.8241, allocations: 6.737 MB / 0.6727 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.4253/1.249, allocations: 373.7 kB / 0.673 GB, free: 8.566 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006736/1.25, allocations: 233.2 kB / 0.6733 GB, free: 8.535 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.262, allocations: 3.411 MB / 0.6766 GB, free: 8.281 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.262, allocations: 0.5 kB / 0.6766 GB, free: 8.281 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.446e-06/1.262, allocations: 1.375 kB / 0.6766 GB, free: 8.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.151e-05/1.262, allocations: 0 / 0.6766 GB, free: 8.281 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.009643/1.272, allocations: 1.959 MB / 0.6785 GB, free: 7.219 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.272, allocations: 10.28 kB / 0.6785 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006542/1.272, allocations: 130.5 kB / 0.6787 GB, free: 7.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/1.273, allocations: 117.1 kB / 0.6788 GB, free: 7.125 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/1.275, allocations: 0.6825 MB / 0.6794 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.782e-05/1.275, allocations: 60.47 kB / 0.6795 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/1.276, allocations: 73.25 kB / 0.6796 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/1.28, allocations: 1.252 MB / 0.6808 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/1.28, allocations: 2.281 kB / 0.6808 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/1.28, allocations: 32.3 kB / 0.6808 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/1.28, allocations: 76.42 kB / 0.6809 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005092/1.285, allocations: 1.409 MB / 0.6823 GB, free: 6.754 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/1.3, allocations: 4.816 MB / 0.687 GB, free: 4.887 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/1.304, allocations: 0.866 MB / 0.6878 GB, free: 4.848 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008432/1.304, allocations: 0.7499 MB / 0.6885 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/1.305, allocations: 48.23 kB / 0.6886 GB, free: 4.055 MB / 490.7 MB Notification: Performance of pre-optimization done (n=55): time 4.068e-06/1.305, allocations: 0 / 0.6886 GB, free: 4.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.004689/1.309, allocations: 1.269 MB / 0.6898 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/1.309, allocations: 109.7 kB / 0.6899 GB, free: 19.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/1.311, allocations: 0.9689 MB / 0.6909 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003399/1.312, allocations: 40.33 kB / 0.6909 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/1.312, allocations: 452.5 kB / 0.6913 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/1.313, allocations: 196.9 kB / 0.6915 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.313, allocations: 17.56 kB / 0.6916 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.313, allocations: 346.2 kB / 0.6919 GB, free: 18.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.314, allocations: 468 kB / 0.6923 GB, free: 18.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.316, allocations: 0.5933 MB / 0.6929 GB, free: 18.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/1.318, allocations: 0.5378 MB / 0.6934 GB, free: 18.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.318, allocations: 2.766 kB / 0.6934 GB, free: 18.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003979/1.322, allocations: 1.211 MB / 0.6946 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005186/1.322, allocations: 1.14 MB / 0.6957 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.322, allocations: 10.59 kB / 0.6957 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/1.322, allocations: 7.031 kB / 0.6957 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/1.324, allocations: 213.6 kB / 0.696 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/1.325, allocations: 8.438 kB / 0.696 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.326, allocations: 134.7 kB / 0.6961 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/1.327, allocations: 60.91 kB / 0.6961 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.327, allocations: 8.031 kB / 0.6962 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003542/1.33, allocations: 1.129 MB / 0.6973 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.33, allocations: 6.469 kB / 0.6973 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.33, allocations: 5.906 kB / 0.6973 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.332, allocations: 207.6 kB / 0.6975 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/1.332, allocations: 9.453 kB / 0.6975 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.333, allocations: 86.64 kB / 0.6976 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/1.334, allocations: 56.3 kB / 0.6976 GB, free: 17.43 MB / 0.4948 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.0009646/1.335, allocations: 369 kB / 0.698 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/1.335, allocations: 93.09 kB / 0.6981 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/1.339, allocations: 1.298 MB / 0.6993 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.339, allocations: 7.906 kB / 0.6993 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.339, allocations: 0 / 0.6993 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/1.339, allocations: 5.812 kB / 0.6993 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/1.345, allocations: 2.05 MB / 0.7013 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.629e-06/1.345, allocations: 6.062 kB / 0.7013 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.346, allocations: 129.5 kB / 0.7015 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/1.346, allocations: 7 kB / 0.7015 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.978e-05/1.346, allocations: 27.25 kB / 0.7015 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/1.346, allocations: 4.188 kB / 0.7015 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.346, allocations: 5.656 kB / 0.7015 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/1.349, allocations: 1.18 MB / 0.7027 GB, free: 16.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006714/1.35, allocations: 212.6 kB / 0.7029 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/1.35, allocations: 12.91 kB / 0.7029 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.352, allocations: 49.41 kB / 0.7029 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/1.352, allocations: 52.47 kB / 0.703 GB, free: 16.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/1.352, allocations: 59.25 kB / 0.703 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001631/1.354, allocations: 0.6931 MB / 0.7037 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.81e-07/1.354, allocations: 0 / 0.7037 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006166/1.36, allocations: 1.187 MB / 0.7049 GB, free: 15.78 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 () * 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.01087/1.371, allocations: 3.321 MB / 0.7081 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005325/1.376, allocations: 1.619 MB / 0.7097 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.377, allocations: 2.031 kB / 0.7097 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.378, allocations: 464.1 kB / 0.7101 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/1.383, allocations: 0.4964 MB / 0.7106 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009183/1.392, allocations: 4.884 MB / 0.7154 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/1.393, allocations: 1.068 MB / 0.7164 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.395, allocations: 397.5 kB / 0.7168 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of SimCode: time 1.383e-06/1.395, allocations: 0 / 0.7168 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.728/5.123, allocations: 33.77 MB / 0.7498 GB, free: 4.387 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat