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.001097/0.001097, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 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.2089/0.2089, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 71.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3886, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02524/0.4138, allocations: 17.74 MB / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.4256, allocations: 7.014 MB / 0.5547 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.4268, allocations: 23.88 kB / 0.5547 GB, free: 8.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.4283, allocations: 377.6 kB / 0.5551 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.4308, allocations: 0.6683 MB / 0.5557 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00412/0.4349, allocations: 1.33 MB / 0.557 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003523/0.4384, allocations: 2.525 MB / 0.5595 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.4398, allocations: 0.6779 MB / 0.5601 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.4422, allocations: 1.047 MB / 0.5612 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.4438, allocations: 0.7512 MB / 0.5619 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.4441, allocations: 88 kB / 0.562 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.446, allocations: 0.5382 MB / 0.5625 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005517/0.4466, allocations: 367.1 kB / 0.5629 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009746/0.4476, allocations: 0.5173 MB / 0.5634 GB, free: 20 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.4503, allocations: 1.542 MB / 0.5649 GB, free: 14.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4503, allocations: 0 / 0.5649 GB, free: 14.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4503, allocations: 3.938 kB / 0.5649 GB, free: 14.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.575e-05/0.4504, allocations: 0 / 0.5649 GB, free: 14.47 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.00311/0.4535, allocations: 1.283 MB / 0.5661 GB, free: 13.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4536, allocations: 8.031 kB / 0.5661 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000229/0.4538, allocations: 147.2 kB / 0.5663 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000528/0.4543, allocations: 123.8 kB / 0.5664 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.4554, allocations: 0.6144 MB / 0.567 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.4557, allocations: 256.7 kB / 0.5672 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.4558, allocations: 84.11 kB / 0.5673 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.4578, allocations: 1.289 MB / 0.5686 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.4579, allocations: 11.84 kB / 0.5686 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.458, allocations: 47.98 kB / 0.5686 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/0.4581, allocations: 49.23 kB / 0.5687 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.4597, allocations: 0.9572 MB / 0.5696 GB, free: 9.34 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.00771/0.4674, allocations: 7.07 MB / 0.5765 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.468, allocations: 316.3 kB / 0.5768 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.4683, allocations: 178.8 kB / 0.577 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.4712, allocations: 2.83 MB / 0.5798 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.4712, allocations: 38.8 kB / 0.5798 GB, free: 13.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.4713, allocations: 0 / 0.5798 GB, free: 13.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00247/0.4737, allocations: 1.112 MB / 0.5809 GB, free: 12.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.4738, allocations: 55.41 kB / 0.5809 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4749, allocations: 0.868 MB / 0.5818 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.475, allocations: 37.64 kB / 0.5818 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.4754, allocations: 0.5666 MB / 0.5824 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4756, allocations: 138.2 kB / 0.5825 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.4758, allocations: 234.6 kB / 0.5827 GB, free: 10.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.476, allocations: 406.7 kB / 0.5831 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.4765, allocations: 238.5 kB / 0.5833 GB, free: 10.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.4774, allocations: 0.966 MB / 0.5843 GB, free: 8.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.4788, allocations: 1.323 MB / 0.5856 GB, free: 7.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.4789, allocations: 4 kB / 0.5856 GB, free: 7.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001956/0.4808, allocations: 1.212 MB / 0.5868 GB, free: 5.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.4809, allocations: 18.5 kB / 0.5868 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.4809, allocations: 28 kB / 0.5868 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.481, allocations: 36 kB / 0.5868 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008113/0.4818, allocations: 271.5 kB / 0.5871 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-05/0.4818, allocations: 55.78 kB / 0.5872 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.4826, allocations: 48 kB / 0.5872 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/0.4827, allocations: 72 kB / 0.5873 GB, free: 5.438 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.0004473/0.4831, allocations: 345.1 kB / 0.5876 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.4833, allocations: 90.91 kB / 0.5877 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008803/0.4842, allocations: 478.8 kB / 0.5881 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.4842, allocations: 11.98 kB / 0.5882 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4842, allocations: 0 / 0.5882 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4843, allocations: 0 / 0.5882 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.486, allocations: 1.236 MB / 0.5894 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4861, allocations: 11.97 kB / 0.5894 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.4864, allocations: 67.91 kB / 0.5894 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.4864, allocations: 4 kB / 0.5894 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.4864, allocations: 15.98 kB / 0.5895 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.4864, allocations: 7.938 kB / 0.5895 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4865, allocations: 0 / 0.5895 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.4874, allocations: 0.6445 MB / 0.5901 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.4878, allocations: 200 kB / 0.5903 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.4879, allocations: 8 kB / 0.5903 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.4883, allocations: 16 kB / 0.5903 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.4884, allocations: 28.03 kB / 0.5903 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.4884, allocations: 27.97 kB / 0.5904 GB, free: 2.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008/0.4892, allocations: 0.593 MB / 0.5909 GB, free: 1.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4893, allocations: 0 / 0.5909 GB, free: 1.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001176/0.4904, allocations: 295.9 kB / 0.5912 GB, free: 1.191 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.001941/0.4924, allocations: 1.429 MB / 0.5926 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.4936, allocations: 0.6422 MB / 0.5932 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.4936, allocations: 4 kB / 0.5932 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.4939, allocations: 148.9 kB / 0.5934 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.4959, allocations: 430.1 kB / 0.5938 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.5078, allocations: 7.995 MB / 0.6016 GB, free: 5.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.5085, allocations: 1.001 MB / 0.6026 GB, free: 4.629 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001051/0.5096, allocations: 312.2 kB / 0.6029 GB, free: 4.328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.51, allocations: 295.3 kB / 0.6032 GB, free: 4.039 MB / 462.1 MB Notification: Performance of SimCode: time 1.423e-06/0.51, allocations: 0 / 0.6032 GB, free: 4.039 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05522/0.5653, allocations: 25.03 MB / 0.6276 GB, free: 11.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.318/9.884, allocations: 19.53 kB / 0.6276 GB, free: 11.21 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