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.001109/0.001109, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 71.89 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3315, allocations: 62.43 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02288/0.3544, allocations: 17.75 MB / 0.5478 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3653, allocations: 7.014 MB / 0.5547 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.3666, allocations: 27.81 kB / 0.5547 GB, free: 8.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.368, allocations: 381.6 kB / 0.5551 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.3701, allocations: 0.6683 MB / 0.5557 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.3739, allocations: 1.332 MB / 0.557 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.377, allocations: 2.517 MB / 0.5595 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.3781, allocations: 0.6818 MB / 0.5601 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.3801, allocations: 1.043 MB / 0.5612 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.3815, allocations: 0.759 MB / 0.5619 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.3819, allocations: 88 kB / 0.562 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.3835, allocations: 0.5305 MB / 0.5625 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.384, allocations: 379 kB / 0.5629 GB, free: 444 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.3847, allocations: 0.5134 MB / 0.5634 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.3868, allocations: 1.538 MB / 0.5649 GB, free: 14.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3868, allocations: 3.938 kB / 0.5649 GB, free: 14.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3868, allocations: 0 / 0.5649 GB, free: 14.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.3869, allocations: 0 / 0.5649 GB, free: 14.37 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.00242/0.3893, allocations: 1.283 MB / 0.5661 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3893, allocations: 8.031 kB / 0.5661 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.3895, allocations: 147.2 kB / 0.5663 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004441/0.39, allocations: 119.8 kB / 0.5664 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.3911, allocations: 0.6261 MB / 0.567 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.3913, allocations: 248.8 kB / 0.5672 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.3915, allocations: 84.12 kB / 0.5673 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.3933, allocations: 1.299 MB / 0.5686 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.3934, allocations: 7.844 kB / 0.5686 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/0.3935, allocations: 36 kB / 0.5686 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.3935, allocations: 45.3 kB / 0.5687 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.395, allocations: 0.9649 MB / 0.5696 GB, free: 9.246 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.00725/0.4023, allocations: 7.074 MB / 0.5765 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.4028, allocations: 312.3 kB / 0.5768 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.4031, allocations: 177.4 kB / 0.577 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002588/0.4057, allocations: 2.83 MB / 0.5798 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.4058, allocations: 34.8 kB / 0.5798 GB, free: 13.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.4058, allocations: 0 / 0.5798 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002223/0.408, allocations: 1.104 MB / 0.5809 GB, free: 12.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.408, allocations: 55.41 kB / 0.5809 GB, free: 12.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/0.409, allocations: 0.868 MB / 0.5818 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.409, allocations: 37.7 kB / 0.5818 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.4094, allocations: 0.5666 MB / 0.5824 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.4095, allocations: 142.2 kB / 0.5825 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.4097, allocations: 234.6 kB / 0.5827 GB, free: 10.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4099, allocations: 402.7 kB / 0.5831 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.4103, allocations: 242.5 kB / 0.5833 GB, free: 10.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.4111, allocations: 0.966 MB / 0.5843 GB, free: 8.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.4124, allocations: 1.319 MB / 0.5856 GB, free: 7.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.4125, allocations: 4 kB / 0.5856 GB, free: 7.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001766/0.4142, allocations: 1.215 MB / 0.5868 GB, free: 5.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.4143, allocations: 16 kB / 0.5868 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.4143, allocations: 24 kB / 0.5868 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.4144, allocations: 36.78 kB / 0.5868 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.4151, allocations: 279.4 kB / 0.5871 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.919e-05/0.4152, allocations: 59.78 kB / 0.5872 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.4158, allocations: 52 kB / 0.5872 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4159, allocations: 72 kB / 0.5873 GB, free: 5.34 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.0004133/0.4164, allocations: 341 kB / 0.5876 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.4165, allocations: 86.97 kB / 0.5877 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.4173, allocations: 484.8 kB / 0.5881 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4173, allocations: 7.984 kB / 0.5881 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4173, allocations: 0 / 0.5881 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4174, allocations: 0 / 0.5881 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.419, allocations: 1.251 MB / 0.5894 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.419, allocations: 3.938 kB / 0.5894 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.4193, allocations: 63.91 kB / 0.5894 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4193, allocations: 4 kB / 0.5894 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.4194, allocations: 11.98 kB / 0.5895 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.4194, allocations: 4.188 kB / 0.5895 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4194, allocations: 7.938 kB / 0.5895 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009202/0.4203, allocations: 0.6407 MB / 0.5901 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.4207, allocations: 204 kB / 0.5903 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/0.4208, allocations: 8 kB / 0.5903 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.4211, allocations: 15.98 kB / 0.5903 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.4212, allocations: 23.92 kB / 0.5903 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.4213, allocations: 27.97 kB / 0.5904 GB, free: 1.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007251/0.422, allocations: 0.593 MB / 0.5909 GB, free: 1.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.422, allocations: 4.062 kB / 0.5909 GB, free: 1.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4231, allocations: 295.9 kB / 0.5912 GB, free: 1.098 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.001838/0.425, allocations: 1.422 MB / 0.5926 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.4261, allocations: 0.645 MB / 0.5932 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4261, allocations: 4 kB / 0.5932 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.4263, allocations: 146.2 kB / 0.5934 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.4283, allocations: 421.1 kB / 0.5938 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009858/0.4382, allocations: 7.999 MB / 0.6016 GB, free: 5.578 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.4388, allocations: 1.001 MB / 0.6026 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000932/0.4398, allocations: 319.8 kB / 0.6029 GB, free: 4.238 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.4401, allocations: 299.3 kB / 0.6032 GB, free: 3.945 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4402, allocations: 4 kB / 0.6032 GB, free: 3.941 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05258/0.4927, allocations: 25.03 MB / 0.6276 GB, free: 11.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.424/9.917, allocations: 11.38 kB / 0.6276 GB, free: 11.12 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