Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.13 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3586, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02133/0.38, allocations: 17.74 MB / 0.5479 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3919, allocations: 7.019 MB / 0.5548 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.393, allocations: 19.88 kB / 0.5548 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.3943, allocations: 373.6 kB / 0.5552 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.3964, allocations: 0.6839 MB / 0.5558 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.4003, allocations: 1.328 MB / 0.5571 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.4037, allocations: 2.521 MB / 0.5596 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.4048, allocations: 0.674 MB / 0.5603 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.4068, allocations: 1.036 MB / 0.5613 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.4081, allocations: 0.759 MB / 0.562 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.4084, allocations: 92 kB / 0.5621 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.4099, allocations: 0.5695 MB / 0.5626 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.4103, allocations: 367 kB / 0.563 GB, free: 468 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.411, allocations: 0.5174 MB / 0.5635 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.4133, allocations: 1.615 MB / 0.5651 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4133, allocations: 0 / 0.5651 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4133, allocations: 0 / 0.5651 GB, free: 14.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.4134, allocations: 0 / 0.5651 GB, free: 14.32 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.4159, allocations: 1.32 MB / 0.5664 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4159, allocations: 8.031 kB / 0.5664 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.4161, allocations: 143.2 kB / 0.5665 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.4166, allocations: 124.3 kB / 0.5666 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.4176, allocations: 0.6149 MB / 0.5672 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.4179, allocations: 260.7 kB / 0.5675 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.418, allocations: 88.02 kB / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.42, allocations: 1.297 MB / 0.5688 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.4201, allocations: 3.938 kB / 0.5688 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.4202, allocations: 44 kB / 0.5689 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.4202, allocations: 37.3 kB / 0.5689 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.4219, allocations: 0.9649 MB / 0.5699 GB, free: 9.152 MB / 430.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.007721/0.4296, allocations: 7.098 MB / 0.5768 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.4302, allocations: 312.3 kB / 0.5771 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.4305, allocations: 169.4 kB / 0.5772 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00305/0.4336, allocations: 2.815 MB / 0.58 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.4337, allocations: 38.78 kB / 0.58 GB, free: 13.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.4337, allocations: 0 / 0.58 GB, free: 13.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002393/0.4361, allocations: 1.125 MB / 0.5811 GB, free: 12.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4361, allocations: 55.41 kB / 0.5812 GB, free: 12.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.4372, allocations: 0.872 MB / 0.582 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.4373, allocations: 33.7 kB / 0.5821 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.4378, allocations: 0.5921 MB / 0.5826 GB, free: 10.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.4379, allocations: 146.9 kB / 0.5828 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.4382, allocations: 246.6 kB / 0.583 GB, free: 10.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.4385, allocations: 398.7 kB / 0.5834 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.4389, allocations: 242.5 kB / 0.5836 GB, free: 9.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4399, allocations: 0.966 MB / 0.5846 GB, free: 8.621 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.4415, allocations: 1.32 MB / 0.5859 GB, free: 6.941 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4416, allocations: 4 kB / 0.5859 GB, free: 6.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00194/0.4435, allocations: 1.215 MB / 0.5871 GB, free: 5.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4435, allocations: 16 kB / 0.5871 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-05/0.4436, allocations: 28 kB / 0.5871 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.394e-05/0.4437, allocations: 36 kB / 0.5871 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/0.4445, allocations: 275.4 kB / 0.5874 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.421e-05/0.4445, allocations: 48.45 kB / 0.5874 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.4452, allocations: 55.98 kB / 0.5875 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4453, allocations: 72 kB / 0.5876 GB, free: 5.195 MB / 446.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.0004461/0.4457, allocations: 341 kB / 0.5879 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.4459, allocations: 95.44 kB / 0.588 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008969/0.4468, allocations: 485.1 kB / 0.5884 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.4468, allocations: 4 kB / 0.5884 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4468, allocations: 0 / 0.5884 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4468, allocations: 3.984 kB / 0.5885 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.4486, allocations: 1.24 MB / 0.5897 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4486, allocations: 7.938 kB / 0.5897 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.4489, allocations: 67.91 kB / 0.5897 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4489, allocations: 4 kB / 0.5897 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.4489, allocations: 8 kB / 0.5897 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.4489, allocations: 7.984 kB / 0.5898 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4489, allocations: 0 / 0.5898 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/0.4499, allocations: 0.6453 MB / 0.5904 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.4502, allocations: 208.3 kB / 0.5906 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/0.4503, allocations: 20.05 kB / 0.5906 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4507, allocations: 16 kB / 0.5906 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4507, allocations: 19.97 kB / 0.5906 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.4508, allocations: 27.97 kB / 0.5907 GB, free: 1.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007745/0.4516, allocations: 0.593 MB / 0.5912 GB, free: 1.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4516, allocations: 0 / 0.5912 GB, free: 1.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001107/0.4527, allocations: 303.7 kB / 0.5915 GB, free: 0.9336 MB / 446.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.001948/0.4546, allocations: 1.426 MB / 0.5929 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.4558, allocations: 0.6463 MB / 0.5936 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4558, allocations: 0 / 0.5936 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.4561, allocations: 148.9 kB / 0.5937 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.4581, allocations: 432 kB / 0.5941 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.4692, allocations: 8.038 MB / 0.602 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/0.47, allocations: 0.9973 MB / 0.6029 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.471, allocations: 310.8 kB / 0.6032 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.4714, allocations: 299.3 kB / 0.6035 GB, free: 3.746 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4714, allocations: 0 / 0.6035 GB, free: 3.746 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05983/0.5313, allocations: 24.78 MB / 0.6277 GB, free: 11.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.7/10.23, allocations: 7.75 kB / 0.6277 GB, free: 11.18 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches