Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2419/0.2419, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.1 MB " [Timeout remaining time 180] 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.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.16 kB / 491.8 MB, free: 29.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 64.27 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0208/0.1482, allocations: 17.73 MB / 0.5603 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.1588, allocations: 7.034 MB / 0.5672 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000941/0.1598, allocations: 19.88 kB / 0.5672 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.1609, allocations: 393.5 kB / 0.5676 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.1627, allocations: 0.68 MB / 0.5682 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.1665, allocations: 1.343 MB / 0.5696 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003542/0.1701, allocations: 2.506 MB / 0.572 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1711, allocations: 0.5999 MB / 0.5726 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.1732, allocations: 1.043 MB / 0.5736 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.1745, allocations: 0.798 MB / 0.5744 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1747, allocations: 84 kB / 0.5745 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.176, allocations: 0.5616 MB / 0.575 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.1765, allocations: 386.8 kB / 0.5754 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000615/0.1771, allocations: 0.5056 MB / 0.5759 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.1792, allocations: 1.546 MB / 0.5774 GB, free: 0.793 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1793, allocations: 0 / 0.5774 GB, free: 0.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1793, allocations: 0 / 0.5774 GB, free: 0.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1793, allocations: 0 / 0.5774 GB, free: 0.793 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002535/0.1818, allocations: 1.312 MB / 0.5787 GB, free: 15.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1818, allocations: 12.03 kB / 0.5787 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.182, allocations: 143.2 kB / 0.5788 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.1825, allocations: 124.3 kB / 0.5789 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1836, allocations: 0.6188 MB / 0.5795 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.1839, allocations: 252.8 kB / 0.5798 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.184, allocations: 84.06 kB / 0.5799 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.1859, allocations: 1.309 MB / 0.5811 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.186, allocations: 11.94 kB / 0.5811 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/0.1861, allocations: 36 kB / 0.5812 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/0.1861, allocations: 41.3 kB / 0.5812 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.1877, allocations: 0.9649 MB / 0.5822 GB, free: 11.62 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007712/0.1954, allocations: 7.102 MB / 0.5891 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.196, allocations: 292.1 kB / 0.5894 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.1963, allocations: 153.4 kB / 0.5895 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003/0.1993, allocations: 2.834 MB / 0.5923 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.1993, allocations: 38.8 kB / 0.5923 GB, free: 228 kB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.334e-06/0.1993, allocations: 0 / 0.5923 GB, free: 228 kB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002407/0.2017, allocations: 1.123 MB / 0.5934 GB, free: 15.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.2018, allocations: 59.41 kB / 0.5935 GB, free: 14.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.2029, allocations: 0.8721 MB / 0.5943 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.2029, allocations: 33.7 kB / 0.5944 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.2034, allocations: 0.5844 MB / 0.5949 GB, free: 13.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.2035, allocations: 146.9 kB / 0.5951 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.2038, allocations: 238.7 kB / 0.5953 GB, free: 13.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002958/0.2041, allocations: 402.7 kB / 0.5957 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.2045, allocations: 246.5 kB / 0.5959 GB, free: 12.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2056, allocations: 0.966 MB / 0.5969 GB, free: 11.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.2073, allocations: 1.315 MB / 0.5982 GB, free: 9.434 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.2073, allocations: 8 kB / 0.5982 GB, free: 9.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002002/0.2093, allocations: 1.212 MB / 0.5993 GB, free: 8.207 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.2094, allocations: 16 kB / 0.5994 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.2094, allocations: 28 kB / 0.5994 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/0.2094, allocations: 32.78 kB / 0.5994 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.2102, allocations: 279.4 kB / 0.5997 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-05/0.2103, allocations: 55.8 kB / 0.5997 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.2109, allocations: 51.95 kB / 0.5998 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.2111, allocations: 75.98 kB / 0.5999 GB, free: 7.68 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005195/0.2116, allocations: 329 kB / 0.6002 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.2117, allocations: 91.44 kB / 0.6003 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/0.2127, allocations: 481.6 kB / 0.6007 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.2127, allocations: 4 kB / 0.6007 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2127, allocations: 0 / 0.6007 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2127, allocations: 3.984 kB / 0.6007 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.2147, allocations: 1.24 MB / 0.6019 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.2147, allocations: 7.938 kB / 0.6019 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.215, allocations: 71.89 kB / 0.602 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.215, allocations: 7.938 kB / 0.602 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.215, allocations: 12 kB / 0.602 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.215, allocations: 4.188 kB / 0.602 GB, free: 5.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.215, allocations: 4 kB / 0.602 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.216, allocations: 0.6618 MB / 0.6027 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.2163, allocations: 200.4 kB / 0.6029 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.2164, allocations: 11.95 kB / 0.6029 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.2168, allocations: 23.98 kB / 0.6029 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.2168, allocations: 19.97 kB / 0.6029 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.2168, allocations: 27.92 kB / 0.603 GB, free: 4.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007546/0.2176, allocations: 0.593 MB / 0.6035 GB, free: 3.715 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2176, allocations: 4.062 kB / 0.6035 GB, free: 3.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001152/0.2188, allocations: 307.6 kB / 0.6038 GB, free: 3.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/0.2206, allocations: 1.421 MB / 0.6052 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2218, allocations: 0.6138 MB / 0.6058 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2218, allocations: 0 / 0.6058 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.222, allocations: 136 kB / 0.6059 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.2238, allocations: 417.2 kB / 0.6063 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2473/0.4711, allocations: 8.031 MB / 0.6142 GB, free: 58.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.4717, allocations: 0.9946 MB / 0.6152 GB, free: 57.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.4729, allocations: 309.5 kB / 0.6155 GB, free: 57.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.4733, allocations: 298.9 kB / 0.6157 GB, free: 57.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4733, allocations: 0 / 0.6157 GB, free: 57.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06334/0.5366, allocations: 24.87 MB / 0.64 GB, free: 45.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.793/10.33, allocations: 8 kB / 0.64 GB, free: 45.07 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.49877761863172]