Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_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.0008342/0.0008343, allocations: 91.06 kB / 17.35 MB, free: 5.996 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.0008251/0.0008251, allocations: 177.9 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.188/0.188, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 11.98 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1006, allocations: 61.93 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01704/0.1177, allocations: 17.54 MB / 489.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008865/0.1266, allocations: 7.024 MB / 496.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008265/0.1275, allocations: 27.75 kB / 497 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000981/0.1285, allocations: 334.2 kB / 497.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.13, allocations: 0.6492 MB / 497.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.1333, allocations: 1.209 MB / 499.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00354/0.1369, allocations: 3.571 MB / 0.4909 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.1377, allocations: 0.5874 MB / 0.4915 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.1392, allocations: 0.9069 MB / 0.4924 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.1403, allocations: 0.7823 MB / 0.4932 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.1404, allocations: 52 kB / 0.4932 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.1418, allocations: 0.542 MB / 0.4937 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.1422, allocations: 335.1 kB / 0.494 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005837/0.1428, allocations: 0.511 MB / 0.4945 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.1447, allocations: 1.476 MB / 0.496 GB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1447, allocations: 0 / 0.496 GB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1447, allocations: 0 / 0.496 GB, free: 9.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1447, allocations: 0 / 0.496 GB, free: 9.59 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.002122/0.1468, allocations: 1.1 MB / 0.4971 GB, free: 8.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1469, allocations: 11.97 kB / 0.4971 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.1471, allocations: 147.2 kB / 0.4972 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.1475, allocations: 119.8 kB / 0.4973 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.1484, allocations: 0.5911 MB / 0.4979 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.1486, allocations: 244.8 kB / 0.4981 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1488, allocations: 84.06 kB / 0.4982 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.1506, allocations: 1.309 MB / 0.4995 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.1507, allocations: 3.938 kB / 0.4995 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.1508, allocations: 44 kB / 0.4995 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.1509, allocations: 37.3 kB / 0.4996 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.1524, allocations: 0.9688 MB / 0.5005 GB, free: 4.676 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.1857/0.3381, allocations: 7.084 MB / 0.5074 GB, free: 46.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.3387, allocations: 316 kB / 0.5077 GB, free: 46.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.339, allocations: 168 kB / 0.5079 GB, free: 46.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002069/0.3411, allocations: 2.821 MB / 0.5107 GB, free: 43.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3411, allocations: 40.84 kB / 0.5107 GB, free: 43.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.3412, allocations: 0 / 0.5107 GB, free: 43.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002273/0.3434, allocations: 1.11 MB / 0.5118 GB, free: 42.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.3435, allocations: 56.22 kB / 0.5118 GB, free: 42.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3446, allocations: 0.8766 MB / 0.5127 GB, free: 42.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.3446, allocations: 35.48 kB / 0.5127 GB, free: 42.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.345, allocations: 0.57 MB / 0.5133 GB, free: 42.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.243e-05/0.345, allocations: 138.2 kB / 0.5134 GB, free: 42.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3452, allocations: 105.1 kB / 0.5135 GB, free: 42.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3453, allocations: 396.7 kB / 0.5139 GB, free: 41.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.3457, allocations: 246.3 kB / 0.5141 GB, free: 41.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.3463, allocations: 0.9632 MB / 0.5151 GB, free: 40.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.3474, allocations: 1.324 MB / 0.5164 GB, free: 39.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.3474, allocations: 11.69 kB / 0.5164 GB, free: 39.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001696/0.3491, allocations: 1.199 MB / 0.5175 GB, free: 39.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.3492, allocations: 19.34 kB / 0.5176 GB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/0.3492, allocations: 33.94 kB / 0.5176 GB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/0.3493, allocations: 35.2 kB / 0.5176 GB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.35, allocations: 285.5 kB / 0.5179 GB, free: 39.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/0.3501, allocations: 47.09 kB / 0.5179 GB, free: 39.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.3508, allocations: 69.56 kB / 0.518 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.3509, allocations: 72.45 kB / 0.5181 GB, free: 39 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.0003416/0.3512, allocations: 339.3 kB / 0.5184 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3513, allocations: 83.31 kB / 0.5185 GB, free: 38.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007952/0.3522, allocations: 486.8 kB / 0.5189 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.3522, allocations: 8.547 kB / 0.519 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3522, allocations: 0 / 0.519 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3522, allocations: 2.828 kB / 0.519 GB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3537, allocations: 1.242 MB / 0.5202 GB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3537, allocations: 2.75 kB / 0.5202 GB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.354, allocations: 66.08 kB / 0.5202 GB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.354, allocations: 3.219 kB / 0.5202 GB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.354, allocations: 14.45 kB / 0.5203 GB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.354, allocations: 3.562 kB / 0.5203 GB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.354, allocations: 1.625 kB / 0.5203 GB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.3548, allocations: 0.6444 MB / 0.5209 GB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.3551, allocations: 215.1 kB / 0.5211 GB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.3552, allocations: 12.47 kB / 0.5211 GB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.3556, allocations: 34.36 kB / 0.5211 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.3556, allocations: 23.98 kB / 0.5212 GB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.3557, allocations: 25.2 kB / 0.5212 GB, free: 37.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008444/0.3566, allocations: 0.5978 MB / 0.5218 GB, free: 36.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.3566, allocations: 0 / 0.5218 GB, free: 36.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001051/0.3576, allocations: 305.9 kB / 0.5221 GB, free: 36.8 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.001416/0.359, allocations: 1.432 MB / 0.5235 GB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009408/0.36, allocations: 0.631 MB / 0.5241 GB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.36, allocations: 2.125 kB / 0.5241 GB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.3602, allocations: 146.2 kB / 0.5242 GB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.3623, allocations: 410.7 kB / 0.5246 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008655/0.3709, allocations: 8.752 MB / 0.5332 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3714, allocations: 1.001 MB / 0.5341 GB, free: 28.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009937/0.3724, allocations: 317.1 kB / 0.5344 GB, free: 28.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.3727, allocations: 305.9 kB / 0.5347 GB, free: 28.13 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3727, allocations: 0 / 0.5347 GB, free: 28.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.404, allocations: 23.51 MB / 0.5577 GB, free: 6.238 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.4042, allocations: 255.4 kB / 0.5579 GB, free: 5.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.759, allocations: 0 / 0.5579 GB, free: 5.906 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches