Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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) 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 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 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 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_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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.001745/0.001745, allocations: 103.4 kB / 15.98 MB, free: 6.336 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.001863/0.001863, allocations: 198.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4137/0.4137, allocations: 43.5 MB / 313.6 MB, free: 8.539 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 67.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.16, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2856/0.4456, allocations: 18.09 MB / 458.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00953/0.4552, allocations: 7.056 MB / 465.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.4566, allocations: 26.06 kB / 465.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.4581, allocations: 341.9 kB / 465.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.4607, allocations: 0.6265 MB / 466.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.4648, allocations: 1.237 MB / 467.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.4684, allocations: 2.517 MB / 470 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.4699, allocations: 0.6639 MB / 470.7 MB, free: 35.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.4726, allocations: 1.043 MB / 471.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.4742, allocations: 0.7887 MB / 472.5 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.4747, allocations: 87.03 kB / 472.6 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.4767, allocations: 0.5443 MB / 473.1 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006369/0.4774, allocations: 380 kB / 473.5 MB, free: 34.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009994/0.4784, allocations: 0.5202 MB / 474 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.481, allocations: 1.539 MB / 475.5 MB, free: 33.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.481, allocations: 0 / 475.5 MB, free: 33.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.481, allocations: 2.781 kB / 475.6 MB, free: 33.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.4811, allocations: 0 / 475.6 MB, free: 33.57 MB / 382.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.00241/0.4835, allocations: 1.284 MB / 476.8 MB, free: 32.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4835, allocations: 17.61 kB / 476.9 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.4837, allocations: 138.4 kB / 477 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.4842, allocations: 122.5 kB / 477.1 MB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.485, allocations: 0.5907 MB / 477.7 MB, free: 32.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.4852, allocations: 250.9 kB / 477.9 MB, free: 32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.4853, allocations: 74.22 kB / 478 MB, free: 31.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.4871, allocations: 1.311 MB / 479.3 MB, free: 31.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.4871, allocations: 6.906 kB / 479.3 MB, free: 31.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.4872, allocations: 36.94 kB / 479.4 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.4873, allocations: 45.09 kB / 479.4 MB, free: 31.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.4886, allocations: 0.9678 MB / 480.4 MB, free: 30.87 MB / 382.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.005473/0.4941, allocations: 7.09 MB / 487.5 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.4946, allocations: 313 kB / 487.8 MB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.4948, allocations: 167.4 kB / 487.9 MB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.4969, allocations: 2.825 MB / 490.8 MB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4969, allocations: 37.83 kB / 490.8 MB, free: 21.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 4.148e-06/0.4969, allocations: 0 / 490.8 MB, free: 21.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002143/0.4991, allocations: 1.103 MB / 491.9 MB, free: 21.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4991, allocations: 54.53 kB / 492 MB, free: 21.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.4999, allocations: 0.8768 MB / 492.8 MB, free: 20.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.5, allocations: 36.67 kB / 492.9 MB, free: 20.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.5003, allocations: 0.5706 MB / 493.4 MB, free: 20.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.5004, allocations: 130.8 kB / 493.6 MB, free: 20.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.5006, allocations: 241.4 kB / 493.8 MB, free: 19.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5008, allocations: 401.2 kB / 494.2 MB, free: 19.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.5011, allocations: 247.1 kB / 494.4 MB, free: 19.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.5018, allocations: 0.9675 MB / 495.4 MB, free: 18.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.5032, allocations: 1.317 MB / 496.7 MB, free: 17.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.5032, allocations: 14.97 kB / 496.7 MB, free: 17.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00213/0.5054, allocations: 1.206 MB / 497.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.5054, allocations: 16.41 kB / 498 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/0.5055, allocations: 26.64 kB / 498 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.106e-05/0.5055, allocations: 38.06 kB / 498 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/0.5064, allocations: 282.8 kB / 498.3 MB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-05/0.5065, allocations: 52.38 kB / 498.3 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008366/0.5074, allocations: 68.88 kB / 498.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5075, allocations: 72.03 kB / 498.5 MB, free: 16.59 MB / 382.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.0004796/0.508, allocations: 335 kB / 498.8 MB, free: 16.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.5081, allocations: 86.34 kB / 498.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.5092, allocations: 486.8 kB / 499.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.5092, allocations: 4.797 kB / 499.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5092, allocations: 0.7031 kB / 499.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5092, allocations: 2.078 kB / 499.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.5112, allocations: 1.242 MB / 0.4889 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5112, allocations: 5.359 kB / 0.4889 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.5115, allocations: 74.55 kB / 0.489 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.5115, allocations: 3.562 kB / 0.489 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.5116, allocations: 9.891 kB / 0.489 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.5116, allocations: 3.516 kB / 0.489 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5116, allocations: 5.531 kB / 0.489 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.5126, allocations: 0.6406 MB / 0.4896 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.5129, allocations: 213.6 kB / 0.4898 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.513, allocations: 8.891 kB / 0.4898 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.5135, allocations: 23.27 kB / 0.4898 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.5135, allocations: 24.66 kB / 0.4899 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.5136, allocations: 25 kB / 0.4899 GB, free: 14.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009515/0.5146, allocations: 0.598 MB / 0.4905 GB, free: 14.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5146, allocations: 0 / 0.4905 GB, free: 14.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001731/0.5163, allocations: 304.4 kB / 0.4908 GB, free: 14.37 MB / 382.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.002183/0.5185, allocations: 1.414 MB / 0.4922 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.5201, allocations: 0.6626 MB / 0.4928 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.5201, allocations: 1.156 kB / 0.4928 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.5204, allocations: 143.1 kB / 0.4929 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.5226, allocations: 421.3 kB / 0.4933 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.5374, allocations: 8.704 MB / 0.5018 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.5382, allocations: 0.9974 MB / 0.5028 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001589/0.5398, allocations: 321.4 kB / 0.5031 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.5403, allocations: 299.7 kB / 0.5034 GB, free: 5.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5403, allocations: 0 / 0.5034 GB, free: 5.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/0.6012, allocations: 24.23 MB / 0.5271 GB, free: 5.598 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.6016, allocations: 268.6 kB / 0.5273 GB, free: 5.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.237, allocations: 0 / 0.5273 GB, free: 5.301 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches