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.001175/0.001175, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.94 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1164, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01983/0.1363, allocations: 17.75 MB / 497.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008858/0.1452, allocations: 7.012 MB / 0.4931 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.1461, allocations: 19.88 kB / 0.4931 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.1473, allocations: 377.6 kB / 0.4934 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.149, allocations: 0.68 MB / 0.4941 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.1524, allocations: 1.326 MB / 0.4954 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.1549, allocations: 2.51 MB / 0.4978 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.156, allocations: 0.6818 MB / 0.4985 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.1578, allocations: 1.04 MB / 0.4995 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.1589, allocations: 0.755 MB / 0.5003 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.1592, allocations: 88 kB / 0.5003 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.1606, allocations: 0.5266 MB / 0.5009 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.1611, allocations: 379 kB / 0.5012 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000751/0.1618, allocations: 0.5173 MB / 0.5017 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.1639, allocations: 1.515 MB / 0.5032 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1639, allocations: 0 / 0.5032 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.164, allocations: 0 / 0.5032 GB, free: 1.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.063e-05/0.164, allocations: 0 / 0.5032 GB, free: 1.875 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.002807/0.1668, allocations: 1.294 MB / 0.5045 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1669, allocations: 8.031 kB / 0.5045 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002505/0.1671, allocations: 143.2 kB / 0.5046 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.1676, allocations: 119.8 kB / 0.5047 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.175/0.3426, allocations: 0.5902 MB / 0.5053 GB, free: 43.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.3429, allocations: 247.8 kB / 0.5055 GB, free: 43.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.343, allocations: 80.84 kB / 0.5056 GB, free: 43.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.3449, allocations: 1.306 MB / 0.5069 GB, free: 42.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.3449, allocations: 10.88 kB / 0.5069 GB, free: 42.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.3451, allocations: 36.53 kB / 0.5069 GB, free: 42.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.3451, allocations: 45.58 kB / 0.507 GB, free: 42.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.3467, allocations: 0.9641 MB / 0.5079 GB, free: 42.38 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.005629/0.3523, allocations: 7.088 MB / 0.5148 GB, free: 36.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.3528, allocations: 313.8 kB / 0.5151 GB, free: 36.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.3531, allocations: 165.2 kB / 0.5153 GB, free: 36.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/0.3551, allocations: 2.829 MB / 0.5181 GB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3551, allocations: 38.52 kB / 0.5181 GB, free: 33.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.3552, allocations: 0 / 0.5181 GB, free: 33.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002142/0.3573, allocations: 1.115 MB / 0.5192 GB, free: 32.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.3573, allocations: 55.41 kB / 0.5192 GB, free: 32.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.3582, allocations: 0.8743 MB / 0.5201 GB, free: 32.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3583, allocations: 35.64 kB / 0.5201 GB, free: 32.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.3586, allocations: 0.5643 MB / 0.5207 GB, free: 31.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.3586, allocations: 143.1 kB / 0.5208 GB, free: 31.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.3589, allocations: 233.8 kB / 0.521 GB, free: 31.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.359, allocations: 399.2 kB / 0.5214 GB, free: 31.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.3594, allocations: 247.1 kB / 0.5217 GB, free: 31.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.36, allocations: 0.9623 MB / 0.5226 GB, free: 30.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3611, allocations: 1.318 MB / 0.5239 GB, free: 28.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.3611, allocations: 7.406 kB / 0.5239 GB, free: 28.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001781/0.3629, allocations: 1.22 MB / 0.5251 GB, free: 28.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.363, allocations: 16 kB / 0.5251 GB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.363, allocations: 26.03 kB / 0.5251 GB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-05/0.363, allocations: 34.62 kB / 0.5252 GB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.3638, allocations: 286.6 kB / 0.5254 GB, free: 28.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.596e-05/0.3639, allocations: 51.31 kB / 0.5255 GB, free: 28.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.3645, allocations: 51.33 kB / 0.5255 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.3646, allocations: 72.69 kB / 0.5256 GB, free: 28.26 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.0003459/0.365, allocations: 331.3 kB / 0.5259 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3651, allocations: 90.91 kB / 0.526 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.3659, allocations: 486.4 kB / 0.5265 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3659, allocations: 8.109 kB / 0.5265 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3659, allocations: 0.6562 kB / 0.5265 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.366, allocations: 2.344 kB / 0.5265 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.3675, allocations: 1.252 MB / 0.5277 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3675, allocations: 1.188 kB / 0.5277 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.3678, allocations: 68.92 kB / 0.5278 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3678, allocations: 5.641 kB / 0.5278 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.3679, allocations: 9.125 kB / 0.5278 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3679, allocations: 2.344 kB / 0.5278 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3679, allocations: 10.67 kB / 0.5278 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.3687, allocations: 0.6408 MB / 0.5284 GB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.3689, allocations: 204 kB / 0.5286 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.369, allocations: 13.59 kB / 0.5286 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.3694, allocations: 15.88 kB / 0.5286 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.3695, allocations: 30.3 kB / 0.5287 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.3695, allocations: 26.58 kB / 0.5287 GB, free: 26.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006966/0.3703, allocations: 0.5935 MB / 0.5293 GB, free: 26.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3703, allocations: 0 / 0.5293 GB, free: 26.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00119/0.3715, allocations: 308.1 kB / 0.5296 GB, free: 26.06 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.001472/0.3729, allocations: 1.4 MB / 0.5309 GB, free: 25.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.374, allocations: 0.6713 MB / 0.5316 GB, free: 24.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.374, allocations: 1.125 kB / 0.5316 GB, free: 24.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.3743, allocations: 146.8 kB / 0.5317 GB, free: 24.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.3762, allocations: 434.5 kB / 0.5321 GB, free: 24.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00933/0.3855, allocations: 8.44 MB / 0.5404 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.3861, allocations: 0.9997 MB / 0.5414 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001746/0.3879, allocations: 316.8 kB / 0.5417 GB, free: 16.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.3884, allocations: 299.3 kB / 0.542 GB, free: 16.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3884, allocations: 0 / 0.542 GB, free: 16.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07131/0.4597, allocations: 24.42 MB / 0.5658 GB, free: 8.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.615, allocations: 6.594 kB / 0.5658 GB, free: 8.402 MB / 398.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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