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.001844/0.001843, allocations: 104.2 kB / 16.4 MB, free: 6.504 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.001803/0.001803, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2029/0.2029, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.00168/0.00168, allocations: 67.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1034, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01856/0.122, allocations: 17.62 MB / 0.5046 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008864/0.1309, allocations: 7.011 MB / 0.5114 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.1318, allocations: 19.88 kB / 0.5115 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.1331, allocations: 373.6 kB / 0.5118 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.1348, allocations: 0.6761 MB / 0.5125 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.1382, allocations: 1.324 MB / 0.5138 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003109/0.1414, allocations: 2.498 MB / 0.5162 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.1427, allocations: 0.6779 MB / 0.5169 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.1451, allocations: 1.043 MB / 0.5179 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.1464, allocations: 0.7512 MB / 0.5186 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.1467, allocations: 88 kB / 0.5187 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.1483, allocations: 0.5343 MB / 0.5192 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.1488, allocations: 371 kB / 0.5196 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007945/0.1496, allocations: 0.5134 MB / 0.5201 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.152, allocations: 1.535 MB / 0.5216 GB, free: 9.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.152, allocations: 4 kB / 0.5216 GB, free: 9.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.152, allocations: 0 / 0.5216 GB, free: 9.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.802e-05/0.152, allocations: 0 / 0.5216 GB, free: 9.137 MB / 414.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.002704/0.1548, allocations: 1.29 MB / 0.5228 GB, free: 7.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1548, allocations: 11.89 kB / 0.5229 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.155, allocations: 147.2 kB / 0.523 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/0.1556, allocations: 119.8 kB / 0.5231 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.1567, allocations: 0.6106 MB / 0.5237 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.1569, allocations: 252.8 kB / 0.5239 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1571, allocations: 80.12 kB / 0.524 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.159, allocations: 1.309 MB / 0.5253 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.1591, allocations: 3.938 kB / 0.5253 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.1592, allocations: 43.94 kB / 0.5253 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.1592, allocations: 45.3 kB / 0.5254 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.1608, allocations: 0.9649 MB / 0.5263 GB, free: 4 MB / 414.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.2147/0.3756, allocations: 7.062 MB / 0.5332 GB, free: 37.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.3762, allocations: 321.6 kB / 0.5335 GB, free: 37.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.3765, allocations: 171.2 kB / 0.5337 GB, free: 37.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002421/0.3789, allocations: 2.818 MB / 0.5365 GB, free: 34.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.379, allocations: 42.47 kB / 0.5365 GB, free: 34.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/0.379, allocations: 3.938 kB / 0.5365 GB, free: 34.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002382/0.3814, allocations: 1.111 MB / 0.5376 GB, free: 34.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3814, allocations: 55.41 kB / 0.5376 GB, free: 34.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3825, allocations: 0.8767 MB / 0.5385 GB, free: 34.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.3826, allocations: 35.58 kB / 0.5385 GB, free: 34.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.3829, allocations: 0.5639 MB / 0.5391 GB, free: 33.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.383, allocations: 140.8 kB / 0.5392 GB, free: 33.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.3833, allocations: 242.4 kB / 0.5394 GB, free: 33.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3834, allocations: 394 kB / 0.5398 GB, free: 33.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.3838, allocations: 245.3 kB / 0.5401 GB, free: 33.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.3845, allocations: 0.9663 MB / 0.541 GB, free: 32.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.3856, allocations: 1.313 MB / 0.5423 GB, free: 31.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/0.3856, allocations: 11.75 kB / 0.5423 GB, free: 31.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001785/0.3874, allocations: 1.215 MB / 0.5435 GB, free: 31.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.3875, allocations: 16.81 kB / 0.5435 GB, free: 31.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.3875, allocations: 25.28 kB / 0.5435 GB, free: 31.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.416e-05/0.3876, allocations: 34.09 kB / 0.5435 GB, free: 31.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/0.3884, allocations: 278.4 kB / 0.5438 GB, free: 30.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-05/0.3884, allocations: 52.2 kB / 0.5439 GB, free: 30.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.3892, allocations: 52.66 kB / 0.5439 GB, free: 30.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3893, allocations: 77.97 kB / 0.544 GB, free: 30.95 MB / 414.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.0004459/0.3898, allocations: 332.3 kB / 0.5443 GB, free: 30.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.39, allocations: 94.62 kB / 0.5444 GB, free: 30.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008662/0.3909, allocations: 474.8 kB / 0.5448 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3909, allocations: 8.453 kB / 0.5449 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3909, allocations: 0 / 0.5449 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3909, allocations: 3.578 kB / 0.5449 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.3928, allocations: 1.234 MB / 0.5461 GB, free: 29.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3928, allocations: 6.797 kB / 0.5461 GB, free: 29.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.3931, allocations: 71.67 kB / 0.5461 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3931, allocations: 2.219 kB / 0.5461 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.3931, allocations: 14.61 kB / 0.5462 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3932, allocations: 5.172 kB / 0.5462 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3932, allocations: 0 / 0.5462 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.394, allocations: 0.6509 MB / 0.5468 GB, free: 29.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.3944, allocations: 197.4 kB / 0.547 GB, free: 29.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/0.3945, allocations: 16.75 kB / 0.547 GB, free: 29.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.3949, allocations: 16.06 kB / 0.547 GB, free: 29.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.3949, allocations: 30.27 kB / 0.547 GB, free: 29.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.395, allocations: 25.31 kB / 0.5471 GB, free: 29.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007217/0.3957, allocations: 0.5938 MB / 0.5476 GB, free: 28.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.3957, allocations: 1.438 kB / 0.5476 GB, free: 28.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001346/0.3971, allocations: 294.9 kB / 0.5479 GB, free: 28.77 MB / 414.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.00192/0.399, allocations: 1.432 MB / 0.5493 GB, free: 27.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.4002, allocations: 0.6315 MB / 0.5499 GB, free: 27.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4002, allocations: 3.969 kB / 0.55 GB, free: 27.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.4005, allocations: 152.5 kB / 0.5501 GB, free: 27.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.4026, allocations: 417.7 kB / 0.5505 GB, free: 27.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.4134, allocations: 8.005 MB / 0.5583 GB, free: 22.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.414, allocations: 0.9981 MB / 0.5593 GB, free: 21.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.4152, allocations: 310.2 kB / 0.5596 GB, free: 21.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.4156, allocations: 304 kB / 0.5599 GB, free: 21.05 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4157, allocations: 0 / 0.5599 GB, free: 21.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04946/0.4651, allocations: 24.97 MB / 0.5843 GB, free: 1.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.636/10.1, allocations: 19.89 kB / 0.5843 GB, free: 1.367 MB / 414.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches